summaryrefslogtreecommitdiff
path: root/scene/animation/animation_blend_tree.cpp
AgeCommit message (Collapse)Author
2023-02-01Make restart in NodeStateMachine / NodeTransition optionalSilc Renew
2023-01-31Allow the Reset option of NodeTransition to be set for each InputSilc Renew
2023-01-30Remove the max input limit & cleanup AnimationNodeTransition APISilc Renew
2023-01-21Fix max limit of AnimationNodeTransition input count in the inspectorSilc Renew
2023-01-19Allow AnimationNodes to restart when transitioning to the same stateSilc Renew
2023-01-19Add next/reset function to AnimationStateMachineSilc Renew
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-21Add animation_started/finished signals to AnimationTreeSilc Renew
2022-12-20Fixed a bug where negative Blend values were being discardedSilc 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-16Optimize animation blend tree processSilc Renew
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-15Merge pull request #65196 from TokageItLab/fix-redraw-anim-treeRémi Verschelde
Fix redraw timing in `AnimationBlendTreeEditor`
2022-09-14Fix redraw timing in AnimationBlendTreeEditorSilc Renew
2022-09-02Rename `or_lesser` range property hint to `or_less`Hugo Locurcio
"less" should be used for quantity, rather than "lesser". Existing scripts that use `or_lesser` in `_get_property_list()` will need to be updated to account for this change.
2022-08-31Merge pull request #59919 from ↵Rémi Verschelde
piiertho/enhancement/rename-AnimationNodeTransition-input_count-to_enabled_inputs
2022-08-31enhancement: Rename declared property AnimationNodeTransition::input_count ↵Pierre-Thomas Meisels
to AnimationNodeTransition::enabled_inputs
2022-08-30Rename Curve/Curve2D/Curve3D/Gradient `interpolate()` to `sample()`Hugo Locurcio
"sampling" is a more accurate term than "interpolating" for what's happening when using that function.
2022-08-22Merge pull request #63802 from TokageItLab/curve-transitionRémi Verschelde
2022-08-22Make `_validate_property` a multilevel methodYuri Sizov
2022-08-18added Curve in animation node transition for better control over cros…Silc Renew
Co-authored-by: jeronimo-schreyer <jeronimo.schreyer@gmail.com>
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-16refactor sync in AnimationTreeSilc Renew
2022-06-29fixed Pingpong animation get snaging on the edge in AnimationTreeSilc Renew
2022-06-11Add suffixes to all nodes and resourcesFireForge
2022-05-19Add dedicated macros for property name extractionHaoyu Qiu
* Replace case-by-case extraction with PNAME & GNAME * Fix group handling when group hint begins with property name * Exclude properties that are PROPERTY_USAGE_NO_EDITOR * Extract missing ADD_ARRAY*, ADD_SUBGROUP* macros
2022-05-09Fixed delta & Implement selection of whether or not to seek rootSilc Renew
2022-03-18Fix inversed ADD_GROUP parameters in AnimationNodeOneShotHaoyu Qiu
2022-02-04String: Add contains().Anilforextra
2022-01-27More time parameters change type float to doubleSilc 'Tokage' Renew
2022-01-25Expose AnimationNodeOneShot::mix_mode as a propertyWysocki Patryk
Fixes #23458.
2022-01-03Update copyright statements to 2022Rémi Verschelde
Happy new year to the wonderful Godot community!
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-11-09Merge pull request #53819 from TokageItLab/re-implement-ping-pongRémi Verschelde
Reimplement ping-pong animation and reverse playback
2021-11-03Rename `PROPERTY_USAGE_NOEDITOR` to `PROPERTY_USAGE_NO_EDITOR`Hugo Locurcio
This is consistent with other constants that include `NO`, such as `PROPERTY_HINT_COLOR_NO_ALPHA`.
2021-11-03reimplement ping-pongSilc 'Tokage' Renew
2021-10-11Revert "Implement reverse playback and ping-pong loop in AnimationPlayer and ↵Juan Linietsky
NodeAnimation"
2021-10-09implement ping-pong loop in animationTokage
Co-authored-by: Chaosus <chaosus89@gmail.com>
2021-09-30Use range iterators for `Map`Lightning_A
2021-09-30Fix non-const iterators in const methodsLightning_A
2021-09-21Merge pull request #52605 from TokageItLab/fixed-vtype-in-node-oneshotRémi Verschelde
Fixed value type and applied small change in `AnimationNodeOneShot`
2021-09-13Fixed value type and applied small change in AnimationNodeOneShotSilc 'Tokage' Renew
2021-09-11fixed AnimationNodeTransition when xfade time is zeroSilc 'Tokage' Renew
2021-08-26Fix AnimationBlendTree reset on resource loadingPouleyKetchoupp
When reset_state was called on an existing AnimationBlendTree, the output node would disappear, causing some errors in the editor and preventing animations to play properly. This change ensures the output node is always present in the node tree.
2021-08-09Use doubles for time in animation codeAaron Franke
2021-07-25Use const references where possible for List range iteratorsRémi Verschelde
2021-07-23Use C++ iterators for Lists in many situationsAaron Franke
2021-07-18Optimize StringName usagereduz
* Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor.