From 22d1093c6efbb8af3aa9e8cac27de2a889b05141 Mon Sep 17 00:00:00 2001 From: mpv Date: Mon, 7 Sep 2015 16:18:29 +0300 Subject: [PATCH] Fix (by NDS) for leaving sketch circle presentation problem: when change radius in the viewer and then - in the property panel. --- src/PartSet/PartSet_SketcherMgr.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/PartSet/PartSet_SketcherMgr.cpp b/src/PartSet/PartSet_SketcherMgr.cpp index 82b3d3021..c893f21cf 100644 --- a/src/PartSet/PartSet_SketcherMgr.cpp +++ b/src/PartSet/PartSet_SketcherMgr.cpp @@ -275,6 +275,8 @@ void PartSet_SketcherMgr::onLeaveViewPort() void PartSet_SketcherMgr::onBeforeValuesChangedInPropertyPanel() { + myIsResetCurrentValue = false; + if (isNestedCreateOperation(getCurrentOperation())) return; // it is necessary to save current selection in order to restore it after the values are modifed @@ -310,7 +312,7 @@ void PartSet_SketcherMgr::onValuesChangedInPropertyPanel() return; // visualize the current operation feature - myIsResetCurrentValue = false; + //myIsResetCurrentValue = false; operationMgr()->onValidateOperation(); // the feature is to be erased here, but it is correct to call canDisplayObject because // there can be additional check (e.g. editor widget in distance constraint) -- 2.39.2