]> SALOME platform Git repositories - plugins/ghs3dplugin.git/commitdiff
Salome HOME
Update
authorgdd <gdd>
Mon, 2 May 2011 15:31:20 +0000 (15:31 +0000)
committergdd <gdd>
Mon, 2 May 2011 15:31:20 +0000 (15:31 +0000)
src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx

index 2060421c2d2a9af9a92137e7ece1689b37b2c62c..4e72efc43cbf4671b1fe6ed881f6882bbc6c51e4 100644 (file)
@@ -2793,19 +2793,19 @@ bool GHS3DPlugin_GHS3D::Compute(SMESH_Mesh&         theMesh,
 
   aIdsFile.close();
 // #if GHS3D_VERSION < 42
-  aFacesFile.close();
-  aPointsFile.close();
+//   aFacesFile.close();
+//   aPointsFile.close();
 // #endif
   
   if ( ! Ok ) {
     if ( !_keepFiles ) {
 // #if GHS3D_VERSION < 42
-      removeFile( aFacesFileName );
-      removeFile( aPointsFileName );
+//       removeFile( aFacesFileName );
+//       removeFile( aPointsFileName );
 // #else
-//       removeFile( aGMFFileName );
-//       removeFile( aRequiredVerticesFileName );
-//       removeFile( aSolFileName );
+      removeFile( aGMFFileName );
+      removeFile( aRequiredVerticesFileName );
+      removeFile( aSolFileName );
 // #endif
       removeFile( aSmdsToGhs3dIdMapFileName );
     }
@@ -2913,11 +2913,11 @@ bool GHS3DPlugin_GHS3D::Compute(SMESH_Mesh&         theMesh,
 
   if ( !_keepFiles ) {
 // #if GHS3D_VERSION < 42
-    removeFile( aFacesFileName );
-    removeFile( aPointsFileName );
-    removeFile( aResultFileName );
-    removeFile( aBadResFileName );
-    removeFile( aBbResFileName );
+//     removeFile( aFacesFileName );
+//     removeFile( aPointsFileName );
+//     removeFile( aResultFileName );
+//     removeFile( aBadResFileName );
+//     removeFile( aBbResFileName );
 // #endif
     removeFile( aSmdsToGhs3dIdMapFileName );
   // The output .mesh file does not contain yet the subdomain-info (Ghs3D 4.2)