Salome HOME
Constriction type for all sketch entities
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_ConstraintLength.cpp
index f0ac2e41d7b908cc4bf09ec044dc1befeed91ea1..da91dc5835cbead17fa834bec2c063fc18536912 100644 (file)
@@ -141,8 +141,8 @@ AISObjectPtr SketchPlugin_ConstraintLength::getAISObject(AISObjectPtr thePreviou
   anAIS->createDistance(aPoint1, aPoint2, aFlyoutPnt, aPlane, aValue);
 
   // Set color from preferences
-  std::vector<int> aRGB = 
-    Config_PropManager::color("Visualization", "length_color", LENGTH_COLOR);
+  std::vector<int> aRGB = Config_PropManager::color("Visualization", "sketch_dimension_color",
+                                                    SKETCH_DIMENSION_COLOR);
   anAIS->setColor(aRGB[0], aRGB[1], aRGB[2]);
   return anAIS;
 }