From: vsv Date: Fri, 3 Apr 2015 08:15:47 +0000 (+0300) Subject: Set sketch constraint color for coincidence X-Git-Tag: V_1.1.0~57^2~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=980933e08e61a33f2ff7666542c08d83bf1e6e6c;p=modules%2Fshaper.git Set sketch constraint color for coincidence --- 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; }