From 9c457fba4299c60ab8bdb7178bce3ebda5db6ed4 Mon Sep 17 00:00:00 2001 From: azv Date: Mon, 18 Nov 2019 17:46:53 +0300 Subject: [PATCH] Fix regression on sketch update. --- src/SketchPlugin/SketchPlugin_Sketch.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); } } } -- 2.39.2