Commit 7dd69a46 authored by Mathieu Malaterre's avatar Mathieu Malaterre

BUG: Fix flipped image in MetaImageReader

parent 5b73d14e
......@@ -23,7 +23,7 @@
#include <sys/stat.h>
//----------------------------------------------------------------------------
vtkCxxRevisionMacro(vtkMetaImageReader, "1.17");
vtkCxxRevisionMacro(vtkMetaImageReader, "1.18");
vtkStandardNewMacro(vtkMetaImageReader);
//----------------------------------------------------------------------------
......@@ -616,6 +616,7 @@ int vtkMetaImageReader::GetFileInformation(const char* fname, int populate)
this->SetFileDimensionality(3);
this->SetDataSpacing(spacing);
this->SetDataOrigin(origin);
this->FileLowerLeftOn();
if ( bigendian )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment