Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EMSUSD-591: Remove lingering invalid prims after adding prim under prim that is deactivated #3679

Merged
merged 2 commits into from
Mar 27, 2024

Conversation

AntonK-Adsk
Copy link
Collaborator

When the user tries to add a prim under a prim that is deactivated, they will see an error in the console such as:

Failed to create new prim type: Capsule
ValueError: Cannot append null item pointer to selection.

However, upon reactivating the prim that was deactivated, they will see that the prim was in fact added. This PR addresses this problem by removing the invalid prim that gets created in such a situation.

Undo formatting change
@seando-adsk seando-adsk added the ufe-usd Related to UFE-USD plugin in Maya-Usd label Mar 26, 2024
@AntonK-Adsk AntonK-Adsk self-assigned this Mar 26, 2024
@AntonK-Adsk AntonK-Adsk added the ready-for-merge Development process is finished, PR is ready for merge label Mar 27, 2024
@seando-adsk seando-adsk merged commit 14c42dd into dev Mar 27, 2024
11 checks passed
@seando-adsk seando-adsk deleted the kheloua/EMSUSD-591/delete_invalid_prims_on_add branch March 27, 2024 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge Development process is finished, PR is ready for merge ufe-usd Related to UFE-USD plugin in Maya-Usd
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants