Commit da4f922d authored by David Thompson's avatar David Thompson
Browse files

Fix extent computation.

parent f5f148b1
Pipeline #2358 passed with stage
......@@ -241,8 +241,8 @@ smtk::model::OperatorResult WriteOperator::writeLabelMap()
}
}
extent[1] = extent[0] + dims[0] - 1;
extent[3] = extent[3] + dims[1] - 1;
extent[5] = extent[5] + dims[2] - 1;
extent[3] = extent[2] + dims[1] - 1;
extent[5] = extent[4] + dims[2] - 1;
pad->SetOutputWholeExtent(extent);
// Write out the data
......
Supports Markdown
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