From: nds Date: Fri, 22 May 2015 07:13:48 +0000 (+0300) Subject: The default colors in preferences for sketch elements and features. X-Git-Tag: V_1.2.0~119 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4b1f76b455140cae5d18319b62627af3ba28f226;p=modules%2Fshaper.git The default colors in preferences for sketch elements and features. --- diff --git a/src/ConstructionPlugin/ConstructionPlugin_Axis.cpp b/src/ConstructionPlugin/ConstructionPlugin_Axis.cpp index ae24aaf3c..280da1e7f 100644 --- a/src/ConstructionPlugin/ConstructionPlugin_Axis.cpp +++ b/src/ConstructionPlugin/ConstructionPlugin_Axis.cpp @@ -89,7 +89,8 @@ bool ConstructionPlugin_Axis::customisePresentation(ResultPtr theResult, AISObje bool isCustomized = theDefaultPrs.get() != NULL && theDefaultPrs->customisePresentation(theResult, thePrs, theDefaultPrs); - isCustomized = thePrs->setLineStyle(3); + isCustomized = thePrs->setLineStyle(3) || isCustomized; + isCustomized = thePrs->setWidth(2) || isCustomized; return isCustomized; }