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

Add smart signaling for renderers. #2972

Merged
merged 3 commits into from
Mar 28, 2023
Merged

Add smart signaling for renderers. #2972

merged 3 commits into from
Mar 28, 2023

Conversation

JGamache-autodesk
Copy link
Collaborator

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.

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.
} 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) {
Copy link
Collaborator

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.

pierrebai-adsk
pierrebai-adsk previously approved these changes Mar 27, 2023
Copy link
Collaborator

@pierrebai-adsk pierrebai-adsk left a 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.

Copy link
Collaborator

@pierrebai-adsk pierrebai-adsk left a 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

@JGamache-autodesk
Copy link
Collaborator Author

Preflight error is a traditional testUsdExportPackage random failure.

@JGamache-autodesk JGamache-autodesk added the ready-for-merge Development process is finished, PR is ready for merge label Mar 27, 2023
@JGamache-autodesk
Copy link
Collaborator Author

@seando-adsk Ready for merge. Thanks!

@seando-adsk seando-adsk merged commit cc4a36a into dev Mar 28, 2023
@seando-adsk seando-adsk deleted the gamaj/smart_signaling branch March 28, 2023 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proxy Related to base proxy shape ready-for-merge Development process is finished, PR is ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants