mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-11 16:19:17 +05:00
Fix a problem with the local selection.
This commit is contained in:
parent
33685653ae
commit
5cf74de868
@ -1044,6 +1044,9 @@ void GEOM_Displayer::Update( SALOME_OCCPrs* prs )
|
||||
// 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 );
|
||||
|
||||
|
@ -153,7 +153,8 @@ GEOM_AISShape::GEOM_AISShape(const TopoDS_Shape& shape,
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user