]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Fix hang-up when displaying sphere in OCC viewer
authorvsr <vsr@opencascade.com>
Tue, 8 Feb 2011 08:19:01 +0000 (08:19 +0000)
committervsr <vsr@opencascade.com>
Tue, 8 Feb 2011 08:19:01 +0000 (08:19 +0000)
src/GEOMGUI/GEOM_Displayer.cxx

index 15a8f75a40d8e21be22b41943f58b91038b8281f..69e82d6a73238fde9c711d73b566f5d76caeb97a 100644 (file)
@@ -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;
   }