mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0024725: AIS_TexturedShape - flag switching texture modulation mode does not work
- Missing code restored - "vtexture" command improved to support texture modulation option remarks from kgv
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user