]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Bug IPAL19078 Error in Dump study/load script
authordmv <dmv@opencascade.com>
Mon, 21 Jul 2008 12:31:44 +0000 (12:31 +0000)
committerdmv <dmv@opencascade.com>
Mon, 21 Jul 2008 12:31:44 +0000 (12:31 +0000)
src/GEOMToolsGUI/GEOMToolsGUI.cxx

index 4718b347257422447d7b13a1a83d43ee9280712a..4cb3431b642a5a4fd8f5704b1de0e041819dd5e6 100644 (file)
@@ -245,8 +245,8 @@ static bool inUse( _PTR(Study) study, const QString& component, const QMap<QStri
       continue;
 
     GEOM::ListOfGO_var list = geomObj->GetDependency();
-    if( list->length() <= 1 ) 
-      continue; // ??? why 1?
+    if( list->length() == 0 ) 
+      continue;
 
     for( int i = 0; i < list->length(); i++ ) {
       bool depends = false;