Handle(AIS_InteractiveObject) aPrsObj = aListIter.Value();
if( !aPrsObj.IsNull() )
{
- theContext->MainPrsMgr()->Color( aPrsObj );
- int aMode = 0;//aPrsObj->HilightMode();
+ int aMode = aPrsObj->HasHilightMode() ? aPrsObj->HilightMode() : 0;
+ theContext->MainPrsMgr()->Color( aPrsObj, Quantity_NOC_YELLOW, aMode );
SetPrsZLayer( aPrsObj, aMode, theLayer );
theContext->MainPrsMgr()->Unhighlight( aPrsObj, aMode );
}