Commit bc4dbe82 authored by Berk Geveci's avatar Berk Geveci Committed by George Zagaris
Browse files

BUG: Was using array of wrong size.

Was trying to read the extent into an array of size 3 instead
of 6. Doh!

Change-Id: Ic8bb2872782c86739ddf8119b3d44edb35e42e06
parent 10c6913a
...@@ -646,7 +646,7 @@ int vtkCommunicator::UnMarshalDataObject(vtkCharArray *buffer, ...@@ -646,7 +646,7 @@ int vtkCommunicator::UnMarshalDataObject(vtkCharArray *buffer,
id->GetOrigin(origin); id->GetOrigin(origin);
double spacing[3]; double spacing[3];
id->GetSpacing(spacing); id->GetSpacing(spacing);
int readerExt[3]; int readerExt[6];
id->GetExtent(readerExt); id->GetExtent(readerExt);
for (int i=0; i<3; i++) for (int i=0; i<3; i++)
{ {
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