mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-18 09:50:36 +05:00
In Extrusion dialog, the distance was troncated to the lower integer. With a distance <1, the extrusion vector size was zero.
This commit is contained in:
parent
5ea2cc6434
commit
51949e5059
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user