Commit Graph

59705 Commits

Author SHA1 Message Date
Rémi Verschelde c57002e0b4
Merge pull request #89638 from CookieBadger/bezier-ctrl-click-add-key-fix
[4.2] Fix Bezier Editor throwing error when adding key with CTRL+click
2024-03-23 16:40:43 -07:00
emild 987a7c681d fix bezier editor throws error on ctrl click 2024-03-18 12:32:05 +01:00
Rémi Verschelde c61a68614e
Merge pull request #89339 from akien-mga/4.2-cherrypicks
Cherry-picks for the 4.2 branch (future 4.2.2) - 3rd batch
2024-03-12 22:44:16 +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
Fredia Huya-Kouadio 6980cb0f0f
Update Android dependencies for the project
- Update Android gradle plugin version from 7.2.1 to 8.2.0
- Update gradle version from 7.4.2 to 8.2
- Update target SDK from 33 to 34
- Update build tools version from 33.0.2 to 34.0.0
- Update kotlin version from 1.7.0 to 1.9.20
- Update Android fragment version from 1.3.6 to 1.6.2
- Update AndroidX window version from 1.0.0 to 1.2.0

(cherry picked from commit e04a38775b)
2024-03-12 21:14:11 +01:00
Zae 1b90b9ad05
C#: Fix issues for StringName reference in `CSharpInstanceBridge.Get`.
(cherry picked from commit 1e14503715)
2024-03-12 17:02:19 +01:00
Hugo Locurcio 562613ac37
Make Overdraw, Lighting and Shadow Splits debug draw modes ignore decals
This also makes the Overdraw and Shadow Splits debug draw modes ignore fog.
The Lighting debug draw mode still displays fog as that debug draw mode
is intended to preview scene lighting, and fog has an impact on how
lighting is perceived.

(cherry picked from commit 26a220bd31)
2024-03-12 00:38:27 +01:00
Dominic Austria 51d7ffde6d
implement overdraw, lighting, and unshaded debug draw modes for opengl
(cherry picked from commit c8bdd1d774)
2024-03-12 00:38:27 +01:00
bitsawer 4495fbd758
Fix Volumetric Fog VoxelGI updates
(cherry picked from commit 89d772a799)
2024-03-12 00:38:27 +01:00
Micky 194efad738
Overhaul Basis' documentation
Co-Authored-By: Aaron Franke <arnfranke@yahoo.com>
(cherry picked from commit 58ddd84108)
2024-03-12 00:38:27 +01:00
Micky bbe1b0c58d
Overhaul Quaternion documentation
(cherry picked from commit 38cd13c51a)
2024-03-12 00:38:26 +01:00
Max Hilbrunner 61f4d6252b
Fix removing connected peer during disconnection
(cherry picked from commit bd8380db55)
2024-03-11 23:29:11 +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
A Thousand Ships 4e5b545c04
[GDScript] Prevent running `String` number functions on invalid literal
Prevents printing excessive errors.

(cherry picked from commit 66d55e62f0)
2024-03-11 23:26:36 +01:00
Mikhail Tishin d02b38d411
Add null check for gdextension deinitialization
(cherry picked from commit dc4c6cfb9b)
2024-03-11 23:26:08 +01:00
Aaron Franke 16d154e8fd
Fix GLTF exporting invalid meshes and attempting to export gizmo meshes
(cherry picked from commit 2d38c980ee)
2024-03-11 23:25:27 +01:00
Aaron Franke 7513a79555
Fix crash when importing a GLTF file with a skeleton as the root
(cherry picked from commit 4c8d69f264)
2024-03-11 23:25:13 +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
Per Melin 7204d66b28
Initialize particle trail history frame numbers
Fixes #88712

All particle trail sections were activated at once on the first cycle, instead
of being spread out over the trail's lifetime.

