Salome HOME
DCQ : Merge with Ecole_Ete_a6.
[modules/geom.git] / 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 ;
 }