1
0
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:
apl
2014-03-20 13:46:40 +04:00
committed by bugmaster
parent 91b16a64ca
commit d399d3c36b
3 changed files with 338 additions and 151 deletions

View File

@@ -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