]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
The default colors in preferences for sketch elements and features.
authornds <natalia.donis@opencascade.com>
Fri, 22 May 2015 07:13:48 +0000 (10:13 +0300)
committernds <natalia.donis@opencascade.com>
Fri, 22 May 2015 07:13:48 +0000 (10:13 +0300)
src/ConstructionPlugin/ConstructionPlugin_Axis.cpp

index ae24aaf3c7916561f9de78cd36f8dfdbc6dcbf69..280da1e7fd28869a24c27f8e23cc3189db3f5af1 100644 (file)
@@ -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;
 }