Salome HOME
Rever incorrect integration!!! from 13.09.2009 into the V5_1_main
authordmv <dmv@opencascade.com>
Thu, 21 Oct 2010 10:48:45 +0000 (10:48 +0000)
committerdmv <dmv@opencascade.com>
Thu, 21 Oct 2010 10:48:45 +0000 (10:48 +0000)
src/SMESH_I/SMESH_Gen_i.cxx

index 96d566b5b494a0e0be9b85bdff7e7f4d4ca5dc3b..08ce77e368ad2765934599304aa5c5ef888df523 100644 (file)
@@ -3198,7 +3198,7 @@ SALOMEDS::TMPFile* SMESH_Gen_i::SaveASCII( SALOMEDS::SComponent_ptr theComponent
                                            bool                     isMultiFile ) {
   if(MYDEBUG) MESSAGE( "SMESH_Gen_i::SaveASCII" );
   SALOMEDS::TMPFile_var aStreamFile = Save( theComponent, theURL, isMultiFile );
-  //return aStreamFile._retn();
+  return aStreamFile._retn();
 
   //after usual saving needs to encipher binary to text string
   //Any binary symbol will be represent as "|xx" () hexadecimal format number
@@ -4300,7 +4300,7 @@ bool SMESH_Gen_i::LoadASCII( SALOMEDS::SComponent_ptr theComponent,
                              const char*              theURL,
                              bool                     isMultiFile ) {
   if(MYDEBUG) MESSAGE( "SMESH_Gen_i::LoadASCII" );
-  //return Load( theComponent, theStream, theURL, isMultiFile );
+  return Load( theComponent, theStream, theURL, isMultiFile );
 
   //before call main ::Load method it's need for decipher text format to
   //binary ( "|xx" => x' )