X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchSolver%2FSketchSolver_Storage.cpp;h=c63d28e437a662c61818cf2c85b400e6f0f3516d;hb=8476d5e088f7b1b5a414fa5e33ce99d6131929eb;hp=e149fe03da081d072561403f4bd2fa3c2b9a05bc;hpb=4507796772cdf8f63bc0bdb452b5013094fe7036;p=modules%2Fshaper.git diff --git a/src/SketchSolver/SketchSolver_Storage.cpp b/src/SketchSolver/SketchSolver_Storage.cpp index e149fe03d..c63d28e43 100644 --- a/src/SketchSolver/SketchSolver_Storage.cpp +++ b/src/SketchSolver/SketchSolver_Storage.cpp @@ -14,6 +14,7 @@ #include #include #include +#include #include @@ -96,8 +97,9 @@ 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()) - aPoints.push_back(theFeature->attribute(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; }