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:
parent
049d51911f
commit
526bd43010
@ -225,6 +225,11 @@ void AIS_TexturedShape::UpdateAttributes()
|
||||
return;
|
||||
}
|
||||
|
||||
if (myModulate)
|
||||
myTexture->EnableModulate();
|
||||
else
|
||||
myTexture->DisableModulate();
|
||||
|
||||
if (myToShowTriangles)
|
||||
myAspect->SetEdgeOn();
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user