Skip to content

Conversation

@barbalt
Copy link
Collaborator

@barbalt barbalt commented Sep 17, 2024

When "Duplicate as Usd data" is select from the context ops menu on a maya object, we only translate to Usd the selected maya object.
This can be a problem when there are extra prims created by a chaser, for example. Those would be discarded.

With those changes, we allow the users to register the path for those extra prims created so that it can be queried when merging the maya object into Usd.

@barbalt barbalt self-assigned this Sep 17, 2024
@barbalt barbalt added adsk Related to Autodesk plugin arnold Related to Arnold import-export Related to Import and/or Export labels Sep 17, 2024
@barbalt barbalt assigned barbalt and unassigned barbalt Sep 18, 2024
pierrebai-adsk
pierrebai-adsk previously approved these changes Sep 18, 2024
Copy link
Collaborator

@pierrebai-adsk pierrebai-adsk left a comment

Choose a reason for hiding this comment

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

Great!

@barbalt barbalt assigned barbalt and unassigned barbalt Sep 18, 2024
@barbalt barbalt assigned barbalt and unassigned barbalt Sep 18, 2024
@barbalt barbalt assigned barbalt and unassigned barbalt Sep 18, 2024
@barbalt barbalt assigned barbalt and unassigned barbalt Sep 18, 2024
@barbalt barbalt assigned barbalt and unassigned barbalt Sep 20, 2024
@barbalt barbalt assigned barbalt and unassigned barbalt Sep 26, 2024
@barbalt barbalt assigned barbalt and unassigned barbalt Sep 26, 2024
@barbalt barbalt assigned barbalt and unassigned barbalt Sep 27, 2024
@pierrebai-adsk
Copy link
Collaborator

IDK if we would not be better off squashing all those commits into a single one? Maybe creating a new PR?

@barbalt
Copy link
Collaborator Author

barbalt commented Sep 27, 2024

IDK if we would not be better off squashing all those commits into a single one? Maybe creating a new PR?

@pierrebai-adsk I can do that. Out of curiosity, can't we squash during merge?

}

// Collect extra prims paths from chasers
for (const SdfPath& path : chaser->GetExtraPrimsPaths()) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think there is a way to insert a range in C++ std::vector? Not super important.

pierrebai-adsk
pierrebai-adsk previously approved these changes Sep 27, 2024
@barbalt barbalt assigned barbalt and unassigned barbalt Sep 27, 2024
@barbalt barbalt closed this Sep 27, 2024
@barbalt barbalt deleted the barbalt/EMSUSD-1555/Duplicate-extra-prims branch May 26, 2025 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adsk Related to Autodesk plugin arnold Related to Arnold import-export Related to Import and/or Export

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants