]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
PAL10332 - references are interpreted as original objects in filters, dialogs, etc.
authorasl <asl@opencascade.com>
Tue, 25 Oct 2005 08:20:46 +0000 (08:20 +0000)
committerasl <asl@opencascade.com>
Tue, 25 Oct 2005 08:20:46 +0000 (08:20 +0000)
src/VISUGUI/VisuGUI.cxx
src/VISUGUI/VisuGUI_PopupTools.cxx

index 507c1e0c69d2efc7d65fb88fa4f48ed6cae907b5..94d4ad9acfec413e6c772d1db8a836eece960613 100644 (file)
@@ -1117,7 +1117,7 @@ OnDeleteObjects()
 
   SALOME_ListIO aList;
   SalomeApp_SelectionMgr* mgr = GetSelectionMgr(this);
-  mgr->selectedObjects(aList);
+  mgr->selectedObjects(aList,QString::null,false);
   int i = 0, nbSelected = aList.Extent();
   if (nbSelected < 1) return;
 
index e0f554582b5f4d83c3091497832d0139f49c6d6d..3aceb478c683ac888b6624f2a368e40e34096ebb 100644 (file)
@@ -46,7 +46,7 @@ QtxValue VisuGUI_Selection::param( const int ind, const QString& p ) const
     else if ( p == "nbTimeStamps"   ) val = QtxValue( nbTimeStamps( ind ) );
     else if ( p == "nbChildren"     ) val = QtxValue( nbChildren( ind ) );
     else if ( p == "nbNamedChildren") val = QtxValue( nbNamedChildren( ind ) );
-    else if ( p == "isVisible"      ) val = QtxValue( isVisible( ind ) );
+//    else if ( p == "isVisible"      ) val = QtxValue( isVisible( ind ) );
     else if ( p == "isShrunk"       ) val = QtxValue( isShrunk( ind ) );
     else if ( p == "hasActor"       ) val = QtxValue( hasActor( ind ) );
   }