]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Merge branch 'Dev_1.1.0' of newgeom:newgeom into Dev_1.1.0
authornds <natalia.donis@opencascade.com>
Tue, 10 Mar 2015 04:57:26 +0000 (07:57 +0300)
committernds <natalia.donis@opencascade.com>
Tue, 10 Mar 2015 04:57:26 +0000 (07:57 +0300)
src/ExchangePlugin/ExchangePlugin_Plugin.cpp
src/Model/Model_ResultBody.cpp

index 11034f4f6b11d0ac072b0cd98a068ab9d666c2d1..e2b1ee20f7f69c890a3d86d1e05f007ae3fa6f6a 100644 (file)
@@ -35,7 +35,7 @@ ExchangePlugin_Plugin::ExchangePlugin_Plugin()
 
   // register random result color properties
   Config_PropManager::registerProp("Visualization", "random_result_color", "Use random color for results",
-                                   Config_Prop::Bool, "false");
+                                   Config_Prop::Bool, "true");
 }
 
 FeaturePtr ExchangePlugin_Plugin::createFeature(string theFeatureID)
index edee5b1495958450a9af23e078d881b36aafb4c3..6db5c94303e66708d66c5a2921632990a6437e64 100644 (file)
@@ -37,7 +37,7 @@
 //#include <TDF_Tool.hxx>
 //#define DEB_IMPORT 1
 
-#define RESULT_BODY_COLOR "#ff0000"
+#define RESULT_BODY_COLOR "#E0A01B"
 
 Model_ResultBody::Model_ResultBody()
 {
@@ -51,7 +51,7 @@ void Model_ResultBody::initAttributes()
   aData->addAttribute(COLOR_ID(), ModelAPI_AttributeColor::type());
   // set the default value
   bool anIsRandomColor = Config_PropManager::boolean("Visualization", "random_result_color",
-                                                     "false");
+                                                     "true");
   AttributeColorPtr aColorAttr = std::dynamic_pointer_cast<ModelAPI_AttributeColor>
                                                              (aData->attribute(COLOR_ID()));
   if (anIsRandomColor)