From: azv Date: Wed, 15 Apr 2015 11:50:35 +0000 (+0300) Subject: Make fixed point X-Git-Tag: V_1.1.0~26^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b48b2032e6debffddafcf9066da19d33d34789e6;p=modules%2Fshaper.git Make fixed point --- diff --git a/src/SketchSolver/SketchSolver_ConstraintRigid.cpp b/src/SketchSolver/SketchSolver_ConstraintRigid.cpp index 49fded073..3ab5794b2 100644 --- a/src/SketchSolver/SketchSolver_ConstraintRigid.cpp +++ b/src/SketchSolver/SketchSolver_ConstraintRigid.cpp @@ -6,6 +6,7 @@ #include #include #include +#include #include #include @@ -53,6 +54,9 @@ void SketchSolver_ConstraintRigid::process() Slvs_Entity aCirc = myStorage->getEntity(anEntID); fixCircle(aCirc); } + else if (myFeatureMap.begin()->first->getKind() == SketchPlugin_Point::ID()) { + fixPoint(anEntID); + } }