X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcpPlugins%2FPlugins%2FIO%2FMeshWriter.cxx;h=b0b7227ba7897b4b24b77bed685d409f81a40fad;hb=bf1c5140976e42a53f0860b2e8691d72ef70ff49;hp=7f0bba051cb22066f053231cca525cfe05ceb339;hpb=c3a83f9e38129c9efd40de5ab09aca14c731f371;p=cpPlugins.git diff --git a/lib/cpPlugins/Plugins/IO/MeshWriter.cxx b/lib/cpPlugins/Plugins/IO/MeshWriter.cxx index 7f0bba0..b0b7227 100644 --- a/lib/cpPlugins/Plugins/IO/MeshWriter.cxx +++ b/lib/cpPlugins/Plugins/IO/MeshWriter.cxx @@ -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." );