]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix (by NDS) for leaving sketch circle presentation problem: when change radius in...
authormpv <mpv@opencascade.com>
Mon, 7 Sep 2015 13:18:29 +0000 (16:18 +0300)
committermpv <mpv@opencascade.com>
Mon, 7 Sep 2015 13:18:29 +0000 (16:18 +0300)
src/PartSet/PartSet_SketcherMgr.cpp

index 82b3d30211b800dd5fd51cdb69f508e066003d67..c893f21cf3be1862145c9768ed69a1e1c0f6c7ec 100644 (file)
@@ -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)