Commit Graph

66165 Commits

Author SHA1 Message Date
df6bbb2538 Fix MenuBar popup placement assuming it's in viewport default canvas
(cherry picked from commit 8228d647a9)
2024-09-16 17:08:44 +02:00
1d0bcae019 GLTF: Propagate owner for root node children
(cherry picked from commit 246cc7e86d)
2024-09-16 17:08:33 +02:00
df522db6f0 Fix virtual binding for ScriptLanguageExtension::_reload_scripts
(cherry picked from commit d65ea6fb9c)
2024-09-16 17:06:44 +02:00
c684d65c64 Use transformed roughness instead of raw roughness to calculate roughness fade in SSR
(cherry picked from commit b99d0d778a)
2024-09-16 17:06:30 +02:00
5676d398e0 Avoid potential crash on signal disconnection
(cherry picked from commit 32b7f835d8)
2024-09-16 17:06:19 +02:00
32f2b851ab Redraw SubViewportContainer on SubViewport size change
(cherry picked from commit 61e2aa7914)
2024-09-16 17:06:04 +02:00
bf5907b724 StringName: Use inline static field definitions
Before this change StringName used regular static field
definitions for its mutex, _table, configured and debug_stringname
fields.

Since in the general case the ordering of the static variable and field
initialization and destruction is undefined, it was possible that
the destruction of StringName's static fields happened prior to
the destruction of statically allocated StringName instances.

By changing the static field definitions to inline in string_name.h,
the C++17 standard guarantees the correct initialization and destruction
ordering.

(cherry picked from commit 723878bbab)
2024-09-16 17:05:50 +02:00
cff0ebd603 Clear drag preview material on NOTIFICATION_DRAG_END
(cherry picked from commit 6aee6c1fdd)
2024-09-16 17:05:37 +02:00
9af6e04a15 Fix backspace always unfolding previous line
(cherry picked from commit 2860b99077)
2024-09-16 17:05:16 +02:00
39fb871310 Fix no validation on Blender path on importation
(cherry picked from commit 2dc9cf50c5)
2024-09-16 17:05:03 +02:00
eaa8ecb182 Fix bone2d scaling
Co-authored-by: Thiago Lages de Alencar <thiagola92@gmail.com>
(cherry picked from commit de558123bf)
2024-09-16 17:04:49 +02:00
c7dbcbd6d4 Fix Skeleton2D.{_set|_get} always returning true
(cherry picked from commit 115cd47fd6)
2024-09-16 17:04:28 +02:00
f0f69a7b7c Fix Parallax2D repeats being not relative to its transform
(cherry picked from commit 1bd8372813)
2024-09-16 17:04:12 +02:00
4168220169 Fix EditorInterface.get_selected_paths() working incorrectly when FileSystemDock is in split mode
(cherry picked from commit b55e97cd85)
2024-09-16 17:03:50 +02:00
d8c13f88ed Fix scene node selection problem when no auto expand
(cherry picked from commit e46280dbb5)
2024-09-16 17:03:02 +02:00
7266418bdf Fix node.duplicate, return nullptr if this operation fails.
(cherry picked from commit 70f41e414e)
2024-09-16 17:02:35 +02:00
b7fc063038 Fix uid:// Paths Fail to Load at Editor Startup
(cherry picked from commit b1c97313e0)
2024-09-16 17:02:12 +02:00
6c202154a7 Add fixed fog to the sky in the Compatibility renderer
And apply luminance multiplier after fog in RD renderer

(cherry picked from commit 578049b7b9)
2024-09-16 17:01:45 +02:00
6d41487459 OpenXR: Fix support for building against distro package
(cherry picked from commit 2206f5c6a4)
2024-09-16 17:01:18 +02:00
3876287162 Ensure selected node is a descendant of the edited scene
(cherry picked from commit b1a45d9487)
2024-09-16 17:00:54 +02:00
8ea64814ed Add stop_callable to AudioStreamPlayerInternal
(cherry picked from commit 8c7dd3cb61)
2024-09-16 17:00:18 +02:00
6b323241b1 prevent the click to get processed further after a paste action
(cherry picked from commit e7e633760a)
2024-09-16 16:57:44 +02:00
2d7266e764 Ensure fog_sky_affect is used even when using a background color
(cherry picked from commit 37be585fdf)
2024-09-16 16:57:44 +02:00
7726ced085 fix: project settings not properly saved after a file removal
(cherry picked from commit 138bcc7cfd)
2024-09-16 16:56:22 +02:00
bba8f85945 Fix Pressing Escape doesn't exit freelook in the 3D editor
(cherry picked from commit 78dc310103)
2024-09-16 16:56:10 +02:00
63ff665fd0 Fix GD0107 not applying to arrays and dictionaries containing nodes
(cherry picked from commit 8aa444d212)
2024-09-16 16:55:57 +02:00
6e78eec37f Fix reload of GDExtension libraries in framework package on macos
`GDExtension::open_library` has a check in it to see if the library was loaded
from a temp file, and if it was to restore the original name as that is the one
we actually care about. This check is breaking extension reloading on Mac when
the library path is to a framework folder, as the file inside the framework
will not generally be the same name as the folder.

