From 526bd43010c4035162d15593febad3a3498767d1 Mon Sep 17 00:00:00 2001 From: apl Date: Thu, 20 Mar 2014 13:46:40 +0400 Subject: [PATCH] 0024725: AIS_TexturedShape - flag switching texture modulation mode does not work Missing code restored --- src/AIS/AIS_TexturedShape.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/AIS/AIS_TexturedShape.cxx b/src/AIS/AIS_TexturedShape.cxx index 8b3986172b..27b8fac864 100644 --- a/src/AIS/AIS_TexturedShape.cxx +++ b/src/AIS/AIS_TexturedShape.cxx @@ -225,6 +225,11 @@ void AIS_TexturedShape::UpdateAttributes() return; } + if (myModulate) + myTexture->EnableModulate(); + else + myTexture->DisableModulate(); + if (myToShowTriangles) myAspect->SetEdgeOn(); else -- 2.39.5