Salome HOME
projects
/
modules
/
shaper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce1dff0
)
Update viewer on activation of PartSet
author
vsv
<vsv@opencascade.com>
Tue, 28 Jan 2020 09:36:16 +0000
(12:36 +0300)
committer
vsv
<vsv@opencascade.com>
Tue, 28 Jan 2020 09:36:16 +0000
(12:36 +0300)
src/PartSet/PartSet_MenuMgr.cpp
patch
|
blob
|
history
diff --git
a/src/PartSet/PartSet_MenuMgr.cpp
b/src/PartSet/PartSet_MenuMgr.cpp
index 0ea7aa78d4efeafc27614cefd638c72bb8f6cb80..63e88207e7b4ea6f170fb8fc4972a07468ef67bd 100644
(file)
--- a/
src/PartSet/PartSet_MenuMgr.cpp
+++ b/
src/PartSet/PartSet_MenuMgr.cpp
@@
-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,