]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #1449 presentation of auxiliary sketch lines: it is visualized using color...
authornds <nds@opencascade.com>
Mon, 25 Apr 2016 12:47:20 +0000 (15:47 +0300)
committernds <nds@opencascade.com>
Mon, 25 Apr 2016 12:47:20 +0000 (15:47 +0300)
src/PartSet/PartSet_ResultSketchPrs.cpp

index cb4ba444c02b5cf37be0414a1141a1309493125e..8769ea22fa39ebd04f4cb6caf9924ce37131d04a 100755 (executable)
@@ -210,9 +210,9 @@ void PartSet_ResultSketchPrs::setAuxiliaryPresentationStyle(const bool isAuxilia
     aLineStyle = SketchPlugin_SketchEntity::SKETCH_LINE_STYLE();
   }
   else {
-    aColor = Config_PropManager::color("Visualization", "sketch_auxiliary_color",
-                                         SKETCH_AUXILIARY_COLOR);
-    aWidth = SketchPlugin_SketchEntity::SKETCH_LINE_WIDTH_AUXILIARY();
+    aColor = Config_PropManager::color("Visualization", "result_construction_color",
+                                        ModelAPI_ResultConstruction::DEFAULT_COLOR());
+    aWidth = PartSet_Tools::getAISDefaultWidth();// default width value
     aLineStyle = SketchPlugin_SketchEntity::SKETCH_LINE_STYLE_AUXILIARY();
   }