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
(from parent 1:
8d04b5f
)
Fix for module activation when in a list of features there are folders
author
vsv
<vsv@opencascade.com>
Fri, 22 Nov 2019 08:02:25 +0000
(11:02 +0300)
committer
vsv
<vsv@opencascade.com>
Fri, 22 Nov 2019 08:02:25 +0000
(11:02 +0300)
src/XGUI/XGUI_Workshop.cpp
patch
|
blob
|
history
diff --git
a/src/XGUI/XGUI_Workshop.cpp
b/src/XGUI/XGUI_Workshop.cpp
index f97e58aa6254e88dbb5d7538b812a2ee41cc5775..97e6089ca25e7e337154216e24bf91b7b568c636 100644
(file)
--- a/
src/XGUI/XGUI_Workshop.cpp
+++ b/
src/XGUI/XGUI_Workshop.cpp
@@
-2804,6
+2804,8
@@
void XGUI_Workshop::synchronizeGroupInViewer(const DocumentPtr& theDoc,
int aSize = theDoc->numInternalFeatures();
for (int i = 0; i < aSize; i++) {
aFeature = theDoc->internalFeature(i);
+ if (!aFeature.get())
+ continue;
const std::list<ResultPtr>& aResults = aFeature->results();
std::list<ResultPtr>::const_iterator aIt;
aFeature->setDisplayed(false);