From db9780ca05db5a2adb1809b1e5b8df6bea231d5d Mon Sep 17 00:00:00 2001 From: Rakesh R Date: Tue, 28 May 2024 10:25:45 -0400 Subject: [PATCH] renamed variable --- lib/mayaHydra/mayaPlugin/renderOverride.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/mayaHydra/mayaPlugin/renderOverride.cpp b/lib/mayaHydra/mayaPlugin/renderOverride.cpp index 153f6b37bc..f0454fa268 100644 --- a/lib/mayaHydra/mayaPlugin/renderOverride.cpp +++ b/lib/mayaHydra/mayaPlugin/renderOverride.cpp @@ -1089,8 +1089,8 @@ MStatus MtohRenderOverride::Render( } // Toggle textures in the material network - const unsigned int currentTextureMode = drawContext.getDisplayStyle(); - bool isTextured = currentTextureMode & MHWRender::MFrameContext::kTextured; + const unsigned int currentDisplayMode = drawContext.getDisplayStyle(); + bool isTextured = currentDisplayMode & MHWRender::MFrameContext::kTextured; if (_pruneTexturesSceneIndex && _currentlyTextured != isTextured) { _pruneTexturesSceneIndex->MarkTexturesDirty(isTextured);