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-111787 Pixar fixed the render tag issue in v0.20.08 so only enable the env #1561

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/mayaUsd/render/vp2RenderDelegate/proxyRenderDelegate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,9 @@ void ProxyRenderDelegate::_ClearRenderDelegate()
// reset any version ids or dirty information that doesn't make sense if we clear
// the render index.
_renderTagVersion = 0;
#ifdef ENABLE_RENDERTAG_VISIBILITY_WORKAROUND
_visibilityVersion = 0;
#endif
_taskRenderTagsValid = false;
_isPopulated = false;
}
Expand Down
2 changes: 2 additions & 0 deletions lib/mayaUsd/render/vp2RenderDelegate/proxyRenderDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
#define MAYA_ENABLE_UPDATE_FOR_SELECTION
#endif

#if PXR_VERSION < 2008
#define ENABLE_RENDERTAG_VISIBILITY_WORKAROUND
/* In USD v20.05 and earlier when the purpose of an rprim changes the visibility gets dirtied,
and that doesn't update the render tag version.
Expand All @@ -61,6 +62,7 @@
Logged as:
https://github.com/PixarAnimationStudios/USD/issues/1243
*/
#endif

PXR_NAMESPACE_OPEN_SCOPE

Expand Down