Salome HOME
Fix for issue #1000
[modules/shaper.git] / src / GeomAPI / GeomAPI_AISObject.cpp
index b8b5a7b2252bbbf4b6a4736f9ebf9ccadf371144..30879add3d8743dd85afcbcfbe43b979a5ef439d 100644 (file)
@@ -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;