Salome HOME
Update viewer on activation of PartSet
authorvsv <vsv@opencascade.com>
Tue, 28 Jan 2020 09:36:16 +0000 (12:36 +0300)
committervsv <vsv@opencascade.com>
Tue, 28 Jan 2020 09:36:16 +0000 (12:36 +0300)
src/PartSet/PartSet_MenuMgr.cpp

index 0ea7aa78d4efeafc27614cefd638c72bb8f6cb80..63e88207e7b4ea6f170fb8fc4972a07468ef67bd 100644 (file)
@@ -37,6 +37,7 @@
 #include <ModuleBase_Operation.h>
 #include <ModuleBase_OperationFeature.h>
 #include <ModuleBase_ViewerPrs.h>
+#include <ModuleBase_IViewer.h>
 #include <ModuleBase_Tools.h>
 
 #include <XGUI_ModuleConnector.h>
@@ -522,6 +523,7 @@ void PartSet_MenuMgr::activatePartSet() const
     aMgr->finishOperation();
 
   myModule->workshop()->updateCommandStatus();
+  myModule->workshop()->viewer()->update();
 }
 
 void PartSet_MenuMgr::grantedOperationIds(ModuleBase_Operation* theOperation,