]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix regression on sketch update.
authorazv <azv@opencascade.com>
Mon, 18 Nov 2019 14:46:53 +0000 (17:46 +0300)
committerazv <azv@opencascade.com>
Mon, 18 Nov 2019 14:46:53 +0000 (17:46 +0300)
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);
         }
       }
     }