Skip to content

Comments

EMSUSD-1613 clean session layer when undoing add prim#3955

Merged
seando-adsk merged 1 commit intodevfrom
bailp/EMSUSD-1613/clean-session-layer
Oct 15, 2024
Merged

EMSUSD-1613 clean session layer when undoing add prim#3955
seando-adsk merged 1 commit intodevfrom
bailp/EMSUSD-1613/clean-session-layer

Conversation

@pierrebai-adsk
Copy link
Collaborator

  • Refactor the USD undo block and undo manager to support extending an undo item with new undos.
  • Add a helper function to cleanup the session layer of a given prim data, capturing the removal in an undo item.
  • Make the add-prim command use the session clean-up helper.
  • Add unit test.

@pierrebai-adsk pierrebai-adsk added the bug Something isn't working label Oct 10, 2024
- Refactor the USD undo block and undo manager to support extending an undo item with new undos.
- Add a helper function to cleanup the session layer of a given prim data, capturing the removal in an undo item.
- Make the add-prim command use the session clean-up helper.
- Add unit test.
@pierrebai-adsk pierrebai-adsk force-pushed the bailp/EMSUSD-1613/clean-session-layer branch from 722fd29 to 0276593 Compare October 10, 2024 16:05
@pierrebai-adsk pierrebai-adsk self-assigned this Oct 10, 2024
@pierrebai-adsk pierrebai-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Oct 11, 2024
@seando-adsk seando-adsk added ufe-usd Related to UFE-USD plugin in Maya-Usd and removed bug Something isn't working labels Oct 15, 2024
@seando-adsk seando-adsk merged commit 3a22af3 into dev Oct 15, 2024
@seando-adsk seando-adsk deleted the bailp/EMSUSD-1613/clean-session-layer branch October 15, 2024 13:41
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