Salome HOME
Remove default values from properties requests
[modules/shaper.git] / src / SketchPlugin / SketchPlugin_Sketch.h
index 2666bb80785685954ac21d29142f1de7197b51b8..8ad7d8b453ab1e6e3adc2c7aadda609996a60af3 100644 (file)
 #include <GeomDataAPI_Dir.h>
 #include <list>
 
-#define YZ_PLANE_COLOR "225,0,0"
-#define XZ_PLANE_COLOR "0,225,0"
-#define XY_PLANE_COLOR "0,0,225"
+#ifdef SET_PLANES_COLOR_IN_PREFERENCES
+  #define YZ_PLANE_COLOR "225,0,0"
+  #define XZ_PLANE_COLOR "0,225,0"
+  #define XY_PLANE_COLOR "0,0,225"
+#endif
 
 /**\class SketchPlugin_Sketch
  * \ingroup Plugins