From 980933e08e61a33f2ff7666542c08d83bf1e6e6c Mon Sep 17 00:00:00 2001 From: vsv Date: Fri, 3 Apr 2015 11:15:47 +0300 Subject: [PATCH] Set sketch constraint color for coincidence --- src/SketchPlugin/SketchPlugin_ConstraintCoincidence.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/SketchPlugin/SketchPlugin_ConstraintCoincidence.cpp b/src/SketchPlugin/SketchPlugin_ConstraintCoincidence.cpp index a78e1b4ef..ce8fa25de 100644 --- a/src/SketchPlugin/SketchPlugin_ConstraintCoincidence.cpp +++ b/src/SketchPlugin/SketchPlugin_ConstraintCoincidence.cpp @@ -36,7 +36,9 @@ AISObjectPtr SketchPlugin_ConstraintCoincidence::getAISObject(AISObjectPtr thePr AISObjectPtr anAIS = thePrevious; if (!anAIS) { anAIS = SketcherPrs_Factory::coincidentConstraint(this, sketch()->coordinatePlane()); - anAIS->setColor(0, 0, 255); + std::vector aRGB = Config_PropManager::color("Visualization", "sketch_constraint_color", + SKETCH_DIMENSION_COLOR); + anAIS->setColor(aRGB[0], aRGB[1], aRGB[2]); } return anAIS; } -- 2.39.2