#if OCC_VERSION_LARGE < 0x07010000
Quantity_NameOfColor aStyle = Quantity_NOC_YELLOW;
#else
- Handle(Graphic3d_HighlightStyle) aStyle = new Graphic3d_HighlightStyle( Aspect_TOHM_COLOR, Quantity_NOC_YELLOW );
+ Handle(Graphic3d_HighlightStyle) aStyle = new Graphic3d_HighlightStyle( /*Aspect_TOHM_COLOR, Quantity_NOC_YELLOW*/ );
+ aStyle->SetMethod(Aspect_TOHM_COLOR);
+ aStyle->SetColor(Quantity_NOC_YELLOW);
#endif
theContext->MainPrsMgr()->Color( aPrsObj, aStyle, aMode );
SetPrsZLayer( aPrsObj, aMode, theLayer );