Salome HOME
Add parameter feature without tests.
[modules/shaper.git] / src / ModuleBase / ModuleBase_Preferences.cpp
index c4a8fa2ef6367f87c75f330e2c9710d67dd52fdd..616e659e06c6a9c69bc0fbdb8ff39ea3470c54b0 100644 (file)
@@ -7,10 +7,6 @@
 #include "ModuleBase_Preferences.h"
 //#include "ModuleBase_Constants.h"
 
-#include <Model_ResultBody.h>
-#include <Model_ResultGroup.h>
-#include <Model_ResultConstruction.h>
-
 #include <Config_PropManager.h>
 
 #include <SUIT_ResourceMgr.h>
@@ -260,16 +256,6 @@ void ModuleBase_PreferencesDlg::createViewerPage(int thePageId)
   myPreferences->setItemProperty("texture_stretch_enabled", true, bgId);
   myPreferences->setItemProperty("custom_enabled", false, bgId);
   myPreferences->setItemProperty("image_formats", aImgFiles, bgId);
-
-  //Config_PropManager::registerProp("Visualization", "object_default_color", "Object color",
-  //                                 Config_Prop::Color, "225,225,225");
-
-  Config_PropManager::registerProp("Visualization", "result_body_color", "Body color",
-                                   Config_Prop::Color, Model_ResultBody::DEFAULT_COLOR());
-  Config_PropManager::registerProp("Visualization", "result_group_color", "Group color",
-                                   Config_Prop::Color, Model_ResultGroup::DEFAULT_COLOR());
-  Config_PropManager::registerProp("Visualization", "result_construction_color", "Construction color",
-                                   Config_Prop::Color, Model_ResultConstruction::DEFAULT_COLOR());
 }
 
 void ModuleBase_PreferencesDlg::createMenuPage(int thePageId)