0025695: Visualization, AIS_InteractiveContext - define default HilightMode
[occt.git] / samples / mfc / standard / 07_Triangulation / src / ISession_Curve.cpp
index 839a7a7..5b8b6a6 100755 (executable)
@@ -37,7 +37,7 @@ void ISession_Curve::Compute(const Handle(PrsMgr_PresentationManager3d)& /*aPres
 {
   GeomAdaptor_Curve anAdaptorCurve(myCurve);
   if (hasOwnColor)
-    myDrawer->LineAspect()->SetColor(myOwnColor);
+    myDrawer->LineAspect()->SetColor (myDrawer->Color());
   myDrawer->Link()->SetDiscretisation(100);
   myDrawer->Link()->SetMaximalParameterValue(500);