Commit Graph

933 Commits

Author SHA1 Message Date
HolonProduction
a389eb4608 Add back AnimationPlayer.get_argument_options 2024-11-15 13:06:59 +01:00
Thaddeus Crews
07d7d9bca5
Merge pull request #94372 from TokageItLab/advance-on-start
Add `advance_on_start` option to `NodeAnimation` to handle `advance(0)` for each `NodeAnimation`
2024-11-13 08:33:57 -06:00
Thaddeus Crews
370c692bcb
Merge pull request #98706 from Nazarwadim/fix_capture_cache_was_not_cached
Fix `capture_cache.animation` was not cached
2024-11-13 08:33:54 -06:00
Silc Lizard (Tokage) Renew
0c1f970adb Add advance_on_start option to NodeAnimation 2024-11-12 04:40:15 +09:00
Nazarii
d1dc7afdd5 Fix capture_cache.animation was not cached 2024-10-31 19:26:02 +02:00
Thaddeus Crews
598cfbdfd6
Merge pull request #97020 from GuilhermeGSousa/fix-non-const-anim-node-process
Fix non const animation node `_process` virtual function
2024-10-29 19:26:00 -05:00
Guilherme Sousa
ec62978dd0 Fix non const animation node process function 2024-10-26 17:56:51 +02:00
nazarii
76208f7155 Implement array based hash map 2024-10-24 21:34:12 +03:00
Ainsley Su
baf0fb7e26 Fix error when stopping empty animation player.
Check if animation exists before get section start time.

Signed-off-by: Ainsley Su <vhtmscyo@gmail.com>
2024-10-03 11:04:27 +02:00
chocola-mint
ed13a840fa Add markers to animation 2024-09-29 17:27:36 +09:00
Thaddeus Crews
9f9ee0c813
SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
Haoyu Qiu
f169616cc6 Update AnimationTree parameter list when updating AnimationNodeTransition input names 2024-09-20 16:21:03 +08:00
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