// create presentation (specific for vectors)
Handle(GEOM_AISShape) AISShape = ( myType == GEOM_VECTOR ) ? new GEOM_AISVector( myShape, "" )
: new GEOM_AISShape ( myShape, "" );
+
+ if( myType == GEOM_FIELD_STEP )
+ AISShape->SetHilightMode( GEOM_AISShape::CustomHighlight );
// update shape properties
updateShapeProperties( AISShape, true );
myFieldStepRangeMin(0),
myFieldStepRangeMax(0)
{
- SetHilightMode( CustomHighlight ); // override setting the mode to 0 inside AIS_Shape constructor
+ //rnv: Commented to avoid bug with local selection
+ //SetHilightMode( CustomHighlight ); // override setting the mode to 0 inside AIS_Shape constructor
myShadingColor = Quantity_Color( Quantity_NOC_GOLDENROD );
myPrevDisplayMode = 0;