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.

Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738

  • 2000 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: