From: spo Date: Fri, 10 Jul 2015 10:48:16 +0000 (+0300) Subject: Model_Data::mySendAttributeUpdated is taken into account when processing the name... X-Git-Tag: V_1.3.0~35 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1d8ecb13d5e16e4c75eba104ca6ffe0a66b12097;p=modules%2Fshaper.git Model_Data::mySendAttributeUpdated is taken into account when processing the name change. --- diff --git a/src/Model/Model_Data.cpp b/src/Model/Model_Data.cpp index 29a9266a5..2f1eb6f95 100644 --- a/src/Model/Model_Data.cpp +++ b/src/Model/Model_Data.cpp @@ -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); }