Salome HOME
Line reentrant creation: do not create line if point is clicked in viewer, but releas...
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Line.cpp
index 99d69ce67bcc16c3cebf2c8528351b8140abc5f7..5760a866f92da39fbd94002d8f7d2299e163c886 100644 (file)
@@ -111,11 +111,6 @@ std::string SketchPlugin_Line::processEvent(const std::shared_ptr<Events_Message
                                                  aNFData->attribute(SketchPlugin_Line::START_ID()));
     aNPoint->setValue(aSPoint->x(), aSPoint->y());
     SketchPlugin_ConstraintCoincidence::createCoincidenceFeature(sketch(), aSPoint, aNPoint);
-
-    aNPoint = std::dynamic_pointer_cast<GeomDataAPI_Point2D>(
-                                                 aSFData->attribute(SketchPlugin_Line::END_ID()));
-    aNPoint->setValue(aSPoint->x(), aSPoint->y());
-
   }
   return aFilledAttributeName;
 }