Rémi Verschelde
a90660f5e2
Merge pull request #97018 from TokageItLab/add-quart-anim-cap
...
Add missing "Quad" capture TransitionType enum hint
2024-09-16 13:35:51 +02:00
Silc Lizard (Tokage) Renew
8d30ccd067
Add missing "Quad" capture TransitionType enum hint
2024-09-15 06:42:04 +09:00
rune-scape
0dde931bc9
StringName: Fix empty hash
...
+Fixed compat hashes
2024-09-09 13:30:02 -07:00
Rémi Verschelde
493f3edce7
Merge pull request #96572 from adamscott/fix-samples-leak
...
Fix leak when using audio samples instead of streams
2024-09-09 17:51:42 +02:00
Rémi Verschelde
49b725ddcc
Merge pull request #93353 from AThousandShips/config_warning_fix
...
Fix super call in various `get_configuration_warnings` methods
2024-09-08 23:21:09 +02:00
A Thousand Ships
9dc231366d
Fix super call in various `get_configuration_warnings` methods
2024-09-05 16:08:35 +02:00
kobewi
d25e36b015
Fix AnimationLibrary loading
2024-09-05 00:07:23 +02:00
Adam Scott
d3ddce6b88
Fix leak when using audio samples instead of streams
2024-09-04 12:56:03 -04:00
Rémi Verschelde
25fc31638b
Merge pull request #92838 from Nazarwadim/small_animation_optimization
...
Optimize AnimationMixer blend process
2024-09-02 12:12:46 +02:00
Nazarii
660e28f5cb
Use static LocalVector for processed_hashes
2024-08-30 19:41:38 +03:00
nazarii
3580ced21e
Optimize animations
2024-08-30 19:18:56 +03:00
BlackShift
1abd67caac
Fix Tweeners to emit finished() when underlying object is deleted
2024-08-29 14:53:45 -04:00
Rémi Verschelde
491287aafe
Merge pull request #95545 from KoBeWi/finish_tween!
...
Add internal `_finish()` method to Tweener
2024-08-16 14:35:57 +02:00
kobewi
761d988d47
Add internal _finish() method to Tweener
2024-08-15 08:41:51 +02:00
kobewi
065dd099dd
Remove empty bind_methods()
2024-08-15 08:24:32 +02:00
Silc Lizard (Tokage) Renew
8323c3891d
Snap current position to the edge on animation finished
2024-08-01 23:57:47 +09:00
Rémi Verschelde
88d9325065
Merge pull request #94859 from TokageItLab/unstorage-node-time-info
...
Make NodeTimeInfo be not stored in tscn to prevent AnimationTree version control contamination
2024-07-28 17:47:12 +02:00
Silc Lizard (Tokage) Renew
4de79fed45
Determine break_loop_at_end 1 frame earlier using prediction by delta
2024-07-28 15:55:41 +09:00
Silc Lizard (Tokage) Renew
e16808cd69
Make NodeTimeInfo be not stored in tscn
2024-07-28 15:00:50 +09:00
Silc Lizard (Tokage) Renew
7c4bc0a378
Fix processed_hashes type to Animation::TypeHash from int
2024-07-25 16:21:59 +09:00
Silc Lizard (Tokage) Renew
04ac6a74df
Fix total weight calculation to separate track types
2024-07-25 11:23:15 +09:00
Silc Lizard (Tokage) Renew
88e590c9d3
Add approx comparing methods to Animation, use them on time comparison
2024-07-24 01:18:06 +09:00
Rémi Verschelde
307efbadf8
Merge pull request #94420 from TokageItLab/player-seek-internal
...
Handle internal seek on AnimationPlayer to process discrete correctly
2024-07-23 13:08:05 +02:00
Silc Lizard (Tokage) Renew
98dbd869c5
Handle internal seek on AnimationPlayer to process discrete correctly
2024-07-16 14:49:25 +09:00
Silc Lizard (Tokage) Renew
7cdeac94d1
Fix StateMachine process when transition to end & optimize StringName
2024-07-13 17:32:31 +09:00
Jacob Millner
825cb3e6c5
fix the sorting of blend_times in animation player
...
Modify BlendKey's sort to use AlphaCompare in order to create a deterministic sort
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-07-03 10:01:32 -04:00
Silc Lizard (Tokage) Renew
e8c2edefd1
Fix Bezier track init value on caching
2024-07-01 01:20:43 +09:00
Silc Lizard (Tokage) Renew
e82ec1a8ce
Make AnimationTrackCaches invalid when animation is added
2024-06-23 23:33:55 +09:00
Adam Scott
52fa4f05f3
Add samples playback support
2024-06-18 11:06:31 -04:00
Rémi Verschelde
0a543a6085
Merge pull request #92636 from TokageItLab/blend-point-check
...
Add blend point check to `AnimationNodeBlendSpace2D::_process()`
2024-06-17 16:01:52 +02:00
Silc Lizard (Tokage) Renew
049c1a5699
Fix force continuous un-interpolatable value is not applied correctly
2024-06-15 11:38:52 +09:00
Silc Lizard (Tokage) Renew
bea47d877b
Fix seeking Animation immediate after playback for Discrete track
2024-06-08 22:09:37 +09:00
Silc Lizard (Tokage) Renew
eacc122f32
Fix BlendSpace2D sync flagging line
2024-06-04 05:52:39 +09:00
Silc Lizard (Tokage) Renew
8a90c5317b
Add blend point check to AnimationNodeBlendSpace2D::_process()
2024-06-01 19:06:32 +09:00
kobewi
a345160ab3
Fix wrong usage of parameters_base_path StringName
2024-05-30 12:03:43 +02:00
Silc Lizard (Tokage) Renew
3fde32a67e
Fix Deterministic blending with Dominant doesn't have init value
2024-05-21 05:23:53 +09:00
kobewi
413c11357d
Use Core/Scene stringnames consistently
2024-05-13 23:41:07 +02:00
Rémi Verschelde
ba533f5375
Merge pull request #81303 from KoBeWi/the_forbidden_name_of_strings
...
Add shorthand for using singleton string names
2024-05-13 12:05:17 +02:00
kobewi
a262d2d881
Add shorthand for using singleton string names
2024-05-11 18:53:08 +02:00
Silc Lizard (Tokage) Renew
d654acbd39
Invert start offset on AnimationNode custom timeline
2024-05-11 15:47:21 +09:00
Rémi Verschelde
4b070e8031
Fix various typos with codespell
...
Using 2.2.7.dev217+g10c2abcf.
Had to add `colour` to the ignore list as we used it as an alias/keyword for the
documentation of color-related APIs.
Also ignore recommendations to change `thirdparty` to either `third-party` or
`third party`, which are correct but we use the former fairly consistently.
2024-05-07 10:08:42 +02:00
A Thousand Ships
955d5affa8
Reduce and prevent unnecessary random-access to `List`
...
Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when
accessing a single element)
* Removed subscript operator, in favor of a more explicit `get`
* Added conversion from `Iterator` to `ConstIterator`
* Remade existing operations into other solutions when applicable
2024-05-04 16:08:55 +02:00
Silc Lizard (Tokage) Renew
6fd8b25d38
Add argument options to AnimationPlayer for auto capture
2024-05-03 07:06:37 +09:00
Silc Lizard (Tokage) Renew
36abb55dd2
Add auto_capture option to AnimationPlayer
2024-05-02 19:57:36 +09:00
Rémi Verschelde
f89de7ab43
Merge pull request #90960 from TokageItLab/fix-animation-playback-track-seek
...
Make seeking animation playback track consider internal seeking
2024-05-01 09:55:00 +02:00
Silc Lizard (Tokage) Renew
b346e2a722
Make seeking animation playback track consider internal seeking
2024-05-01 06:39:17 +09:00
Silc Lizard (Tokage) Renew
470c2f24e9
Make activating on ready in AnimationPlayer respect the property value
2024-04-27 13:06:10 +09:00
Silc Lizard (Tokage) Renew
9855ffd2e4
Separate value/bezier track caching process in AnimationMixer
2024-04-10 01:37:23 +09:00
Silc Lizard (Tokage) Renew
21082a6834
Make AnimationMixer consider Discrete for RESET track
2024-04-06 05:37:45 +09:00
Silc Lizard (Tokage) Renew
04dd299cba
Skeleton3D: Add SkeletonModifier / Deprecate Override / Separate PB
2024-04-05 01:28:26 +09:00
Hendrik Brucker
a81561cbd9
Add GraphFrame and integrate it in VisualShader
2024-04-04 15:11:00 +02:00
Rémi Verschelde
f69fab5bfd
Merge pull request #89575 from TokageItLab/move-loop-check-state
...
Move the line of infinity loop checking in AnimationStateMachine
2024-04-04 14:31:28 +02:00
Rémi Verschelde
f79896fd06
Merge pull request #89794 from TokageItLab/animationplayback-seek
...
Fix AnimationPlaybackTrack seeking behavior overall
2024-03-24 01:23:31 +01:00
Rémi Verschelde
f8bae10be6
Merge pull request #87171 from TokageItLab/retrieve-time-info-from-anim-tree
...
Rework AnimationNode process for retrieving the semantic time info
2024-03-24 01:12:42 +01:00
Rémi Verschelde
20d423258c
Merge pull request #86888 from Mickeon/autocompletion-AnimationNode
...
Add autocompletion to AnimationNode
2024-03-24 01:12:16 +01:00
Silc Lizard (Tokage) Renew
c1741fe98e
Fix AnimationPlaybackTrack seeking behavior overall
...
Co-authored-by: jsjtxietian <jsjtxietian@outlook.com>
Co-authored-by: Miguel0312 <miguel.vpereira14@gmail.com>
Co-authored-by: BruceLiCong <citb_li@163.com>
2024-03-23 18:48:29 +09:00
Silc Lizard (Tokage) Renew
6dd410854c
Rework AnimationNode process for retrieving the semantic time info
2024-03-20 22:52:26 +09:00
Silc Lizard (Tokage) Renew
b8d555c74b
Move the line of infinity loop checking in AnimationStateMachine
2024-03-17 00:51:36 +09:00
Aaron Franke
6aac3e4a16
Disable all 3D nodes, physics, and resources when compiling without 3D
2024-03-11 01:00:55 -07:00
Silc Lizard (Tokage) Renew
9ae3f79ecb
Fix wrong line of making flag to discrete in AnimationMixer
2024-03-10 04:33:37 +09:00
Micky
3c371b989f
Add autocompletion to AnimationNode
2024-03-01 17:07:02 +01:00
Rémi Verschelde
c1377920cd
Merge pull request #86743 from Mickeon/autocompletion-optimise-object
...
Optimise comparisons for Object's `get_argument_options`
2024-03-01 14:56:06 +01:00
Micky
cd2032a90b
Optimise Object's `get_argument_options`
2024-02-29 18:00:54 +01:00
A Thousand Ships
92814bafb7
[Animation] Improvements to `Tween` memory management
...
Using `ObjectID` instead of manually breaking reference cycles.
2024-02-26 18:58:03 +01:00
Rémi Verschelde
3ce9ae71fc
Merge pull request #84906 from /fix-some-defvals
2024-02-23 11:29:22 +01:00
Raul Santos
5ba92e5a57
Fix some DEFVALs to use the right type
...
- Use `StringName()` in DEFVAL for StringNames.
- Use `Variant()` in DEFVAL for Variants.
2024-02-23 01:50:18 +01:00
Rémi Verschelde
9c626b6236
Merge pull request #88661 from TokageItLab/fix-dominant-conv
...
Force non-numeric ValueTrack to use Discrete with Dominant
2024-02-22 14:39:21 +01:00
Silc Lizard (Tokage) Renew
8423574a24
Force non-numeric ValueTrack use Discrete with Dominant
2024-02-22 21:43:35 +09:00
Rémi Verschelde
efa4d0aabf
Merge pull request #86321 from jsjtxietian/fix-blendnode-crash
...
Fix `blend_node` crash with invalid AnimationNode reference
2024-02-22 11:22:56 +01:00
jsjtxietian
65c8af53a1
Fix blend_node crash with invalid p_node
2024-02-22 12:56:21 +08:00
Travis Lange
ae97cf2ff0
Fix AnimationMixer breaking animations with redundant check
...
Also change `Node::get_node_and_resource` to prevent it from printing an
error from `Node::get_node`, and just returns nullptr. This is what the
redundant check was trying to prevent.
Fixes #88428 .
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-02-19 16:50:19 +01:00
Silc Lizard (Tokage) Renew
772a753960
Fix some animation state corruptions on activate and reset on save
2024-02-19 13:04:22 +09:00
Rémi Verschelde
da26ef2d3e
Merge pull request #88492 from TokageItLab/dominant-anim
...
Make `ANIMATION_CALLBACK_MODE_DISCRETE_DOMINANT` be default for AnimationPlayer
2024-02-19 01:25:10 +01:00
Silc Lizard (Tokage) Renew
3d6d5a6a36
Make CallbackModeDiscrete.Dominant be default for AnimationPlayer
2024-02-18 20:02:20 +09:00
Silc Lizard (Tokage) Renew
c9fc29ae86
Fix some condition for BezierTrack to distinguish between ValueTrack
2024-02-18 19:42:46 +09:00
Rémi Verschelde
21f0529aa9
Revert "Update Node::get_configuration_warnings signature"
...
This reverts commit d3852deaa4 .
2024-02-17 19:03:21 +01:00
Silc Lizard (Tokage) Renew
4659090543
Make consistent the retrieval of audio tracks
2024-02-18 00:15:33 +09:00
Silc Lizard (Tokage) Renew
bc20fdf16f
Add CallbackModeDiscrete to AnimationMixer
2024-02-17 18:25:56 +09:00
Rémi Verschelde
b6ef996eb7
Merge pull request #86608 from TokageItLab/add-warn-setting-anim
...
Add some options to Project Settings to silence warnings in AnimationMixer caching
2024-02-17 00:22:52 +01:00
Rémi Verschelde
e45cc1781b
Merge pull request #82306 from KoBeWi/tween_literally_anything
...
Add `set_custom_interpolator()` to PropertyTweener
2024-02-17 00:22:45 +01:00
Silc Lizard (Tokage) Renew
dc4b7bc364
Add option to silence some warnings in AnimationMixer caching
2024-02-14 14:48:02 +09:00
kobewi
154b4a51f2
Improve AnimationMixer warnings
2024-02-12 16:24:23 +01:00
Rémi Verschelde
2853b579a6
Merge pull request #86884 from Mickeon/autocompletion-AnimationNodeStateMachine
...
Add Autocompletion for AnimationNodeStateMachine & AnimationNodeBlendTree
2024-02-12 13:33:44 +01:00
Silc Lizard (Tokage) Renew
85d66cb4e8
Add capture() and play_with_capture() as substitute of update capture
2024-02-12 17:02:05 +09:00
Rémi Verschelde
4966b22fc5
Merge pull request #88110 from RedMser/fix-compat-bindings
...
Fix wrongly named compat binding
2024-02-09 12:36:16 +01:00
RedMser
d3852deaa4
Update Node::get_configuration_warnings signature
2024-02-08 23:05:20 +01:00
RedMser
1715f96434
Fix wrongly named compat binding
2024-02-08 20:05:05 +01:00
A Thousand Ships
15369fdb1d
Remove unnecessary `this->` expressions
2024-01-29 09:59:18 +01:00
Rémi Verschelde
2a861ab5a2
Merge pull request #87459 from jsjtxietian/tween-from
...
Fix passing int to tween's `from` with float property will be forced to interpolate as int
2024-01-26 11:45:25 +01:00
Yuri Sizov
0eb11e52ea
Merge pull request #86221 from TokageItLab/fix-blend-left
...
Make default `blend_left` consider current blend amount
2024-01-22 20:38:42 +01:00
jsjtxietian
3c596094ab
Fix pass int to tween's from with float property will be forced to interpolate as int
2024-01-22 10:47:52 +08:00
kobewi
0e8f90f4c8
Update deferred calls to use Callables
2024-01-09 16:11:47 +01:00
Silc Lizard (Tokage) Renew
f8da9460c1
Make default blend_left consider current blend amount
2024-01-09 05:07:27 +09:00
Silc Lizard (Tokage) Renew
a51958a2a0
Remove Object pointer/solve types conflict in AnimationTrackCache
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-01-08 21:48:19 +09:00
Rémi Verschelde
6226388bac
Merge pull request #86874 from AThousandShips/no_3d_fix
...
Fix some build errors with `disable_3d=yes`
2024-01-08 11:59:31 +01:00
A Thousand Ships
c6a1ae7875
Fix some build errors with `disable_3d=Yes`
...
* Some tests were incorrectly included
* SCU builds with animation
* Animation `switch`
2024-01-07 00:44:33 +01:00
Micky
e5c1da1c61
Add Autocompletion for AnimationNodeStateMachine & BlendTree
2024-01-06 17:03:46 +01:00
Muller-Castro
96a95cb974
Add const lvalue ref to container parameters
2024-01-05 14:49:57 -03:00
Micky
787f61d70b
Add autocompletion for AnimationLibrary's & AnimationMixer
2024-01-04 21:11:36 +01:00
Rémi Verschelde
4acfe4aa3c
Merge pull request #86729 from Mickeon/autocompletion-for-all
...
Fix missing autocompletion for inheriting classes
2024-01-03 10:14:37 +01:00