From: mpv Date: Mon, 7 Sep 2015 13:18:29 +0000 (+0300) Subject: Fix (by NDS) for leaving sketch circle presentation problem: when change radius in... X-Git-Tag: V_1.4.0_beta4~92 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=22d1093c6efbb8af3aa9e8cac27de2a889b05141;p=modules%2Fshaper.git Fix (by NDS) for leaving sketch circle presentation problem: when change radius in the viewer and then - in the property panel. --- 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)