]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fillet is macro, that means that this feature is deleted on commit of the operation.
authornds <natalia.donis@opencascade.com>
Wed, 27 May 2015 18:02:07 +0000 (21:02 +0300)
committernds <natalia.donis@opencascade.com>
Wed, 27 May 2015 18:02:07 +0000 (21:02 +0300)
There is a correction in sketch functionality, concered to the case that all comitted nested features are hardly visualized after commit(disappearing of the presentation by leaving viewer).
These feature are visualized on commit. The fillet can not be visualilzed because data() is invalid.

src/NewGeom/NewGeom_Module.cpp

index 6ccc5b4bb2858ca1edc54fbf5d29923de13caf94..8265e654c66668f3b30c4acf870cb8d99f3b802a 100644 (file)
@@ -165,7 +165,9 @@ bool NewGeom_Module::activateModule(SUIT_Study* theStudy)
       myWorkshop->objectBrowser()->rebuildDataTree();
       myWorkshop->updateCommandStatus();
       myIsOpened = false;
-      QTimer::singleShot(1000, myWorkshop, SLOT(displayAllResults()));
+      // the display all results is not necessary anymore, it was commented in XGUI_Workshop,
+      // so it should be commented here
+      //QTimer::singleShot(1000, myWorkshop, SLOT(displayAllResults()));
     }
     else
       myWorkshop->updateCommandStatus();