Salome HOME
Issue #2998: Add help description for automatic creation of constraints
[modules/shaper.git] / src / XGUI / XGUI_CustomPrs.cpp
index 0090ba420f7174fbb26bb9fe93f73901239fd712..f3bd68300687122be19c59e1401ffa328eb69b85 100644 (file)
@@ -133,7 +133,7 @@ double getTransparency(const ResultPtr& theResult)
 
 double getDefaultTransparency(const ResultPtr& theResult)
 {
-  return Config_PropManager::real("Visualization", "default_transparency");
+  return Config_PropManager::integer("Visualization", "shaper_default_transparency") / 100.;
 }
 
 XGUI_CustomPrs::XGUI_CustomPrs(XGUI_Workshop* theWorkshop)