]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ConstructionPlugin/ConstructionPlugin_Axis.cpp
Salome HOME
Merge branch 'Dev_1.1.0' of newgeom:newgeom.git into Dev_1.1.0
[modules/shaper.git] / src / ConstructionPlugin / ConstructionPlugin_Axis.cpp
index 570a3a3b8edb2b58a4a19ff02b5c39e0f59dacd7..4f3fae9dbdd66352d6b8713368fea1c43ee7ef7e 100644 (file)
@@ -6,6 +6,8 @@
 
 #include "ConstructionPlugin_Axis.h"
 
+#include <Config_PropManager.h>
+
 #include <ModelAPI_AttributeSelection.h>
 #include <ModelAPI_ResultConstruction.h>
 
@@ -50,7 +52,9 @@ void ConstructionPlugin_Axis::execute()
 
 void ConstructionPlugin_Axis::customisePresentation(AISObjectPtr thePrs)
 {
-  thePrs->setColor(0, 0, 0);
+  std::vector<int> aRGB = Config_PropManager::color("Visualization", "construction_axis_color",
+                                                    ConstructionPlugin_Axis::DEFAULT_COLOR());
+  thePrs->setColor(aRGB[0], aRGB[1], aRGB[2]);
   thePrs->setLineStyle(3);
   thePrs->redisplay();
 }