summaryrefslogtreecommitdiff
path: root/scene/animation/animation_player.cpp
AgeCommit message (Collapse)Author
2023-02-10Add some missing translatable editor stringsHaoyu Qiu
2023-02-07Some code simplificationsMarkus Sauermann
1. `number_width` isn't used later 2. `return_type` is used only once 3. AudioServer::get_singleton()->get_channel_count() always returns a channel_count of 1 or larger 4. negative `aa->backward` conditional 5. `current_canvas` == `find_world_2d()->get_canvas()` 6. identical if `render_shadows`
2023-02-05Fixed animation audio to play considering time when seekingSilc Renew
2023-01-30Allow seek() without assigned animation in AnimationPlayerSilc Renew
2023-01-28Implement blending audio feature to AnimationTreeSilc Renew
2023-01-27Merge pull request #71907 from TokageItLab/change-animated-sprite-apiRémi Verschelde
Make `AnimatedSprite`'s playback API consistent with `AnimationPlayer`
2023-01-26Make AnimTree/Player processes adopt to GDVIRTUALSilc Renew
2023-01-26Fix spamming audio preview and cleanup process in AnimationPlayer/TreeSilc Renew
2023-01-26Make AnimatedSprite's playback API consistent with AnimationPlayerSilc Renew
2023-01-21Use range iterators in LocalVector loopskobewi
2023-01-19Add p_keep_state to AnimationPlayer::stop()Silc Renew
2023-01-16Add EditorUndoRedoManager singletonkobewi
2023-01-13Reset animation on playback stopTomasz Chabora
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