AnalyticalGraphicsInc/cesium — pull request #379 by bagnell (2012-12-12 22:02:13+00:00)
Title: Fix morph crash.

Prevent an animation duration of 0ms. In Tween.js, the elapsed time is computed as `(time - startTime) / duration` and clamped at one. This is fine for the most common case where `time > startTime` which gets divided by zero to equal infinity and clamped to one. In the case where `time == startTime` (which explains why it was so hard to reproduce), the elapsed time will be `NaN` and cause a crash.

This fixes the original problem in #319.
#338 is unrelated.