Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33925e5
)
Define transparency value for object which is still not added to Context
author
vsv
<vitaly.smetannikov@opencascade.com>
Fri, 28 Aug 2015 09:50:12 +0000
(12:50 +0300)
committer
vsv
<vitaly.smetannikov@opencascade.com>
Fri, 28 Aug 2015 09:50:30 +0000
(12:50 +0300)
src/GeomAPI/GeomAPI_AISObject.cpp
patch
|
blob
|
history
diff --git
a/src/GeomAPI/GeomAPI_AISObject.cpp
b/src/GeomAPI/GeomAPI_AISObject.cpp
index b8b5a7b2252bbbf4b6a4736f9ebf9ccadf371144..30879add3d8743dd85afcbcfbe43b979a5ef439d 100644
(file)
--- a/
src/GeomAPI/GeomAPI_AISObject.cpp
+++ b/
src/GeomAPI/GeomAPI_AISObject.cpp
@@
-411,6
+411,8
@@
bool GeomAPI_AISObject::setTransparensy(double theVal)
isChanged = aCurrentValue != theVal;
if (isChanged)
aContext->SetTransparency(anAIS, theVal, false);
+ } else {
+ anAIS->SetTransparency(theVal);
}
}
return isChanged;