Commit 61de9ce3 authored by Andrew Maclean's avatar Andrew Maclean

BUG: Need to explicitly set the byte order to big endian so that little endian machines

 will process the big endian test file correctly.
parent 3ce54884
......@@ -13,6 +13,7 @@ vtkRenderWindowInteractor iren
vtkParticleReader reader
reader SetFileName "$VTK_DATA_ROOT/Data/Particles.raw"
reader SetDataByteOrderToBigEndian
vtkPolyDataMapper mapper
mapper SetInput [reader GetOutput]
......@@ -35,9 +36,6 @@ iren AddObserver UserEvent {wm deiconify .vtkInteract}
iren Initialize
renWin Render
# prevent the tk window from showing up then start the event loop
wm withdraw .
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