-
Notifications
You must be signed in to change notification settings - Fork 203
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
Add smart signaling for renderers. #2972
Conversation
A renderer now only has to track the "updateid" and "resyncid" attributes of the stage to know if something significant happened. All UINodeGraphNodeAPI notifications were suppressed.
So client that do not care about resync can tune in only on update and get the expected results.
lib/mayaUsd/nodes/proxyShapeBase.cpp
Outdated
} else if (it->IsPropertyPath()) { | ||
// We have a bunch of UI properties to ignore. Especially anything that comes from UI | ||
// schemas. | ||
if (it->GetName().rfind("ui:", 0) == 0) { |
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.
If you refactor into another file, this code seems similar to code above. A helper function might be nice to abstract detecting UI fields.
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.
I'll let you decide if you want to follow my suggestion or not. Eventually, we will need to refactor proxy shape into multiple files.
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.
Nice. Thank you for these changes
Preflight error is a traditional |
@seando-adsk Ready for merge. Thanks! |
A renderer now only has to track the "updateid" and "resyncid" attributes of the stage to know if something significant happened.
All UINodeGraphNodeAPI notifications were suppressed.