Salome HOME
Dump with geometrical selection
[modules/shaper.git] / src / Model / Model_AttributeSelectionList.cpp
index c7e852221b97f19e24806334046fffb993baa8b5..7575ca2f91bb0237a965e3d38927b3fb5dc1f96b 100644 (file)
@@ -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);
 }