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

MAYA-123163 - As a user, I'd like my prims to be in bounding box mode when in a Display Layer #2542

Merged
merged 5 commits into from
Aug 22, 2022

Conversation

vlasovi
Copy link
Collaborator

@vlasovi vlasovi commented Aug 10, 2022

No description provided.

@@ -818,7 +818,7 @@ void ProxyRenderDelegate::_DirtyUsdSubtree(const UsdPrim& prim)
return;

HdChangeTracker& changeTracker = _renderIndex->GetChangeTracker();
constexpr HdDirtyBits dirtyBits = HdChangeTracker::DirtyVisibility
constexpr HdDirtyBits dirtyBits = HdChangeTracker::DirtyVisibility | HdChangeTracker::DirtyRepr
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since display layer may now alter the prim's representation (to bbox), we need to set repr dirty here

@vlasovi
Copy link
Collaborator Author

vlasovi commented Aug 10, 2022

A lot of refactoring was required for bbox mode to fit in.

@seando-adsk
Copy link
Collaborator

@williamkrick Would you be able to review this? I don't know anything about the VP2 code.

Copy link
Contributor

@williamkrick williamkrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice.

@vlasovi vlasovi added the ready-for-merge Development process is finished, PR is ready for merge label Aug 11, 2022
@seando-adsk seando-adsk removed their request for review August 11, 2022 17:14
@seando-adsk seando-adsk added the vp2renderdelegate Related to VP2RenderDelegate label Aug 22, 2022
@seando-adsk seando-adsk merged commit 595b00d into dev Aug 22, 2022
@seando-adsk seando-adsk deleted the vlasovi/MAYA-123163 branch August 22, 2022 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge Development process is finished, PR is ready for merge vp2renderdelegate Related to VP2RenderDelegate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants