]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
In Extrusion dialog, the distance was troncated to the lower integer. With a distance...
authorgdd <gdd>
Wed, 21 Mar 2012 15:41:10 +0000 (15:41 +0000)
committergdd <gdd>
Wed, 21 Mar 2012 15:41:10 +0000 (15:41 +0000)
src/SMESHGUI/SMESHGUI_ExtrusionDlg.cxx

index 482d5c8d6a6864898c21ecb82406f876fa341819..f9c29e1751a6119d46e8ab32081ef371f7165705 100644 (file)
@@ -1237,7 +1237,7 @@ void SMESHGUI_ExtrusionDlg::getExtrusionVector(SMESH::DirStruct& aVector) {
     
     
     aNormale /= aNormale.Modulus();
-    long aVDist = (long)SpinBox_VDist->value();
+    double aVDist = (double)SpinBox_VDist->value();
     
     aVector.PS.x = aNormale.X()*aVDist;
     aVector.PS.y = aNormale.Y()*aVDist;