Replies: 1 comment 1 reply
|
Hi @NickWu, given that this is essentially an assertion, the software is in an unspecified state at this point. TF_AXIOM would cause a program exit, which is too strong. My opinion is at this point the user should be in a state where they can save their work, and that the software should be in a reasonable enough state to allow this to succeed. Your suggestion has merits; you could try it out to see if the plugin remains stable in such a case. However, my hope is that you will never hit this code path :) Is this causing you problems, or are you simply trying to get a better understanding of the code? Cheers. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi, I have a question about the logic of the following code:
maya-usd/lib/mayaUsd/ufe/StagesSubject.cpp
Lines 581 to 583 in 00e63f3
The comment on the above code says : We should have no listeners and stage map is dirty. So I wonder why not just returning from the function when
g_StageMapis not dirty andfStageListenersis not empty? What is the reason to keep proceeding the rest of the logic when both statements ofTF_VERIFYfailed? Thank you.All reactions