From c8aa8e762636b0be8f7d25f3a3d5180413f035c7 Mon Sep 17 00:00:00 2001 From: apo Date: Fri, 14 Oct 2005 12:24:09 +0000 Subject: [PATCH] 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 --- src/SVTK/SVTK_View.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); } } -- 2.39.2