This check also shouldn't be necessary even on Windows, which is the only
platform that uses `generate_temp_files`, since disposal of the created temp
file is handled within `OS_Windows::open_dynamic_library`, and
`GDExtension::open_library` (which is the only function to call
`open_dynamic_library` with a `p_data` argument) only cares about the original
library file path and has to do extra work to remove the name of the temp file.
Instead, I have removed that check and set `OS_Windows::open_dynamic_library`
to return the name of the original file and not the name of the copy.

This fixes GDExtension reloading on macOS. I do not have a Windows machine
available to test that it still works properly on Windows, so someone should
check that before merging this.

(cherry picked from commit f44d6a235f)
2024-09-16 16:55:39 +02:00
6eea970e8c Fix Godot not quitting with --doctool --gdscript-docs.
(cherry picked from commit 13b20820ba)
2024-09-16 16:55:26 +02:00
6aff947ee5 pass in render_info to _fill_instance_data for alpha to fix overdraw call count
(cherry picked from commit 3388a4a360)
2024-09-16 16:55:12 +02:00
686591b948 [ImageFont] Fix escape sequence parsing, add note to the docs.
(cherry picked from commit 4cc065c2db)
2024-09-16 16:54:56 +02:00
acba31b746 Fix SoftBody3D pinned points breaking when reloading scene
(cherry picked from commit bde8c5977b)
2024-09-16 16:47:13 +02:00
d915947f3d Fix transposed tiles drawing in GenericTilePolygonEditor
(cherry picked from commit 3dfac1644d)
2024-09-16 16:47:00 +02:00
a031407e82 Fix TileAtlasView bounds checks for transposed tiles
(cherry picked from commit 6895f6f8cc)
2024-09-16 16:46:57 +02:00
26b151a945 Update the Android fileLastModified method to return values in seconds instead of milliseconds
(cherry picked from commit cde873b406)
2024-09-16 16:46:41 +02:00
2eb2052cb9 Change "Node3D" to "Spatial" in VisualShader resource
(cherry picked from commit b9876b626d)
2024-09-16 16:46:29 +02:00
kit
1f92092b08 Fix EditorSpinSlider when hidden
(cherry picked from commit d357a7d0f9)
2024-09-16 16:46:07 +02:00
c831bdbbe2 D3D12: Be explicit about all-resources texture barriers
(cherry picked from commit 3260437afc)
2024-09-16 16:45:55 +02:00
ea5989e3f5 Add NavigationLink function to change navigation map
Adds NavigationLink function to change navigation map.

(cherry picked from commit e6ff4e56e3)
2024-09-16 16:45:38 +02:00
6073b86e71 Fix typo in MultiplayerSpawner doc
(cherry picked from commit 8c626f23c1)
2024-09-16 16:45:24 +02:00
b84dbab84d Fix undefined alpha_scissor in standard shader
(cherry picked from commit 970a237c20)
2024-09-16 16:42:01 +02:00
1ebf488a4e Fix incorrect parsing of nested nodes when generating the POT
(cherry picked from commit 84c5403578)
2024-09-16 16:41:48 +02:00
4a64c95732 Fix autoload node cannot be accessed by plugin on start-up
(cherry picked from commit 2d4e573b20)
2024-09-16 16:41:32 +02:00
2b4ade1ed6 Fix AudioStreamPlayer get_playback_position() for web build
(cherry picked from commit bcd776e441)
2024-09-16 16:41:06 +02:00
562e583872 Fix split_floats behavior when spaces are used as separators
(cherry picked from commit f483c3aafa)
2024-09-16 16:40:48 +02:00
cfa33666c9 Fix custom resources using incorrect icons
(cherry picked from commit 140f9dc3e7)
2024-09-16 16:40:33 +02:00
3dc376ec0b Fix shader crash when the comma used in for loop as a trailing
(cherry picked from commit d74749fd60)
2024-09-16 16:39:51 +02:00
a7d79f9e6c Fix TextServer::shaped_text_*_character_pos for the first character of wrapped string. Allow starting/ending RTL selection before line start.
(cherry picked from commit 932acce8f2)
2024-09-16 16:38:23 +02:00
fac12603ef [.NET] Move search in files extension list definition to be after Scene level module init.
(cherry picked from commit 69d52ed081)
2024-09-16 16:38:08 +02:00
8c5edcb03a Run cleanup code on DisplayServer init failure to prevent crash on exit.
(cherry picked from commit f15ad72355)
2024-09-16 16:37:54 +02:00
79848620ce [BMFont] Fix importing fonts with Match char height enabled.
(cherry picked from commit e7f215c2c4)
2024-09-16 16:35:06 +02:00