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-548 - Fixed a bug with redoing a UsdUndoCreateFromNodeDefCommand. #3279

Merged
merged 2 commits into from
Aug 16, 2023

Conversation

feldstj
Copy link
Collaborator

@feldstj feldstj commented Aug 16, 2023

No description provided.

@feldstj feldstj requested a review from seando-adsk August 16, 2023 14:31
Comment on lines 61 to 64
void UsdUndoCreateFromNodeDefCommand::undo()
{
_addPrimCmd->undo();
// Nothing to do for the node:id attribute. It will get deleted with the prim.
_undoableItem.undo();
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you run clang-format locally? I have a feeling it will put this entire method on a single line now.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, just uploaded a fix with the clang formatting.

seando-adsk
seando-adsk previously approved these changes Aug 16, 2023
@seando-adsk seando-adsk added the ufe-usd Related to UFE-USD plugin in Maya-Usd label Aug 16, 2023
@feldstj feldstj added the ready-for-merge Development process is finished, PR is ready for merge label Aug 16, 2023
@seando-adsk seando-adsk merged commit d023899 into dev Aug 16, 2023
@seando-adsk seando-adsk deleted the feldstj/EMSUSD-548/fix_nodedef_cmd_redo branch August 16, 2023 18:18
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