Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
In Extrusion dialog, the distance was troncated to the lower integer. With a distance...
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_ExtrusionDlg.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_ExtrusionDlg.cxx
b/src/SMESHGUI/SMESHGUI_ExtrusionDlg.cxx
index 482d5c8d6a6864898c21ecb82406f876fa341819..f9c29e1751a6119d46e8ab32081ef371f7165705 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_ExtrusionDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_ExtrusionDlg.cxx
@@
-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;