From: apo Date: Fri, 14 Oct 2005 12:24:09 +0000 (+0000) Subject: Fix on Bug GVIEW10273 X-Git-Tag: TG-D5-38-2003_D2005-29-12~67 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c8aa8e762636b0be8f7d25f3a3d5180413f035c7;p=modules%2Fgui.git Fix on Bug GVIEW10273 "Clipping planes" functionality works incorrectly. We should check theActor->hasIO() in THighlightAction, in other case secondary actors will be also modified --- diff --git a/src/SVTK/SVTK_View.cxx b/src/SVTK/SVTK_View.cxx index 98d158291..43813dd1c 100644 --- a/src/SVTK/SVTK_View.cxx +++ b/src/SVTK/SVTK_View.cxx @@ -135,7 +135,7 @@ struct THighlightAction void operator()( SALOME_Actor* theActor) { - if(theActor->GetMapper()){ + if(theActor->GetMapper() && theActor->hasIO()){ theActor->highlight( myIsHighlight, mySelectionMode ); } }