Salome HOME
Fix regressions found by unit testing
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Sketch.cpp
index 32e0ec7a1ffcdf67632807ea5cd1e63827bc5d2c..692ac5d0ed2be3377aad617f6744f1ca75773a5d 100644 (file)
@@ -326,8 +326,7 @@ void SketchPlugin_Sketch::attributeChanged(const std::string& theID) {
           std::shared_ptr<GeomDataAPI_Dir> aDirX = std::dynamic_pointer_cast<GeomDataAPI_Dir>(
             data()->attribute(SketchPlugin_Sketch::DIRX_ID()));
           aDirX->setValue(aXDir);
-          std::shared_ptr<GeomAPI_Dir> aDir = aPlane->direction();
-          data()->blockSendAttributeUpdated(aWasBlocked, false);
+          data()->blockSendAttributeUpdated(aWasBlocked, true);
         }
       }
     }