addField and setField fixed. Previously these where just pushing fields onto the end of the fieldList. The problem is that that array is pre-allocated, so the operation resulted in tacking on more fields to the end of the array. Now we set the field at a free index, or if there are no free indices, we add a new one. We will probably have to re-visit this issue again in the future.
addField and setField fixed. Previously these where just
pushing fields onto the end of the fieldList. The problem is that
that array is pre-allocated, so the operation resulted in tacking on
more fields to the end of the array. Now we set the field at a
free index, or if there are no free indices, we add a new one. We
will probably have to re-visit this issue again in the future.

brianthomas/pXDF