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:
de6235c
)
Fix for case of selection of a plane feature which leads to re-selection of plane...
author
vsv
<vsv@opencascade.com>
Tue, 28 Aug 2018 12:08:05 +0000
(15:08 +0300)
committer
vsv
<vsv@opencascade.com>
Tue, 28 Aug 2018 12:08:05 +0000
(15:08 +0300)
src/Model/Model_AttributeSelection.cpp
patch
|
blob
|
history
diff --git
a/src/Model/Model_AttributeSelection.cpp
b/src/Model/Model_AttributeSelection.cpp
index b81952bd58d0d1b6188dc675235c27b9a59c054f..d93f02ed321692bde6ef69be5a1ff09ac47de9a8 100644
(file)
--- a/
src/Model/Model_AttributeSelection.cpp
+++ b/
src/Model/Model_AttributeSelection.cpp
@@
-492,10
+492,10
@@
FeaturePtr Model_AttributeSelection::contextFeature() {
return std::dynamic_pointer_cast<ModelAPI_Feature>(myRef.value());
}
ObjectPtr Model_AttributeSelection::contextObject() {
-
ResultPtr aRes = context
();
+
FeaturePtr aRes = contextFeature
();
if (aRes.get())
return aRes;
- return context
Feature
();
+ return context();
}