Salome HOME
Merge branch 'csgroup_IS2'
[modules/shaper.git] / src / ConstructionPlugin / ConstructionPlugin_Plane.cpp
index 8df8e53636203725811d7ffad76ed96832403c0d..c4c384ba5d61f8092812038f4c8c37f9f48db1e3 100644 (file)
@@ -142,8 +142,7 @@ void ConstructionPlugin_Plane::execute()
 }
 
 //==================================================================================================
-bool ConstructionPlugin_Plane::customisePresentation(ResultPtr theResult, AISObjectPtr thePrs,
-                                                std::shared_ptr<GeomAPI_ICustomPrs> theDefaultPrs)
+bool ConstructionPlugin_Plane::customisePresentation(ResultPtr theResult, AISObjectPtr thePrs)
 {
   std::vector<int> aColor;
   // get color from the attribute of the result
@@ -157,7 +156,7 @@ bool ConstructionPlugin_Plane::customisePresentation(ResultPtr theResult, AISObj
     }
   }
   if (aColor.empty())
-    aColor = Config_PropManager::color("Visualization", "construction_plane_color");
+    aColor = Config_PropManager::color("Visualization", COLOR_NAME());
 
   bool isCustomized = false;
   if (aColor.size() == 3)