X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchSolver%2FSketchSolver_Storage.cpp;h=c63d28e437a662c61818cf2c85b400e6f0f3516d;hb=eef14b29d313b9dd16453d12f20aa02383ee139c;hp=809bef132cf4fa9e5c9591990dbfe151b55c4cd1;hpb=ebca2e1b92ff164b5a9438e2353b4c2df2c3c7e8;p=modules%2Fshaper.git diff --git a/src/SketchSolver/SketchSolver_Storage.cpp b/src/SketchSolver/SketchSolver_Storage.cpp index 809bef132..c63d28e43 100644 --- a/src/SketchSolver/SketchSolver_Storage.cpp +++ b/src/SketchSolver/SketchSolver_Storage.cpp @@ -14,6 +14,7 @@ #include #include #include +#include #include @@ -96,7 +97,8 @@ static std::list pointAttributes(FeaturePtr theFeature) aPoints.push_back(theFeature->attribute(SketchPlugin_Line::START_ID())); aPoints.push_back(theFeature->attribute(SketchPlugin_Line::END_ID())); } - else if (theFeature->getKind() == SketchPlugin_Point::ID()) + else if (theFeature->getKind() == SketchPlugin_Point::ID() || + theFeature->getKind() == SketchPlugin_IntersectionPoint::ID()) aPoints.push_back(theFeature->attribute(SketchPlugin_Point::COORD_ID())); return aPoints; }