From b55d7c9f422a238359a80a29867c7cd288ed5960 Mon Sep 17 00:00:00 2001 From: nds Date: Wed, 27 Jul 2016 07:54:27 +0300 Subject: [PATCH] Issue #1664: In the Sketcher, add the function Split a segment. Split feature implementation to process attributes --- src/SketchPlugin/SketchPlugin_ConstraintSplit.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/SketchPlugin/SketchPlugin_ConstraintSplit.h b/src/SketchPlugin/SketchPlugin_ConstraintSplit.h index 02c7df346..5e7bae5b5 100755 --- a/src/SketchPlugin/SketchPlugin_ConstraintSplit.h +++ b/src/SketchPlugin/SketchPlugin_ConstraintSplit.h @@ -12,6 +12,7 @@ #include "SketchPlugin_ConstraintBase.h" class GeomDataAPI_Point2D; +class ModelAPI_Feature; /** \class SketchPlugin_ConstraintSplit * \ingroup Plugins @@ -85,9 +86,9 @@ private: /// Creates a new feature in the base shape type with bounding points given in parameters /// \param theStartPointAttr an attribute of the start point /// \param theEndPointAttr an attribute of the end point - FeaturePtr SketchPlugin_ConstraintSplit::createFeature( - const std::shared_ptr& theStartPointAttr, - const std::shared_ptr& theEndPointAttr); + std::shared_ptr FeaturePtr SketchPlugin_ConstraintSplit::createFeature( + const std::shared_ptr& theStartPointAttr, + const std::shared_ptr& theEndPointAttr); private: //std::set myNewPoints; ///< set of new points -- 2.39.2