Commit Graph

59627 Commits

Author SHA1 Message Date
Jiali Qiu
8bfe88fee8
Fix issue with moving maximized window in macOS
When opening the Godot editor and maximizing the window by double-clicking the
title bar, users are unable to drag the window with the mouse.

With this commit, `window_set_position` allows the maximized window to be moved
by dragging it. Only the fullscreen window won't be allowed to move.

Fixes #78758.

(cherry picked from commit d78cb43ec2)
2024-04-08 15:48:29 +02:00
Rodrigo Dias
61565d20c6
Fix MacOS menu bar & dock stop appearing after closing sub-window
When the progress dialog task for saving a scene ends, or when closing the "Open project" dialog, the DisplayServerMacOS::update_presentation_mode() method now restores those fullscreen functionalities with the flags NSApplicationPresentationAutoHideMenuBar and NSApplicationPresentationAutoHideDock, whereas before it would reset to NSApplicationPresentationDefault, which didn't allow that.

Fixes #86495

(cherry picked from commit a4f2e5210f)
2024-04-08 15:48:29 +02:00
Pedro J. Estébanez
68bfb779d1
Fix missed light clusters when inside clipped lights
(cherry picked from commit 605fdb655c)
2024-04-08 15:48:29 +02:00
kleonc
a8851277d2
[C#] Fix Transform3D.InterpolateWith applying rotation before scale
(cherry picked from commit e2ed63b313)
2024-04-08 15:48:29 +02:00
A Thousand Ships
498edf3dd8
[CI] Improve fetching of changed files
PRs always use a merge into the repo on checkout, so checking for
`HEAD^1` will show all the changes regardless of the number of commits
in a PR

(cherry picked from commit 950743c3d8)
2024-04-08 15:48:29 +02:00
Haoyu Qiu
f2bd24e80f
Fix wrong extension filter for dependency editor
(cherry picked from commit e1ee838d11)
2024-04-08 15:48:29 +02:00
Chronos-W
c215f72999
Add reference to InputEventJoypadButton in _shortcut_input doc
(cherry picked from commit 9a439b246a)
2024-04-08 15:48:29 +02:00
jsjtxietian
5ac47d30ed
Fix path3d's pick works incorrectly when viewport is in half resolution
(cherry picked from commit 20f4a5d03a)
2024-04-08 15:48:29 +02:00
Bill
b4ba90e432
Add fix for TAA passes rendering black meshes on XR
(cherry picked from commit b44f1c5176)
2024-04-08 15:48:29 +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
c2918e6e06
[Doc] Fix casing of some C# names
(cherry picked from commit 366cc648bf)
2024-04-08 15:48:29 +02:00
MewPurPur
36a32f4a5a
Follow up to blue robot icons optimization
(cherry picked from commit 35a569478f)
2024-04-08 15:48:29 +02:00
Danil Alexeev
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
Yevhen Babiichuk (DustDFG)
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
David Sullivan
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
Mikael Hermansson
db47101f68
Allow for 32 max collisions in test_body_motion
(cherry picked from commit 7901a0524b)
2024-04-08 15:48:28 +02:00
bruvzg
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
A Thousand Ships
063edcbe3b
[Core] Prevent further infinite recursion when printing errors
(cherry picked from commit 14897f6dd7)
2024-04-08 15:48:28 +02:00
Haoyu Qiu
2034c10d9e
Fix description of touch input position
(cherry picked from commit 0ff396c981)
2024-04-08 15:48:28 +02:00
Danil Alexeev
d81e6e951c
Update @GDScript documentation
(cherry picked from commit 0c48845247)
2024-04-08 15:48:28 +02:00
Rémi Verschelde
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
A Thousand Ships
c6ae98ab60
[TileMap] Fix forcing cleanup on exiting tree/canvas 2024-03-28 13:26:55 +01:00
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