-
Notifications
You must be signed in to change notification settings - Fork 201
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
Conversation
@@ -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 |
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.
Since display layer may now alter the prim's representation (to bbox), we need to set repr dirty here
A lot of refactoring was required for bbox mode to fit in. |
@williamkrick Would you be able to review this? I don't know anything about the VP2 code. |
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.
No description provided.