From cac1b61a47c2ccaa929ddc3474607fc7244fd829 Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 8 Feb 2011 08:19:01 +0000 Subject: [PATCH] Fix hang-up when displaying sphere in OCC viewer --- src/GEOMGUI/GEOM_Displayer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }