mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-11 16:19:17 +05:00
Switching-off the highlighting selected objects
to avoid keeping object's wireframe in case of changing shape properties (for example: 'Clear Top Level State','Color', 'Isos') calling popup menu over the shape in OCC viewer.
This commit is contained in:
parent
2e1ae88a9e
commit
0f781d0d92
@ -216,6 +216,10 @@ void GEOM_AISShape::Compute(const Handle(PrsMgr_PresentationManager3d)& aPresent
|
||||
if (IsInfinite()) aPrs->SetInfiniteState(Standard_True); //pas de prise en compte lors du FITALL
|
||||
|
||||
Handle(AIS_InteractiveContext) anIC = GetContext();
|
||||
// AKL: use old behavior to avoid keeping object's wireframe
|
||||
// if to change shape properties (for example: 'Clear Top Level State','Color', 'Isos')
|
||||
// calling popup menu over(!) the shape in OCC viewer.
|
||||
anIC->SetToHilightSelected( false );
|
||||
|
||||
bool anIsField = !myFieldStepData.isEmpty();
|
||||
bool anIsColorField = anIsField && myFieldDataType != GEOM::FDT_String;
|
||||
|
Loading…
Reference in New Issue
Block a user