1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00

0024725: AIS_TexturedShape - flag switching texture modulation mode does not work

Missing code restored
This commit is contained in:
apl 2014-03-20 13:46:40 +04:00 committed by abv
parent 049d51911f
commit 526bd43010

View File

@ -225,6 +225,11 @@ void AIS_TexturedShape::UpdateAttributes()
return; return;
} }
if (myModulate)
myTexture->EnableModulate();
else
myTexture->DisableModulate();
if (myToShowTriangles) if (myToShowTriangles)
myAspect->SetEdgeOn(); myAspect->SetEdgeOn();
else else