X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_AISObject.cpp;h=30879add3d8743dd85afcbcfbe43b979a5ef439d;hb=3d28bcbab2f3ed0e40295e64f4e836caebc19fca;hp=b8b5a7b2252bbbf4b6a4736f9ebf9ccadf371144;hpb=b7d04c1292699c5192b3d29be84bf2393c7ba3fa;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_AISObject.cpp b/src/GeomAPI/GeomAPI_AISObject.cpp index b8b5a7b22..30879add3 100644 --- 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;