From: azv Date: Mon, 18 Nov 2019 14:46:53 +0000 (+0300) Subject: Fix regression on sketch update. X-Git-Tag: V9_5_0a1~166^2~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9c457fba4299c60ab8bdb7178bce3ebda5db6ed4;p=modules%2Fshaper.git Fix regression on sketch update. --- diff --git a/src/SketchPlugin/SketchPlugin_Sketch.cpp b/src/SketchPlugin/SketchPlugin_Sketch.cpp index 9bc3c43bf..32e0ec7a1 100644 --- a/src/SketchPlugin/SketchPlugin_Sketch.cpp +++ b/src/SketchPlugin/SketchPlugin_Sketch.cpp @@ -327,8 +327,7 @@ void SketchPlugin_Sketch::attributeChanged(const std::string& theID) { data()->attribute(SketchPlugin_Sketch::DIRX_ID())); aDirX->setValue(aXDir); std::shared_ptr aDir = aPlane->direction(); - if (aWasBlocked) - data()->blockSendAttributeUpdated(false); + data()->blockSendAttributeUpdated(aWasBlocked, false); } } }