Commit Graph

59615 Commits

Author SHA1 Message Date
8aff153ea2 Editor: Fix same-name (sub)groups interfering in Inspector
Clear (sub)group hashmaps when changing category.

(cherry picked from commit 9b7dcfa0e2)
2024-04-08 15:48:28 +02:00
bfdced3a1c Fix platform name in the message about unsupported CPU architecture
Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
(cherry picked from commit ca60255d8c)
2024-04-08 15:48:28 +02:00
94ddc44a12 Fix: Address mobile resource leaks in render
Update render_forward_mobile destructor to include instance buffers.
Update render_scene_buffers_rd cleanup to include weight buffers / blur
textures.

(cherry picked from commit dfa326ef55)
2024-04-08 15:48:28 +02:00
db47101f68 Allow for 32 max collisions in test_body_motion
(cherry picked from commit 7901a0524b)
2024-04-08 15:48:28 +02:00
a6f25f7b04 [Windows] Fix exporting as ZIP when console wrapper and/or embedded PCK is enabled.
(cherry picked from commit aac31feda6)
2024-04-08 15:48:28 +02:00
063edcbe3b [Core] Prevent further infinite recursion when printing errors
(cherry picked from commit 14897f6dd7)
2024-04-08 15:48:28 +02:00
2034c10d9e Fix description of touch input position
(cherry picked from commit 0ff396c981)
2024-04-08 15:48:28 +02:00
d81e6e951c Update @GDScript documentation
(cherry picked from commit 0c48845247)
2024-04-08 15:48:28 +02:00
33ba374a30 Merge pull request #90012 from AThousandShips/tile_fix_exit_4_2
[4.2][TileMap] Fix forcing cleanup on exiting tree/canvas
2024-04-03 09:22:40 +02:00
c6ae98ab60 [TileMap] Fix forcing cleanup on exiting tree/canvas 2024-03-28 13:26:55 +01:00
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
987a7c681d fix bezier editor throws error on ctrl click 2024-03-18 12:32:05 +01:00
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
fa1b68094e Improve warning when XR shaders are not enabled
(cherry picked from commit d8f2768b90)
2024-03-12 21:15:06 +01:00
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
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
51d7ffde6d implement overdraw, lighting, and unshaded debug draw modes for opengl
(cherry picked from commit c8bdd1d774)
2024-03-12 00:38:27 +01:00
4495fbd758 Fix Volumetric Fog VoxelGI updates
(cherry picked from commit 89d772a799)
2024-03-12 00:38:27 +01:00
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
bbe1b0c58d Overhaul Quaternion documentation
(cherry picked from commit 38cd13c51a)
2024-03-12 00:38:26 +01:00
61f4d6252b Fix removing connected peer during disconnection
(cherry picked from commit bd8380db55)
2024-03-11 23:29:11 +01:00
b4be0634d4 Fix TabBar size when theme changes
(cherry picked from commit fdba051a40)
2024-03-11 23:28:02 +01:00
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
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
d02b38d411 Add null check for gdextension deinitialization
(cherry picked from commit dc4c6cfb9b)
2024-03-11 23:26:08 +01:00
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
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
696e9e04d9 Fix crash when selecting re-added Tree item
(cherry picked from commit f7c1c83daa)
2024-03-11 23:24:40 +01:00
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
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
147b99ae2a [RTL] Fix meta hover area detection.
(cherry picked from commit 42e6cda14e)
2024-03-11 23:23:39 +01:00
b3fa724e9d Expose NOTIFICATION_EXTENSION_RELOADED to ClassDB
(cherry picked from commit fee70558f8)
2024-03-11 23:22:11 +01:00
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
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
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
65049c3fe7 Allow configuring the maximum width for atlas import
(cherry picked from commit 8b3c12d8df)
2024-03-11 23:21:07 +01:00
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
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
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
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
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
f14e43b68f Fixed duplicating nodes at different depths in SceneTreeDock
(cherry picked from commit ed648799ae)
2024-03-11 23:08:21 +01:00
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
93fcd9ce41 Replace GDVIRTUAL_CALL with GDVIRTUAL_REQUIRED_CALL where applicable
(cherry picked from commit 83ef789745)
2024-03-11 23:07:04 +01:00
360543361b fix next_ogg_packet never returning false
(cherry picked from commit 86a914575f)
2024-03-11 23:06:28 +01:00
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
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