diff --git a/src/GEOMGUI/GEOM_Displayer.cxx b/src/GEOMGUI/GEOM_Displayer.cxx index 15a8f75a4..69e82d6a7 100644 --- a/src/GEOMGUI/GEOM_Displayer.cxx +++ b/src/GEOMGUI/GEOM_Displayer.cxx @@ -1689,7 +1689,7 @@ PropMap GEOM_Displayer::getDefaultPropepryMap(const QString& viewer_type){ double aDC; //rnv: Currently deflection coefficient is not supported by VTK viewer. if(viewer_type == SOCC_Viewer::Type()) { - double aDC = aResMgr->doubleValue("Geometry", "deflection_coeff", 0.001); + aDC = aResMgr->doubleValue("Geometry", "deflection_coeff", 0.001); } else if( viewer_type==SVTK_Viewer::Type()) { aDC = 0.0; }