Re: FlatField changes, Animation length does not

Hi James,

The timing was different on my system so to see the failure
I had to insert a delay:

    new Delay(5000); // WLH
    // jk
    FieldImpl[] new_images = {image_sequence, image_sequence};

The fix for this problem is to insert a call to reAutoScale()
before the change to the data:

    new Delay(5000); // WLH
    ((DisplayImpl) dpys[0]).reAutoScale(); // WLH
    // jk
    FieldImpl[] new_images = {image_sequence, image_sequence};

The system handles the animation sampling like it handles
ScalarMap.setRange() - applications can explicitly call
AnimationControl.setSet(Set set), or can rely on the
auto-scaling logic to figure out an appropriate animation
sampling.  The reAutoScale() call tells the DisplayImpl
to redo its auto-scaling on the next update.

Cheers,
Bill
----------------------------------------------------------
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
http://www.ssec.wisc.edu/~billh/vis.html