summaryrefslogtreecommitdiff
path: root/scene/animation/animation_player.cpp
AgeCommit message (Collapse)Author
2023-01-11Split pause() from AnimationPlayer's stop()kobewi
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2022-12-23Merge pull request #69797 from TokageItLab/time-edit-inspector-pluginRémi Verschelde
Animation: Add inspector plugin for key time edit & Change `track_find_key()` argument to find key with approximate
2022-12-22Add inspector plugin for key time edit & Change find key argumentSilc Renew
2022-12-21Fix animation blending bug where an animation with a short blend time played ↵jitspoe
immediately after an animation with a long blend time would play with a long blend time or cause popping/incorrect animation positions.
2022-12-12Fix seeking process order to retrieve key correctly for AnimationTrackSilc Renew
2022-12-10Fix unmerged history in AnimationTrackEditorSilc Renew
2022-12-07Change init for cache_update_size & add pointer animation playerSilc Renew
2022-12-07Fix AnimationPlayer method track call oneself with IMMEDIATE modeSilc Renew
2022-12-05Fix animation play backward doesn't process current key&animtrack seekSilc Renew
2022-12-02Remove UPDATE_TRIGGER & Match behaviors between AnimationTree/PlayerSilc Renew
#69357
2022-12-02Merge pull request #61958 from jtnicholl/animation_connectionsRémi Verschelde
Add `animation_changed` signal to `AnimationLibrary`, have `AnimationPlayer` connect to it instead of `Animation`'s `changed`
2022-12-02Merge pull request #69336 from TokageItLab/get-anim-keys-more-exactlyRémi Verschelde
Refactor process of animation to retrive keys more exactly
2022-12-02Fix animation signal caches_cleared firing timingSilc Renew
2022-12-01Refactor process of animation to retrive keys more exactlySilc Renew
2022-11-22Refactor process of AnimationTree for end of animationSilc Renew
2022-11-21Add animation_changed signal to AnimationLibraryJonathan Nicholl
AnimationLibrary now listens for the animation_changed signal on its animations and emits this new signal, with the animation name added on. AnimationPlayer now connects to this signal rather than connecting to each individual animation, which was poor practice due to bypassing encapsulation.
2022-11-20Fix connection of animation changed signal in AnimationTrackEditorSilc Renew
2022-10-24Rename queue_delete => queue_freeMarc Gilleron
# Conflicts: # editor/plugins/tiles/tiles_editor_plugin.cpp
2022-10-10Connect signal animation_removed to its proper methodJuan Velandia
2022-10-10Merge pull request #65942 from SaracenOne/animation_change_callback_fixRémi Verschelde
Fix animation change callbacks
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-09-26Change time parameters and variables to double typeDave Palais
Addresses #65313
2022-09-16Fix animation change callbacksSaracenOne
2022-09-16Merge pull request #65325 from TokageItLab/refactor-variant-for-animRémi Verschelde
Move some static methods to `Animation` from `Variant` for refactoring `Animation` and `Tween`
2022-09-15Merge pull request #65196 from TokageItLab/fix-redraw-anim-treeRémi Verschelde
Fix redraw timing in `AnimationBlendTreeEditor`
2022-09-15Move some methods to Animation from Variant for refactoringSilc Renew
2022-09-14Fix redraw timing in AnimationBlendTreeEditorSilc Renew
2022-09-06Rename CONNECT_ONESHOT TO CONNECT_ONE_SHOTMicky
For consistency. Every other exposed `one_shot` is spaced out like this.
2022-08-29Improve documentation for `get_animation()`Haoyu Qiu
2022-08-26Rename `str2var` to `str_to_var` and similarMicky
Affects the Math class, a good chunk of the audio code, and a lot of other miscellaneous classes, too. - `var2str` -> `var_to_str` - `str2var` -> `str_to_var` - `bytes2var` -> `bytes_to_var` - `bytes2var_with_objects` -> `bytes_to_var_with_objects` - `var2bytes` -> `var_to_bytes` - `var2bytes_with_objects` -> `var_to_bytes_with_objects` - `linear2db` -> `linear_to_db` - `db2linear` -> `db_to_linear` - `deg2rad` -> `deg_to_rad` - `rad2deg` -> `rad_to_deg` - `dict2inst` -> `dict_to_inst` - `inst2dict` -> `inst_to_dict`
2022-08-22Merge pull request #59564 from KoBeWi/FINALLY,_ULTIMATE_UNDO_REDORémi Verschelde
2022-08-22Merge pull request #64339 from YuriSizov/core-multilevel-validate-propertyRémi Verschelde
2022-08-22Add per-scene UndoRedokobewi
2022-08-22Make `_validate_property` a multilevel methodYuri Sizov
2022-08-20Clean up mesh include code and commentsAaron Franke
2022-08-08Add tests for empty/unnamed arguments to ClassDB, Variant, GDScriptYuri Sizov
2022-07-29Remove Signal connect bindsJuan Linietsky
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
2022-07-27Add a Movie Quit On Finish property to AnimationPlayerHugo Locurcio
This quits the project when an animation is done playing in the given AnimationPlayer, but only in Movie Maker mode. When this happens, a message is printed with the absolute path of the AnimationPlayer node that caused the engine to quit. This can be used to create videos that stop at a specified time without having to write any script. A report is now also printed to the console when the video is done recording (as long as the engine was exited properly). This report is unfortunately not always visible in the editor's Output panel, as it's printed too late. A method was also added to get the path to the output file from the scripting API.
2022-07-26add position track normalization & post process key value for retargetSilc Renew
2022-07-26Fix initial value of TRS3DTrack cache in AnimationPlayerSilc Renew
2022-06-29Fix animation player crashing when caching disabled tracksMinusKube
2022-06-23Merge pull request #62337 from reduz/respect-disabled-animation-tracksRémi Verschelde
Respect disabled animation tracks
2022-06-23Respect disabled animation tracksreduz
Fixes #25537, supersedes #60509
2022-06-23Fix animation reset on savereduz
Old (prototype) name was left in code Supersedes #60565
2022-06-19Remove argument option for the `remove_animation` that no longer existsHaoyu Qiu
2022-06-11Add suffixes to all nodes and resourcesFireForge
2022-05-24Remove configuration warning from AnimationPlayerSnailRhymer
Remove warning about animations in different libraries having the same name, since shared names are fine. Also fix missing vformat argument when setting the name of an animation to one that does conflict with an animation in the same library.
2022-05-24Merge pull request #61106 from snailrhymer/animation-library-fixesRémi Verschelde
Fix errors and improve UX relating to new animation libraries
2022-05-19Use range iterators for RBSet in most casesAaron Record