Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Issue #3047: Rollback modifications dedicated to property panel performance
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_ContextMenuMgr.cpp
diff --git
a/src/XGUI/XGUI_ContextMenuMgr.cpp
b/src/XGUI/XGUI_ContextMenuMgr.cpp
index b1fadf67129ea2d66fb6b1571a25d16c88ff4c46..00cf24153ffbe8d7edd5e460e3d74bbe0ab5b0de 100644
(file)
--- a/
src/XGUI/XGUI_ContextMenuMgr.cpp
+++ b/
src/XGUI/XGUI_ContextMenuMgr.cpp
@@
-508,6
+508,8
@@
void XGUI_ContextMenuMgr::updateViewerMenu()
ObjectPtr aObject;
foreach(ModuleBase_ViewerPrsPtr aPrs, aPrsList) {
aObject = aPrs->object();
+ if (!aObject.get())
+ continue;
GeomShapePtr aShape = aPrs->shape();
if (aObject->isDisplayed()) {
isVisible = true;