Salome HOME
Fix the problem of the sketch plane update
authormpv <mpv@opencascade.com>
Tue, 22 Jan 2019 10:15:19 +0000 (13:15 +0300)
committermpv <mpv@opencascade.com>
Tue, 22 Jan 2019 10:15:19 +0000 (13:15 +0300)
src/Model/Model_Update.cpp

index db6fc41bc4115ab0bf14bd504be450872b6f399e..1f4001e78badf99f6ea304ea9673eb6e96cdf5ad 100755 (executable)
@@ -589,7 +589,7 @@ bool Model_Update::processFeature(FeaturePtr theFeature)
           double aNX = aNorm->x(), aNY = aNorm->y(), aNZ = aNorm->z();
           // update sketch plane
           updateArguments(theFeature);
-          //theFeature->attributeChanged("External"); // to recompute origin, direction and normal
+          theFeature->attributeChanged("External"); // to recompute origin, direction and normal
           // check it is updated, so all must be changed
           if (anOrigin->x() != anOX || anOrigin->y() != anOY || anOrigin->z() != anOZ ||
               aDir->x() != aDX || aDir->y() != aDY || aDir->z() != aDZ ||