X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROCurveCreator%2FCurveCreator_Operation.cxx;h=083e3323084fd1612fbea969b0042bf9f8b6f2d8;hb=e38481b5d965c3736d2c8eda39b1a30bd125147b;hp=0d2bb4846769b8010a9bdcdafc515aa75bb197ca;hpb=5ea16b2d660c191252474270455af7a3c5822eab;p=modules%2Fhydro.git diff --git a/src/HYDROCurveCreator/CurveCreator_Operation.cxx b/src/HYDROCurveCreator/CurveCreator_Operation.cxx index 0d2bb484..083e3323 100644 --- a/src/HYDROCurveCreator/CurveCreator_Operation.cxx +++ b/src/HYDROCurveCreator/CurveCreator_Operation.cxx @@ -384,7 +384,7 @@ void CurveCreator_Operation::apply(CurveCreator_Curve *theCurve) theCurve->clearInternal(); break; case CurveCreator_Operation::SetClosed: - theCurve->setClosedInternal((pInt[0] != 0), pInt[1]); + theCurve->setClosedInternal(pInt[1], (pInt[0] != 0)); break; case CurveCreator_Operation::MoveSection: theCurve->moveSectionInternal(pInt[0], pInt[1]);