-
Notifications
You must be signed in to change notification settings - Fork 214
EMSUSD-2767 support cameras with identical names #4387
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
Conversation
- Use the `fullPath` option to the `listRelatives` commands. - Improved filtering by being more cautious and also avoiding repeat code. - Added a unit test.
137a77e to
b294f4e
Compare
| @@ -0,0 +1,71 @@ | |||
| #!/usr/bin/env mayapy | |||
| # | |||
| # Copyright 2016 Pixar | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copyright
| # Verify the camera in USD | ||
| cam = UsdGeom.Camera.Get(stage, '/cam') | ||
| self.assertTrue(cam) | ||
| print(stage.GetRootLayer().ExportToString()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason for this print?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Debugging:) I will remove
seando-adsk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once you fix the copyright and remove the print, don't bother to re-run the preflight. Just message me and I'll merge it.
fullPathoption to thelistRelativescommands.