Salome HOME
Small fix for buildSubShapeName: the selected sub-shape and its name will not be...
authorszy <szy@opencascade.com>
Fri, 26 Dec 2014 07:40:19 +0000 (10:40 +0300)
committerszy <szy@opencascade.com>
Fri, 26 Dec 2014 07:40:19 +0000 (10:40 +0300)
src/Model/Model_AttributeSelection.cpp

index f418c7b776d61e0ab9c38747e1977d9a634c4d9e..c1d510ad2bb5ab51ab3a9c574ab8c31f40c4b0c0 100644 (file)
@@ -611,7 +611,8 @@ std::string Model_AttributeSelection::buildSubShapeName(std::shared_ptr<GeomAPI_
                  break;
        }
     // register name                   
-    aDoc->addNamingName(selectionLabel(), aName);
+    // aDoc->addNamingName(selectionLabel(), aName);
+       // the selected sub-shape will not be shared and as result it will not require registration
   }
   return aName;
 }