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
Dump with geometrical selection
[modules/shaper.git]
/
src
/
Model
/
Model_AttributeSelectionList.cpp
diff --git
a/src/Model/Model_AttributeSelectionList.cpp
b/src/Model/Model_AttributeSelectionList.cpp
index c7e852221b97f19e24806334046fffb993baa8b5..7575ca2f91bb0237a965e3d38927b3fb5dc1f96b 100644
(file)
--- a/
src/Model/Model_AttributeSelectionList.cpp
+++ b/
src/Model/Model_AttributeSelectionList.cpp
@@
-110,6
+110,8
@@
void Model_AttributeSelectionList::append(const GeomPointPtr& thePoint, const st
aNewAttr->setID(id());
mySize->Set(aNewTag);
aNewAttr->selectSubShape(theType, thePoint);
+ if (selectionType().empty())
+ setSelectionType(aNewAttr->value()->shapeTypeStr());
owner()->data()->sendAttributeUpdated(this);
}