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

Fix crash when printing an expired stage python object #1012

Merged

Conversation

fabal
Copy link
Contributor

@fabal fabal commented Oct 24, 2019

Description of Change(s)

Test weak pointer's validity in __repr__.

Fixes Issue(s)

  • Crash when printing an expired stage python object

@spitzak
Copy link

spitzak commented Oct 24, 2019

Might want to return "None" as a more accurate representation.

@jilliene
Copy link

Filed as internal issue #USD-5661

@sunyab
Copy link
Contributor

sunyab commented Aug 31, 2020

FYI we modified this to return "invalid null stage" since that's consistent with the message from other invalid USD objects.

@pixar-oss pixar-oss merged commit 57ff592 into PixarAnimationStudios:dev Sep 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants