From: apl Date: Thu, 20 Mar 2014 09:46:40 +0000 (+0400) Subject: 0024725: AIS_TexturedShape - flag switching texture modulation mode does not work X-Git-Tag: V6_7_1_beta~14 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=526bd43010c4035162d15593febad3a3498767d1;p=occt-copy.git 0024725: AIS_TexturedShape - flag switching texture modulation mode does not work Missing code restored --- 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