]> Creatis software - cpPlugins.git/blobdiff - lib/cpPlugins/Plugins/IO/MeshWriter.cxx
...
[cpPlugins.git] / lib / cpPlugins / Plugins / IO / MeshWriter.cxx
index 7f0bba051cb22066f053231cca525cfe05ceb339..b0b7227ba7897b4b24b77bed685d409f81a40fad 100644 (file)
@@ -39,6 +39,7 @@ _GenerateData( )
   vtkPolyDataWriter* pdw = this->_CreateVTK< vtkPolyDataWriter >( );
   pdw->SetInputData( i );
   pdw->SetFileName( fname.c_str( ) );
+  pdw->SetFileTypeToBinary( );
   pdw->Update( );
   if( pdw->GetErrorCode( ) != 0 )
     return( "MeshWriter: someting wrong happened." );