0024725: AIS_TexturedShape - flag switching texture modulation mode does not work
[occt.git] / src / AIS / AIS_TexturedShape.cxx
index 4475975..1f5f562 100644 (file)
@@ -244,6 +244,11 @@ void AIS_TexturedShape::updateAttributes (const Handle(Prs3d_Presentation)& theP
     return;
   }
 
+  if (myModulate)
+    myTexture->EnableModulate();
+  else
+    myTexture->DisableModulate();
+
   if (myToShowTriangles)
     myAspect->SetEdgeOn();
   else