From: azv Date: Tue, 1 Oct 2019 10:25:15 +0000 (+0300) Subject: Change color of ellipse and elliptic arc when a sketch is fully constrained. X-Git-Tag: V9_4_0a2~4^2~42 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d7144bf137b2ea4f8c7bfbc6b678e1a762e98653;p=modules%2Fshaper.git Change color of ellipse and elliptic arc when a sketch is fully constrained. --- diff --git a/src/PartSet/PartSet_SketcherMgr.cpp b/src/PartSet/PartSet_SketcherMgr.cpp index 69d6092e3..b8c25aa84 100644 --- a/src/PartSet/PartSet_SketcherMgr.cpp +++ b/src/PartSet/PartSet_SketcherMgr.cpp @@ -70,6 +70,8 @@ #include #include #include +#include +#include #include #include #include @@ -957,7 +959,9 @@ bool PartSet_SketcherMgr::isEntity(const std::string& theId) return (theId == SketchPlugin_Line::ID()) || (theId == SketchPlugin_Point::ID()) || (theId == SketchPlugin_Arc::ID()) || - (theId == SketchPlugin_Circle::ID()); + (theId == SketchPlugin_Circle::ID()) || + (theId == SketchPlugin_Ellipse::ID()) || + (theId == SketchPlugin_EllipticArc::ID()); } bool PartSet_SketcherMgr::isExternalFeature(const FeaturePtr& theFeature)