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:
082f07c
)
Issue #2411 Fatal error for filling
author
nds
<nds@opencascade.com>
Wed, 24 Jan 2018 04:04:05 +0000
(07:04 +0300)
committer
nds
<nds@opencascade.com>
Wed, 24 Jan 2018 04:04:05 +0000
(07:04 +0300)
src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp
patch
|
blob
|
history
diff --git
a/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp
b/src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp
index 55eaf59eb0c4d80b801ffa34f05a53111d869bed..6336f5f3e672b725dcb2ee8a3b372e221fec2271 100755
(executable)
--- a/
src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp
+++ b/
src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp
@@
-948,7
+948,7
@@
bool ModuleBase_WidgetMultiSelector::findInSelection(const ObjectPtr& theObject,
}
// issue #2903: (Possibility to hide faces) - check whether given shape is a hidden sub-shape
- if (!aFound && theWorkshop->hasSHIFTPressed() && theObject->isDisplayed()) {
+ if (!aFound && the
Shape.get() && the
Workshop->hasSHIFTPressed() && theObject->isDisplayed()) {
AISObjectPtr anAIS = theWorkshop->findPresentation(theObject);
if (anAIS.get() != NULL) {
Handle(AIS_InteractiveObject) anAISIO = anAIS->impl<Handle(AIS_InteractiveObject)>();