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

UsdEditContext ctor crashes with expired stage pointer #2721

Closed
asluk opened this issue Sep 26, 2023 · 3 comments
Closed

UsdEditContext ctor crashes with expired stage pointer #2721

asluk opened this issue Sep 26, 2023 · 3 comments

Comments

@asluk
Copy link
Collaborator

asluk commented Sep 26, 2023

Description of Issue

Constructing a UsdEditContext with an expired stage will crash. It'd be great to make this facility more defensive in https://github.com/PixarAnimationStudios/OpenUSD/blob/dev/pxr/usd/usd/editContext.cpp

Steps to Reproduce

with Usd.EditContext(None):
print('hello')

@jesschimein
Copy link
Contributor

Filed as internal issue #USD-8750

@asluk
Copy link
Collaborator Author

asluk commented Sep 28, 2023

@jesschimein I'm happy to scratch out time to make a PR for this, if no one else is available in the next month or so. Thanks!

@jesschimein
Copy link
Contributor

jesschimein commented Oct 4, 2023 via email

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

No branches or pull requests

2 participants