Commit 07e2066e authored by bonnell's avatar bonnell

Fix an array-indexing error

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@23814 18c085ea-50e0-402c-830e-de6fd14e8384
parent 4eb83041
......@@ -476,7 +476,7 @@ ConstructDisk(surfacemesh *m, unique_points *p, const float center[3],
mat = 0.f;
for(a = 0; a < nAngles; ++a)
{
int conn[4], nextA;
int conn[5], nextA;
nextA = (a == nAngles-1) ? 0 : (a+1);
conn[0] = VISIT_CELL_QUAD;
......
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