X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomData%2FGeomData_Point.cpp;h=7ae96b859bb5ddf46a17392e669e785868ff625a;hb=b6f308f901ef00da365c40bab25c5f03b547adf0;hp=ef48bfc28f0a1d85263cfb98adf73f3f700bc246;hpb=1160728f79c0125d3aa299e244074aff2a3a3ec6;p=modules%2Fshaper.git diff --git a/src/GeomData/GeomData_Point.cpp b/src/GeomData/GeomData_Point.cpp index ef48bfc28..7ae96b859 100644 --- a/src/GeomData/GeomData_Point.cpp +++ b/src/GeomData/GeomData_Point.cpp @@ -67,11 +67,7 @@ void GeomData_Point::setText(const std::string& theX, myTextArray->SetValue(2, aZ); owner()->data()->sendAttributeUpdated(this); // Send it to evaluator to convert into the double and store in the attribute - static Events_ID anId = ModelAPI_AttributeEvalMessage::eventId(); - std::shared_ptr aMessage = - std::shared_ptr(new ModelAPI_AttributeEvalMessage(anId, this)); - aMessage->setAttribute(owner()->data()->attribute(id())); // to get shared pointer to this - Events_Loop::loop()->send(aMessage); + ModelAPI_AttributeEvalMessage::send(owner()->data()->attribute(id()), this); } }