]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Bug 0020075: EDF VISU 905: Impossible to create a deformed shape.
authorjfa <jfa@opencascade.com>
Tue, 16 Dec 2008 09:55:12 +0000 (09:55 +0000)
committerjfa <jfa@opencascade.com>
Tue, 16 Dec 2008 09:55:12 +0000 (09:55 +0000)
src/VISUGUI/VisuGUI_DeformedShapeDlg.cxx

index 5dc0536e23ace608078467b0176f7bf71f39395d..e110c16e68d4482f2314a5d558634758bc91a7f4 100644 (file)
@@ -177,7 +177,7 @@ void VisuGUI_DeformedShapeDlg::setFactor(double theFactor)
       // and it is truncated to the bigger integer
       degree -= 1;
     }
-    step = pow(10, degree);
+    step = pow(10., double(degree));
   }
 
   ScalFact->setLineStep(step);