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

[mtoh] Fix curve rendering broken in 4f4246a6. #567

Merged
merged 1 commit into from
Jun 8, 2020
Merged
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
5 changes: 3 additions & 2 deletions lib/mayaUsd/render/mayaToHydra/renderOverrideUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ class HdMayaSceneRender : public MHWRender::MSceneRender {
? MHWRender::MSceneRender::getObjectTypeExclusions()
: ~(MHWRender::MFrameContext::kExcludeSelectHandles |
MHWRender::MFrameContext::kExcludeCameras |
MHWRender::MFrameContext::kExcludeCVs |
MHWRender::MFrameContext::kExcludeDimensions |
MHWRender::MFrameContext::kExcludeLights |
MHWRender::MFrameContext::kExcludeLocators |
Expand Down Expand Up @@ -67,7 +66,9 @@ class HdMayaManipulatorRender : public MHWRender::MSceneRender {

MUint64 getObjectTypeExclusions() override {
// kExcludeHoldOuts is used so that camera-guides are rendered here.
return ~(kExcludeManipulators | kExcludeHoldOuts);
// kExcludeCVs | kExcludeNurbsCurves are here because HdMayaSceneRender::getObjectTypeExclusions return is dynamic
// XXX: Should curves be an mtoh setting as to whether to push them through to the delegate or Maya ?
return ~(kExcludeManipulators | kExcludeCVs | kExcludeNurbsCurves | kExcludeHoldOuts);
}

MHWRender::MClearOperation& clearOperation() override {
Expand Down