From: akl Date: Fri, 29 Aug 2014 08:32:37 +0000 (+0400) Subject: Switching-off the highlighting selected objects X-Git-Tag: V7_5_0a1~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0f781d0d92e7d0d3a2ffb9004504507449b66c16;p=modules%2Fgeom.git 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. --- diff --git a/src/OBJECT/GEOM_AISShape.cxx b/src/OBJECT/GEOM_AISShape.cxx index 341018e89..fe26569e1 100644 --- a/src/OBJECT/GEOM_AISShape.cxx +++ b/src/OBJECT/GEOM_AISShape.cxx @@ -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;