X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_Point.cpp;h=94027d674ba042a4e6379b4da8f826f5df96b86f;hb=423c10234142d14d0d5de89383f2f96a4ec5930f;hp=4ee1f89845f46d680a5af1af57728b6f6d549557;hpb=982481c856def9c064e5f2bb65de11a5b254da6e;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_Point.cpp b/src/SketchPlugin/SketchPlugin_Point.cpp index 4ee1f8984..94027d674 100644 --- a/src/SketchPlugin/SketchPlugin_Point.cpp +++ b/src/SketchPlugin/SketchPlugin_Point.cpp @@ -78,7 +78,7 @@ void SketchPlugin_Point::attributeChanged(const std::string& theID) { // update arguments due to the selection value if (aSelection && !aSelection->isNull() && aSelection->isVertex()) { std::shared_ptr aVertex(new GeomAPI_Vertex(aSelection)); - std::shared_ptr aCoordAttr = + std::shared_ptr aCoordAttr = std::dynamic_pointer_cast(attribute(COORD_ID())); aCoordAttr->setValue(sketch()->to2D(aVertex->point())); }