(cherry picked from commit 9b2d77a238)
2024-03-11 23:24:06 +01:00
bruvzg 147b99ae2a
[RTL] Fix meta hover area detection.
(cherry picked from commit 42e6cda14e)
2024-03-11 23:23:39 +01:00
EterDelta b3fa724e9d
Expose NOTIFICATION_EXTENSION_RELOADED to ClassDB
(cherry picked from commit fee70558f8)
2024-03-11 23:22:11 +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
Fabio Alessandrelli 0b03a281e1
[MP] Fix remote net ID cleanup
Synchronizers for spawned nodes were not correctly keeping track of the
net ID assigned by the remote, preventing the replication from
performing the proper cleanup.

This resulted in errors being thrown when sync messages were received
after despawn (which is possible due to their unreliable nature).

(cherry picked from commit 89dacb88ec)
2024-03-11 23:21:59 +01:00
Fabio Alessandrelli 1dfd92797e
[MP] Fix spawned nodes not working after reset
Ensures that spawnable nodes (i.e. spawned nodes over which the local
instance has authority) always have a network ID, since they may lose it
after the multiplayer is reset (e.g. when changing the multiplayer peer).

(cherry picked from commit cb08f2a968)
2024-03-11 23:21:51 +01:00
A Thousand Ships 65049c3fe7
Allow configuring the maximum width for atlas import
(cherry picked from commit 8b3c12d8df)
2024-03-11 23:21:07 +01:00
A Thousand Ships 3dd1d48976
[Editor] Add missing virtual bind to `EditorNode3DGizmo(Plugin)`
Method `_begin_handle_action` was not bound

(cherry picked from commit c794ce195b)
2024-03-11 23:20:59 +01:00
MJacred 05abecb701
Fix AudioServer::start_playback_stream does not iterate through given p_bus_volumes
(cherry picked from commit e81887f996)
2024-03-11 23:20:53 +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
Fabio Alessandrelli 966e1a3d71
[MP] Fix auth not waiting for confirmation in some cases
The auth implementation was treating any received packet as a remote
confirmation after the peer was confirmed locally.

It now correctly awaits for the remote confirmation packet before
admitting new peers.

(cherry picked from commit 754036f82f)
2024-03-11 23:08:35 +01:00
Sofox f14e43b68f
Fixed duplicating nodes at different depths in SceneTreeDock
(cherry picked from commit ed648799ae)
2024-03-11 23:08:21 +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
nikitalita 360543361b
fix `next_ogg_packet` never returning false
(cherry picked from commit 86a914575f)
2024-03-11 23:06:28 +01:00
Jovan Gerodetti 9f4eac82a2
GDScriptAnalyzer is unaware of properties from other Languages
Co-authored-by: K. S. Ernest (iFire) Lee <fire@users.noreply.github.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
(cherry picked from commit 030aa41a99)
2024-03-11 23:06:00 +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
BlueCube3310 3553d33708
Fix Scene Importer crashing when mesh or animation save paths are invalid
(cherry picked from commit cd87916d98)
2024-03-11 22:31:59 +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
Mika Viskari 02e6c0ab95
Fix String::begins_with when both strings are empty
(cherry picked from commit 3026b566b0)
2024-03-11 18:08:11 +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
Matthew Edwards 5cc432e7a1
Push p_original_path into load_paths_stack and sub_tasks instead of p_path.
(cherry picked from commit 7565d1f3ab)
2024-03-11 18:03:24 +01:00
ACB f4106e5fb3
Fix FileAccessMemory off by one error in eof_reached
(cherry picked from commit 2561f6fc52)
2024-03-11 18:02:59 +01:00
nfrmtk c00caa766e
add check for negative buffer_size inside start_(de)compression method.
(cherry picked from commit da886006a0)
2024-03-11 18:02:44 +01:00
scgm0 2042283d32
Explicitly initialize all of `FileAccess::create_func[ACCESS_MAX]`
(cherry picked from commit 2dae53c316)
2024-03-11 18:02:27 +01:00
Pedro J. Estébanez 16f3652d10
Fix inaccuracies in the report of leaked objects
(cherry picked from commit a04a67ead6)
2024-03-11 18:01:54 +01:00