virtualx-engine/scene
Pedro J. Estébanez f4959ee32b Fix animation before first key
Prior to this, the value assumed for the interval between the start of the track and the first frame would be the one of the first key if
- *seeking/playing a continuous track*;
- *seeking a discrete track*.

And the first key would be ignored until reached -thus not modifying the target property/transform- in the remaining case; namely, *playing a discrete track*.

In other words, the inner workings of the animation system considered the unreached first key for interpolation but not for a query of every key inside a time range.

With this changes, the first key is only considered is the animation is looped and ignored otherwise. That way, in order to have a start value, you'll need an explicit key at the very beginning of the track, while having the flexibility of the animation player not touching the target value until the first key is reached.

This corresponds to the point 1) of #10752.
2017-10-15 01:28:08 +02:00
..
2d Fix AnimatedSprite frame property slider in editor 2017-10-11 17:49:39 +09:00
3d Remove junk output 2017-10-13 12:40:19 +07:00
animation Fix animation before first key 2017-10-15 01:28:08 +02:00
audio Fixed bug with clearing the stream in AudioPlayerStream 2017-09-27 10:30:08 -03:00
gui Added and improved some missing icons, plus some other visual fixes. 2017-10-13 16:39:17 -05:00
main Renamed fixed_process to physics_process 2017-09-30 16:19:07 +02:00
resources Fix animation before first key 2017-10-15 01:28:08 +02:00
register_scene_types.cpp Merge pull request #11954 from neikeq/d 2017-10-11 13:54:34 +02:00
register_scene_types.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
scene_string_names.cpp Renamed fixed_process to physics_process 2017-09-30 16:19:07 +02:00
scene_string_names.h Renamed fixed_process to physics_process 2017-09-30 16:19:07 +02:00
SCsub Dead code tells no tales 2017-08-27 22:13:45 +02:00