virtualx-engine/scene/resources
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
..
default_theme Added and improved some missing icons, plus some other visual fixes. 2017-10-13 16:39:17 -05:00
animation.cpp Fix animation before first key 2017-10-15 01:28:08 +02:00
animation.h Rename pos to position in user facing methods and variables 2017-09-20 13:11:10 +02:00
audio_stream_sample.cpp Fix data alignment issues in get_data() in AudioStreamSample 2017-10-09 11:34:28 -07:00
audio_stream_sample.h Rename get_position => get_playback_position and seek_pos => seek on audio classes 2017-09-23 16:55:00 +02:00
bit_mask.cpp Rename pos to position in user facing methods and variables 2017-09-20 13:11:10 +02:00
bit_mask.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
bounds.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
bounds.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
box_shape.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
box_shape.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
canvas.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
canvas.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
capsule_shape.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
capsule_shape.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
capsule_shape_2d.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
capsule_shape_2d.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
circle_shape_2d.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
circle_shape_2d.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
color_ramp.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
color_ramp.h Fix use of unitialized variables 2017-09-02 01:59:26 +02:00
concave_polygon_shape.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
concave_polygon_shape.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
concave_polygon_shape_2d.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
concave_polygon_shape_2d.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
convex_polygon_shape.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
convex_polygon_shape.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
convex_polygon_shape_2d.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
convex_polygon_shape_2d.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
curve.cpp CurveEditor: fix can't edit right tangent 2017-10-03 03:48:11 +07:00
curve.h Rename pos to position in user facing methods and variables 2017-09-20 13:11:10 +02:00
dynamic_font.cpp Merge pull request #11365 from leezh/freetype_mono 2017-09-21 10:37:21 +02:00
dynamic_font.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
dynamic_font_stb.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
dynamic_font_stb.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
environment.cpp Ability to set a custom FOV makes it possible to use sky on orthogonal view. Closes #9186 2017-09-29 18:56:52 -03:00
environment.h Ability to set a custom FOV makes it possible to use sky on orthogonal view. Closes #9186 2017-09-29 18:56:52 -03:00
font.cpp Rename pos to position in user facing methods and variables 2017-09-20 13:11:10 +02:00
font.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
material.cpp Switched Burley/Lambert, and restored diffuse term to 0-1 range for compatibility. 2017-10-01 19:08:49 -03:00
material.h Switched Burley/Lambert, and restored diffuse term to 0-1 range for compatibility. 2017-10-01 19:08:49 -03:00
mesh.cpp Fix enums bindings 2017-09-13 20:57:07 +03:00
mesh.h Script access to formatted arrays and blend_arrays in meshes. 2017-09-11 06:53:34 +01:00
mesh_data_tool.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
mesh_data_tool.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
mesh_library.cpp MeshLibrary: remove duplicated line 2017-09-05 04:02:24 +07:00
mesh_library.h -Added an optimization so physics shapes are configured later, speeds up grid map loading and editing 2017-09-03 14:54:15 -03:00
multimesh.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
multimesh.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
packed_scene.cpp Fix various assorted warnings 2017-09-08 14:57:48 +02:00
packed_scene.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
plane_shape.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
plane_shape.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
polygon_path_finder.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
polygon_path_finder.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
primitive_meshes.cpp Merge pull request #11057 from hpvb/fix-various-warnings 2017-09-12 11:39:47 +02:00
primitive_meshes.h Script access to formatted arrays and blend_arrays in meshes. 2017-09-11 06:53:34 +01:00
ray_shape.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
ray_shape.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
rectangle_shape_2d.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
rectangle_shape_2d.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
room.cpp Dead code tells no tales 2017-08-27 22:13:45 +02:00
room.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
scene_format_text.cpp Rename pos to position in user facing methods and variables 2017-09-20 13:11:10 +02:00
scene_format_text.h Fix issues regarding reload of resources in imported scenes. Closes #10017 2017-08-31 18:57:44 -03:00
SCsub Move other lone thirdparty files to thirdparty/misc 2017-04-28 21:19:25 +02:00
segment_shape_2d.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
segment_shape_2d.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
shader.cpp Remove junk output 2017-10-13 12:40:19 +07:00
shader.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
shader_graph.cpp Rename pos to position in user facing methods and variables 2017-09-20 13:11:10 +02:00
shader_graph.h Rename pos to position in user facing methods and variables 2017-09-20 13:11:10 +02:00
shape.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
shape.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
shape_2d.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
shape_2d.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
shape_line_2d.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
shape_line_2d.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
sky_box.cpp Renamed function arguments to keep them consistent between declaration and implementation 2017-09-14 13:49:15 -04:00
sky_box.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
space_2d.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
space_2d.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
sphere_shape.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
sphere_shape.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
style_box.cpp [DOCS] Fix a few typos. 2017-10-14 12:45:49 +02:00
style_box.h Renamed function arguments to keep them consistent between declaration and implementation 2017-09-14 13:49:15 -04:00
surface_tool.cpp -Fixes to how collada generates tangents (use SurfaceTool), closes #9562 2017-08-29 08:48:39 -03:00
surface_tool.h -Fixes to how collada generates tangents (use SurfaceTool), closes #9562 2017-08-29 08:48:39 -03:00
texture.cpp Rename pos to position in user facing methods and variables 2017-09-20 13:11:10 +02:00
texture.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
theme.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
theme.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
tile_set.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
tile_set.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
video_stream.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
video_stream.h Rename get_position => get_playback_position and seek_pos => seek on audio classes 2017-09-23 16:55:00 +02:00
world.cpp Dead code tells no tales 2017-08-27 22:13:45 +02:00
world.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
world_2d.cpp Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00
world_2d.h Use HTTPS URL for Godot's website in the headers 2017-08-27 14:16:55 +02:00