Silc Lizard (Tokage) Renew
faf17a3ae1
Cherry-pick animation fix for 4.2
2024-07-05 00:24:42 +09:00
Rémi Verschelde
7aacb098f0
Add forward compat parsing of PackedVector4Array
...
This new Variant type is being added in 4.3, and breaks compatibility with
earlier releases. By adding minimal parsing support (converting to plain Array)
we can at least open the scenes, and minimize the data loss when going back and
forth between minor versions.
2024-05-03 00:20:12 +02:00
Haoyu Qiu
4ade4ab92a
Add support for reading text resource format 4
...
Co-Authored-By: Gilles Roudiere <gilles.roudiere@gmail.com>
2024-04-30 09:02:19 +08:00
Markus Sauermann
79727d4833
Prohibit execution of delayed input events by different means
...
In some cases it can happen, that the order of input events and
window events is not followed, when input buffering or input accumulation
is active.
The display server order `InputEvent` => window-event gets changed to
window-event => `InputEvent` which becomes problematic in certain
situations.
This PR makes sure, that the order is adhered to by flushing input events
before a window event is sent.
Previously this problem was mitigated by discarding these delayed events.
But this solution was problematic in the setting of android input events.
(cherry picked from commit 945babc619
)
2024-04-29 10:23:25 +02:00
Ricardo Buring
32262931ca
Fix move_and_slide wall slide acceleration (3D)
...
When travel is high enough, keep the global position resulting from the
move_and_collide call, and set the motion to the remainder from the
move_and_collide call. This ensures travel is taken into account once,
rather than twice.
(cherry picked from commit 80c600d86b
)
2024-04-25 13:18:10 +02:00
Fabio Alessandrelli
5958c8fa22
[MP] Fix dead code doing unnecessary allocation
...
Probably a leftover from some old refactor.
(cherry picked from commit e64aa4d25f
)
2024-04-08 15:48:31 +02:00
Hugo Locurcio
96303ab81e
Allow Decal Emission Energy values above 128 in the inspector
...
This also sets the maximum value for the slider to 16 to match
BaseMaterial3D (higher values can be entered or dragged manually).
(cherry picked from commit ae12244e13
)
2024-04-08 15:48:30 +02:00
Silc Lizard (Tokage) Renew
3e968fd8ae
Move the line of infinity loop checking in AnimationStateMachine
...
(cherry picked from commit b8d555c74b
)
2024-04-08 15:48:30 +02:00
Silc Lizard (Tokage) Renew
5e7607a6d6
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>
(cherry picked from commit c1741fe98e
)
2024-04-08 15:48:30 +02:00
Alistair Leslie-Hughes
96cbb7ab65
Correct FileDialog Theme overrides
...
Introduced in 15fd025f90
Fixes #89818
(cherry picked from commit 13d83dd4d7
)
2024-04-08 15:48:29 +02:00
A Thousand Ships
c6ae98ab60
[TileMap] Fix forcing cleanup on exiting tree/canvas
2024-03-28 13:26:55 +01:00
clayjohn
fa1b68094e
Improve warning when XR shaders are not enabled
...
(cherry picked from commit d8f2768b90
)
2024-03-12 21:15:06 +01:00
Mounir Tohami
b4be0634d4
Fix `TabBar` size when theme changes
...
(cherry picked from commit fdba051a40
)
2024-03-11 23:28:02 +01:00
Mounir Tohami
f90d6dffed
Fix `Slider`'s drag mouse position when grabber is centered
...
(cherry picked from commit e6a42e3fc5
)
2024-03-11 23:27:20 +01:00
ACB
fb63404aad
Only recurse depth wise in `Tree::_count_selected_items`
...
(cherry picked from commit 43038bbfcb
)
2024-03-11 23:26:48 +01:00
Mikael Hermansson
696e9e04d9
Fix crash when selecting re-added `Tree` item
...
(cherry picked from commit f7c1c83daa
)
2024-03-11 23:24:40 +01:00
Rémi Verschelde
e771e2e379
Don't access Node3D/Node2D/Control global transform in `reparent` unless needed
...
Fixes #89002 .
Co-authored-by: Tamás Gálffy <ezittgtx@gmail.com>
(cherry picked from commit 810a0dbff1
)
2024-03-11 23:24:22 +01:00
bruvzg
147b99ae2a
[RTL] Fix meta hover area detection.
...
(cherry picked from commit 42e6cda14e
)
2024-03-11 23:23:39 +01:00
jsjtxietian
c71cda870b
Fix pass int to tween's from with float property will be forced to interpolate as int
...
(cherry picked from commit 3c596094ab
)
2024-03-11 23:22:06 +01:00
Mateus Reis
e4181c6d48
Fix double text_changed signal when overwriting selection in LineEdit
...
The part of gui_input that handles unicode wasn't checking
text_changed_dirty before emitting the signal, unlike the rest of the text editing functions.
Fixes #86451
(cherry picked from commit cab48493d8
)
2024-03-11 23:20:48 +01:00
Emmanouil Papadeas
d216ac7a2c
Fix `MenuBar` hover position scaling properly with the scale factor multiplier
...
(cherry picked from commit e864b26e54
)
2024-03-11 23:20:32 +01:00
kleonc
903dfb91a7
Fix animated tile random start time not scaled to animation duration
...
(cherry picked from commit 7dfd0c45e9
)
2024-03-11 23:07:35 +01:00
Thaddeus Crews
93fcd9ce41
Replace `GDVIRTUAL_CALL` with `GDVIRTUAL_REQUIRED_CALL` where applicable
...
(cherry picked from commit 83ef789745
)
2024-03-11 23:07:04 +01:00
Ricardo Subtil
7fd058a7fa
Ensure slider grabs focus only when it can
...
(cherry picked from commit fde51aeb28
)
2024-03-11 22:50:07 +01:00
风青山
261129496c
Fix duplicating sub-scene may get two copies of internal node
...
Previously, internal node might be mistaken for `hidden_root` and be duplicated again.
Exclude those internal nodes to avoid this case, unless the owner is set intentionally.
(cherry picked from commit f19c419126
)
2024-03-11 22:34:53 +01:00
Nikolai Davydov
18d497d744
Fix virtual calls for GDExtension in `CollisionObject2D` for _mouse_enter, _mouse_exit, _mouse_shape_enter, _mouse_shape_exit
...
(cherry picked from commit 0517000e6f
)
2024-03-11 18:10:06 +01:00
David Snopek
17b1fd94af
Fix overriding `CollisionObject3D::_mouse_enter()` and `_mouse_exit()` from GDExtension
...
(cherry picked from commit bfdcd8559b
)
2024-03-11 18:10:01 +01:00
jsjtxietian
4e3cd10173
Support immediately update ui after resizing placeholder* texture
...
(cherry picked from commit e896fbb638
)
2024-03-11 18:07:44 +01:00
jsjtxietian
8d069c3f5c
Fix wrong fail contion in compressed texture and some clean up
...
(cherry picked from commit 6a3b63eb36
)
2024-03-11 18:01:31 +01:00
LimestaX
1a8649fc3e
Ensure special characters are escaped in tscn connections and editable hint
...
(cherry picked from commit 0a32c160ac
)
2024-03-11 17:58:20 +01:00
Mikael Hermansson
afa50c4d2b
Fix `SoftBody3D` for double-precision builds
...
(cherry picked from commit 701ecd3a0d
)
2024-03-11 17:28:54 +01:00
jsjtxietian
7c162351c9
Check is the ref shader valid in visual shader's update_option_menu
...
(cherry picked from commit ff089f8cea
)
2024-03-11 16:36:30 +01:00
jsjtxietian
cc38139799
Fix visual shader's screen_uv input preview uses position of node
...
rather than a sample area like uv
(cherry picked from commit d920bdeda5
)
2024-03-11 16:10:14 +01:00
David Snopek
e46cba13ed
Remove GI methods in parentheses from light baking options
...
(cherry picked from commit ce488930ea
)
2024-03-11 15:00:44 +01:00
clayjohn
2ec1d8043c
Store ArrayMesh path in RenderingServer for use in error messages
...
(cherry picked from commit ead36fdcc4
)
2024-03-11 15:00:43 +01:00
Danni
138b3ded67
Ensure Camera2D scroll is updated on transform like 3.x
...
(cherry picked from commit 734166f796
)
2024-03-11 15:00:43 +01:00
David Zang
d19d2ca307
Fix property hints for parsed collision mask
...
In NavigationPolygon use PROPERTY_HINT_LAYERS_2D_PHYSICS instead of PROPERTY_HINT_LAYERS_3D_PHYSICS to display the correct property hints.
Fixes #88154 .
(cherry picked from commit 0831ea0c52
)
2024-03-11 15:00:43 +01:00
clayjohn
6ba9c6bf6d
Avoid singularity when generated tangents and validate that tangents are good enough when using compression
...
(cherry picked from commit 781cd27fe4
)
2024-03-11 15:00:43 +01:00
clayjohn
a61a84ff09
Properly calculate binormal when creating SurfaceTool from arrays
...
(cherry picked from commit f267b2aa87
)
2024-03-11 15:00:43 +01:00
Markus Sauermann
17e50c629c
Fix owner when importing meshes
...
Handle the case correctly, that a child of a replaced node has
as owner an ancestor of the replaced node.
(cherry picked from commit c58607c32f
)
2024-03-11 15:00:43 +01:00
kobewi
3d4c2fa7da
Fix inefficient list iteration in Node
...
(cherry picked from commit 75ba837612
)
2024-03-11 15:00:43 +01:00
Markus Sauermann
b254088b7a
Fix global position for `InputEventMouse` in `viewport::push_input`
...
Global position doesn't get adjusted within `InputEventMouse::xformed_by()`.
(cherry picked from commit 8de39911c8
)
2024-03-11 15:00:43 +01:00
Rémi Verschelde
2fdeeead5b
Merge pull request #88916 from AThousandShips/tile_thread_fix_4_2
...
[4.2] Prevent threading problems in `TileMap`
2024-02-28 13:35:59 +01:00
A Thousand Ships
c17688fa6c
Fix running tests in template builds
...
Also fixes some errors with 3D disabled
2024-02-27 16:03:18 +01:00
A Thousand Ships
36e611fa83
Prevent threading problems in `TileMap`
2024-02-27 16:02:54 +01:00
A Thousand Ships
881d253897
Fix some build errors with `disable_3d=Yes`
...
* Some tests were incorrectly included
* SCU builds with animation
* Animation `switch`
(cherry picked from commit c6a1ae7875
)
2024-01-25 18:55:00 +01:00
Micky
a92a2015f0
Fix missing autocompletion for inheriting classes
...
(cherry picked from commit ca2f340384
)
2024-01-25 18:45:01 +01:00
Micky
873a77d8e9
Add autocompletion options for AnimatedSprite's other play methods
...
(cherry picked from commit d5a7c7818c
)
2024-01-25 18:45:01 +01:00
Mika Viskari
c2d38b4388
Fix invalid frame index when Sprite2D's hframes or vframes has been changed
...
(cherry picked from commit 484c5b5aff
)
2024-01-25 18:32:37 +01:00
Emily
5573f37ff3
Change suffix from m to px
...
(cherry picked from commit b7d5f3e984
)
2024-01-25 18:32:36 +01:00