From: jfa Date: Tue, 16 Dec 2008 09:55:12 +0000 (+0000) Subject: Bug 0020075: EDF VISU 905: Impossible to create a deformed shape. X-Git-Tag: V4_1_4sp2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a9554eb8c8f1c93a2a136bcdd1c50d92a9fbe5cc;p=modules%2Fvisu.git Bug 0020075: EDF VISU 905: Impossible to create a deformed shape. --- diff --git a/src/VISUGUI/VisuGUI_DeformedShapeDlg.cxx b/src/VISUGUI/VisuGUI_DeformedShapeDlg.cxx index 5dc0536e..e110c16e 100644 --- a/src/VISUGUI/VisuGUI_DeformedShapeDlg.cxx +++ b/src/VISUGUI/VisuGUI_DeformedShapeDlg.cxx @@ -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);