]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Remove try-catch in DEBUG mode
authorapo <apo@opencascade.com>
Fri, 22 Jul 2005 06:53:16 +0000 (06:53 +0000)
committerapo <apo@opencascade.com>
Fri, 22 Jul 2005 06:53:16 +0000 (06:53 +0000)
src/CONVERTOR/VISU_Convertor_impl.cxx

index 1a5a9f4a3b2162efb62af20f6a6f17ee9152415d..9670e120007c2a3169f3f69507b7ae5222fe2939 100644 (file)
@@ -953,7 +953,9 @@ VISU_Convertor_impl
 
   //Main part of code
   TVTKSource& aSource = aValForTime->mySource;
+#ifndef _DEBUG_
   try{
+#endif
     if(!aValForTime->myIsInitialized){
       LoadFieldOnMesh(aMesh,aMeshOnEntity,aField,aValForTime);
 
@@ -997,11 +999,13 @@ VISU_Convertor_impl
        BEGMSG(MYVTKDEBUG,"GetActualMemorySize() = "<<float(aSource->GetActualMemorySize()*1000)<<endl);
       }
     }
+#ifndef _DEBUG_
   }catch(std::exception& exc){
     throw;
   }catch(...){
     throw;
   }
+#endif
 
   return aSource.GetPointer();
 }