mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-11 16:19:17 +05:00
refs #731: fix hanging of application after Undo operation during profile/polyline creation.
This commit is contained in:
parent
40d1576437
commit
610bd3aff0
@ -341,7 +341,7 @@ void CurveCreator_Operation::apply(CurveCreator_Curve *theCurve)
|
|||||||
|
|
||||||
int nbPoints = pInt[0];
|
int nbPoints = pInt[0];
|
||||||
int nbCoords = pInt[1];
|
int nbCoords = pInt[1];
|
||||||
int nbParams = 3+nbCoords;
|
int nbParams = 3+nbCoords*sizeof(double)/sizeof(int);
|
||||||
for (int i = 0; i < nbPoints*nbParams; i=i+nbParams) {
|
for (int i = 0; i < nbPoints*nbParams; i=i+nbParams) {
|
||||||
aCoords.clear();
|
aCoords.clear();
|
||||||
aPoints.clear();
|
aPoints.clear();
|
||||||
|
Loading…
Reference in New Issue
Block a user