X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConstructionAPI%2FConstructionAPI_Point.cpp;fp=src%2FConstructionAPI%2FConstructionAPI_Point.cpp;h=d4f073f1b2ceb5671d29e9c7f980bf963ec8a568;hb=362672d453864a0805f384ada82afad5f582c057;hp=0029708af6f768cb9c1baf29195b91e87ce2ab18;hpb=a958079f21a31cf5277b48cdc9477acd6dbd3ebc;p=modules%2Fshaper.git diff --git a/src/ConstructionAPI/ConstructionAPI_Point.cpp b/src/ConstructionAPI/ConstructionAPI_Point.cpp index 0029708af..d4f073f1b 100644 --- a/src/ConstructionAPI/ConstructionAPI_Point.cpp +++ b/src/ConstructionAPI/ConstructionAPI_Point.cpp @@ -166,13 +166,6 @@ void ConstructionAPI_Point::setByXYZ(const ModelHighAPI_Double& theX, const ModelHighAPI_Double& theY, const ModelHighAPI_Double& theZ) { - //fillAttribute(ConstructionPlugin_Point::CREATION_METHOD_BY_XYZ(), mycreationMethod); - - // TODO: Fill point attribute - //fillAttribute(theX, myx); - //fillAttribute(theY, myy); - //fillAttribute(theZ, myz); - fillAttribute(ConstructionPlugin_Point::CREATION_METHOD_BY_XYZ(), mycreationMethod); fillAttribute(theX, theY, theZ, mypoint); @@ -277,6 +270,8 @@ void ConstructionAPI_Point::setByCenterOfGravity(const ModelHighAPI_Selection& t fillAttribute(ConstructionPlugin_Point::GEOMETRICAL_PROPERTY_TYPE_BY_CENTER_OF_GRAVITY(), mygeometricalPropertyType); fillAttribute(theObject, myobjectForCenterOfGravity); + + execute(); } //================================================================================================== @@ -287,6 +282,8 @@ void ConstructionAPI_Point::setByCenterOfCircle(const ModelHighAPI_Selection& th fillAttribute(ConstructionPlugin_Point::GEOMETRICAL_PROPERTY_TYPE_BY_CENTER_OF_CIRCLE(), mygeometricalPropertyType); fillAttribute(theObject, myobjectForCenterOfCircle); + + execute(); } //==================================================================================================