projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0024725: AIS_TexturedShape - flag switching texture modulation mode does not work
[occt.git]
/
src
/
AIS
/
AIS_TexturedShape.cxx
diff --git
a/src/AIS/AIS_TexturedShape.cxx
b/src/AIS/AIS_TexturedShape.cxx
index
4475975
..
1f5f562
100644
(file)
--- a/
src/AIS/AIS_TexturedShape.cxx
+++ b/
src/AIS/AIS_TexturedShape.cxx
@@
-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