From 48ccae79816230cb98367c73bce8d51342e18eee Mon Sep 17 00:00:00 2001 From: ouv Date: Tue, 24 Jan 2012 14:23:49 +0000 Subject: [PATCH] =?utf8?q?GUITHARE=202011.=20Internal=20issue=200000899:?= =?utf8?q?=20Regression:=20VTK=20view=20and=20=C2=93Zones=C2=94=20tab=20of?= =?utf8?q?=20input=20panel=20are=20not=20synchronized=20in=20C2.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/LightApp/LightApp_VTKSelector.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/LightApp/LightApp_VTKSelector.cxx b/src/LightApp/LightApp_VTKSelector.cxx index 741010690..6127a5a97 100644 --- a/src/LightApp/LightApp_VTKSelector.cxx +++ b/src/LightApp/LightApp_VTKSelector.cxx @@ -242,11 +242,6 @@ LightApp_VTKSelector anAppendList.Append(anIO); aSelector->AddOrRemoveIndex(anIO,anOwner->GetIds(),false); - }else if(const LightApp_DataOwner* anOwner = dynamic_cast(aDataOwner)){ - Handle(SALOME_InteractiveObject) anIO = - new SALOME_InteractiveObject(anOwner->entry().toLatin1(),""); - aSelector->AddIObject(anIO); - anAppendList.Append(anIO); }else if(const LightApp_DataSubOwner* anOwner = dynamic_cast(aDataOwner)){ Handle(SALOME_InteractiveObject) anIO = new SALOME_InteractiveObject(anOwner->entry().toLatin1(),""); @@ -255,6 +250,11 @@ LightApp_VTKSelector TColStd_IndexedMapOfInteger aMap; aMap.Add( anOwner->index() ); aSelector->AddOrRemoveIndex( anIO,aMap, false ); + }else if(const LightApp_DataOwner* anOwner = dynamic_cast(aDataOwner)){ + Handle(SALOME_InteractiveObject) anIO = + new SALOME_InteractiveObject(anOwner->entry().toLatin1(),""); + aSelector->AddIObject(anIO); + anAppendList.Append(anIO); } } // To remove IOs, which is not selected. -- 2.39.2