]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
setSelection() has been corrected to allow selection of multiple sub-elements at...
authorouv <ouv@opencascade.com>
Wed, 8 Feb 2012 12:29:47 +0000 (12:29 +0000)
committerouv <ouv@opencascade.com>
Wed, 8 Feb 2012 12:29:47 +0000 (12:29 +0000)
src/LightApp/LightApp_VTKSelector.cxx

index 6127a5a97c51663228e81d1896eccfd593792596..daabe9817a93f1f8c0e6ff99c99b352817e7b70e 100644 (file)
@@ -249,7 +249,8 @@ LightApp_VTKSelector
              anAppendList.Append(anIO);
              TColStd_IndexedMapOfInteger aMap;
              aMap.Add( anOwner->index() );
-             aSelector->AddOrRemoveIndex( anIO,aMap, false );
+             // ouv: false has been replaced to true to allow selection of multiple sub-elements
+             aSelector->AddOrRemoveIndex( anIO,aMap, true );
            }else if(const LightApp_DataOwner* anOwner = dynamic_cast<const LightApp_DataOwner*>(aDataOwner)){
              Handle(SALOME_InteractiveObject) anIO = 
                new SALOME_InteractiveObject(anOwner->entry().toLatin1(),"");