]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Model_Data::mySendAttributeUpdated is taken into account when processing the name...
authorspo <sergey.pokhodenko@opencascade.com>
Fri, 10 Jul 2015 10:48:16 +0000 (13:48 +0300)
committerspo <sergey.pokhodenko@opencascade.com>
Fri, 10 Jul 2015 10:48:48 +0000 (13:48 +0300)
src/Model/Model_Data.cpp

index 29a9266a51ff31c74a7e42ad20b6f09c45704199..2f1eb6f9556aba2f499b19711fc5baa8618381c9 100644 (file)
@@ -87,7 +87,7 @@ void Model_Data::setName(const std::string& theName)
     if (isModified)
       aName->Set(theName.c_str());
   }
-  if (isModified)
+  if (mySendAttributeUpdated && isModified)
     ModelAPI_ObjectRenamedMessage::send(myObject, anOldName, theName, this);
 }