]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Model/Model_Data.cpp
Salome HOME
Make tests working on new results structure and selection of feature as argument
[modules/shaper.git] / src / Model / Model_Data.cpp
index 697bfedd91724a9702dfeb8fe834f6aab255101e..74f19ec71f3b4bb90ba4b8ceaccb51e57392fb78 100644 (file)
@@ -138,7 +138,7 @@ void Model_Data::setName(const std::string& theName)
       bool isUserDefined = true;
       ResultPtr aResult = std::dynamic_pointer_cast<ModelAPI_Result>(myObject);
       if (aResult) {
-        std::string aDefaultName = ModelAPI_Tools::getDefaultName(aResult).first;
+        std::string aDefaultName = ModelAPI_Tools::getDefaultName(aResult, false).first;
         isUserDefined = aDefaultName != theName;
       }
       if (isUserDefined) {