Commit bdbcbed6 authored by bonnell's avatar bonnell
Browse files

fix libsim crash for 2d meshes

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@23331 18c085ea-50e0-402c-830e-de6fd14e8384
parent dfa400a8
......@@ -773,6 +773,9 @@ SimV2_GetMesh_Rectilinear(visit_handle h)
}
}
if (ndims == 2)
dataType[2] = dataType[0];
// Create the VTK objects and connect them up.
vtkRectilinearGrid *rgrid = vtkRectilinearGrid::New();
rgrid->SetDimensions(nTuples);
......
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