From d7144bf137b2ea4f8c7bfbc6b678e1a762e98653 Mon Sep 17 00:00:00 2001 From: azv Date: Tue, 1 Oct 2019 13:25:15 +0300 Subject: [PATCH] Change color of ellipse and elliptic arc when a sketch is fully constrained. --- src/PartSet/PartSet_SketcherMgr.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) -- 2.39.2