From: vsv Date: Thu, 21 May 2020 16:10:46 +0000 (+0300) Subject: bos #19137: Fix sketch dimension color X-Git-Tag: V9_5_0rc1~38 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d761bd5b3ed016b4087f34a6de6cb010e1145316;p=modules%2Fshaper.git bos #19137: Fix sketch dimension color --- diff --git a/src/PartSet/PartSet_SketcherMgr.cpp b/src/PartSet/PartSet_SketcherMgr.cpp index 292c13596..6541ba26f 100644 --- a/src/PartSet/PartSet_SketcherMgr.cpp +++ b/src/PartSet/PartSet_SketcherMgr.cpp @@ -2269,12 +2269,12 @@ std::vector PartSet_SketcherMgr::colorOfObject(const ObjectPtr& theObject, if (aOCListener->isConflictingObject(theObject)) { return Config_PropManager::color("Visualization", "sketch_overconstraint_color"); } - if (aOCListener->isFullyConstrained()) { - return Config_PropManager::color("Visualization", "sketch_fully_constrained_color"); - } if (isDistanceKind(aKind)) { return Config_PropManager::color("Visualization", "sketch_dimension_color"); } + if (aOCListener->isFullyConstrained()) { + return Config_PropManager::color("Visualization", "sketch_fully_constrained_color"); + } if (aKind == SketchPlugin_ConstraintCoincidence::ID()) return std::vector(3, 0);