]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
DCQ : Debug ClearAllIOR method
authordcq <dcq@opencascade.com>
Fri, 16 Apr 2004 12:54:02 +0000 (12:54 +0000)
committerdcq <dcq@opencascade.com>
Fri, 16 Apr 2004 12:54:02 +0000 (12:54 +0000)
src/GEOMDS/GEOMDS_Commands.cxx

index 17f7e5764e4f3f0181b77776cbd0f34973c4c7e0..d2fa1c38e4fd122c633c64bed56965e02f7430e4 100644 (file)
@@ -264,9 +264,10 @@ Standard_Boolean GEOMDS_Commands::ClearAllIOR(const TDF_Label& aLabel)
     TDF_Label L = it.Value() ;
     if( L.FindAttribute(TDataStd_Name::GetID(), anAttName) ) {
       notTested = L.ForgetAttribute(TDataStd_Name::GetID()) ;
+      if(notTested)
+       MESSAGE("in GEOMDS_Commands::ClearAllIOR : IOR CLEARED" )
+    ClearAllIOR(L);
     }
-    if(notTested)
-      MESSAGE("in GEOMDS_Commands::ClearAllIOR : IOR CLEARED" )
   }
   return true ;
 }