]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchPlugin/SketchPlugin_Sketch.cpp
Salome HOME
Fix regression on sketch update.
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Sketch.cpp
index 9bc3c43bfc11955bb89a3e3d8a2ae5f20794c4d7..32e0ec7a1ffcdf67632807ea5cd1e63827bc5d2c 100644 (file)
@@ -327,8 +327,7 @@ void SketchPlugin_Sketch::attributeChanged(const std::string& theID) {
             data()->attribute(SketchPlugin_Sketch::DIRX_ID()));
           aDirX->setValue(aXDir);
           std::shared_ptr<GeomAPI_Dir> aDir = aPlane->direction();
-          if (aWasBlocked)
-            data()->blockSendAttributeUpdated(false);
+          data()->blockSendAttributeUpdated(aWasBlocked, false);
         }
       }
     }