Salome HOME
Fix for #2579, note 7:
[modules/shaper.git] / src / Model / Model_AttributeSelectionList.cpp
index 7575ca2f91bb0237a965e3d38927b3fb5dc1f96b..c7e852221b97f19e24806334046fffb993baa8b5 100644 (file)
@@ -110,8 +110,6 @@ 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);
 }