Commit Graph

66295 Commits

Author SHA1 Message Date
Kusok 8ea64814ed
Add `stop_callable` to `AudioStreamPlayerInternal`
(cherry picked from commit 8c7dd3cb61)
2024-09-16 17:00:18 +02:00
Nodragem 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
clayjohn 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
Rio Arswendo Rachmad 7726ced085
fix: project settings not properly saved after a file removal
(cherry picked from commit 138bcc7cfd)
2024-09-16 16:56:22 +02:00
jsjtxietian 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
Juan Pablo Arce 63ff665fd0
Fix GD0107 not applying to arrays and dictionaries containing nodes
(cherry picked from commit 8aa444d212)
2024-09-16 16:55:57 +02:00
Joel Croteau 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
ocean 6eea970e8c
Fix Godot not quitting with `--doctool --gdscript-docs`.
(cherry picked from commit 13b20820ba)
2024-09-16 16:55:26 +02:00
kevinkuo52 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
bruvzg 686591b948
[ImageFont] Fix escape sequence parsing, add note to the docs.
(cherry picked from commit 4cc065c2db)
2024-09-16 16:54:56 +02:00
Jiří Švejda acba31b746
Fix SoftBody3D pinned points breaking when reloading scene
(cherry picked from commit bde8c5977b)
2024-09-16 16:47:13 +02:00
kleonc d915947f3d
Fix transposed tiles drawing in GenericTilePolygonEditor
(cherry picked from commit 3dfac1644d)
2024-09-16 16:47:00 +02:00
kleonc a031407e82
Fix TileAtlasView bounds checks for transposed tiles
(cherry picked from commit 6895f6f8cc)
2024-09-16 16:46:57 +02:00
Fredia Huya-Kouadio 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
tetrapod00 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
Pedro J. Estébanez c831bdbbe2
D3D12: Be explicit about all-resources texture barriers
(cherry picked from commit 3260437afc)
2024-09-16 16:45:55 +02:00
smix8 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
Jordyfel 6073b86e71
Fix typo in MultiplayerSpawner doc
(cherry picked from commit 8c626f23c1)
2024-09-16 16:45:24 +02:00
jsjtxietian b84dbab84d
Fix undefined `alpha_scissor` in standard shader
(cherry picked from commit 970a237c20)
2024-09-16 16:42:01 +02:00
Michael Alexsander 1ebf488a4e
Fix incorrect parsing of nested nodes when generating the POT
(cherry picked from commit 84c5403578)
2024-09-16 16:41:48 +02:00
Hilderin 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
Yahkub-R 2b4ade1ed6
Fix AudioStreamPlayer get_playback_position() for web build
(cherry picked from commit bcd776e441)
2024-09-16 16:41:06 +02:00
Haoyu Qiu 562e583872
Fix split_floats behavior when spaces are used as separators
(cherry picked from commit f483c3aafa)
2024-09-16 16:40:48 +02:00
Ian McCleary cfa33666c9
Fix custom resources using incorrect icons
(cherry picked from commit 140f9dc3e7)
2024-09-16 16:40:33 +02:00
Chaosus 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
bruvzg 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
bruvzg 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
bruvzg 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
bruvzg 79848620ce
[BMFont] Fix importing fonts with `Match char height` enabled.
(cherry picked from commit e7f215c2c4)
2024-09-16 16:35:06 +02:00
Jonatan Röjder Delnavaz 91ed3cd307
* Changed the VisualShaderNodeCustom template to use the correct overrides and added the GlobalClass attribute
(cherry picked from commit 74389e8395)
2024-09-16 16:34:53 +02:00
aaronp64 302af188a1
Fix tooltip content being cut off at some display scales
When getting the minimum size for a tooltip, we get the value as a Vector2.  Window::set_size() takes a Vector2i, so this size was getting truncated.  At certain display scales, this could be enough to cut off part of the tooltip.  Updated to call Vector2::ceil() to round up before calling Window::set_size()

Fixes #91958

(cherry picked from commit ca8e3d4923)
2024-09-16 16:34:31 +02:00
Zi Ye 2eec361f5f
Corrected rotation gizmo plane math for off-center perspective view.
(cherry picked from commit 1fc8255355)
2024-09-16 16:34:16 +02:00
jsjtxietian a70df8537e
Fix uniform subgroup in shader will carry out to next group
(cherry picked from commit e6c45fbe5d)
2024-09-16 16:34:02 +02:00
clayjohn cbee16418a
Increase precision of skeleton transforms in the skeleton shader in the Compatibility renderer
(cherry picked from commit 1bf594fb5a)
2024-09-16 16:33:38 +02:00
clayjohn 5a33e45fed
Fail when submit or sync called on main rendering device
Fail if submit or sync called multiple times in a row

(cherry picked from commit b0e33aa00f)
2024-09-16 16:33:25 +02:00
Hugo Locurcio 6595395b8b
Fix LightmapGI not taking environment sky rotation into account when baking
The sky rotation now affects the baked environment lighting as it should,
making it match how real-time ambient light rendering works.

Co-authored-by: Per Melin <git@melin.net>
(cherry picked from commit 661cf1f351)
2024-09-16 16:33:15 +02:00
Miley Hollenberg a7756d530e
Fixed crash on PowerVR GE8320 GPUs
(cherry picked from commit 1c31e30359)
2024-09-16 16:32:56 +02:00
Kyle Appelgate 2df506ea15
fix to ensure generated light probes do not get placed too close to manual light probes
(cherry picked from commit 97205ea5b8)
2024-09-16 16:32:22 +02:00
Slashscreen 13d5227911
Apply patch for considering visual layers for DirectionalLight
Co-authored-by: majikayogames <152851004+majikayogames@users.noreply.github.com>
(cherry picked from commit 4457b11ff0)
2024-09-16 16:31:40 +02:00
Chris Cranford b9271608df
Remove superfluous `print_line` call
(cherry picked from commit b1421a0d98)
2024-09-16 16:30:46 +02:00
Silc Lizard (Tokage) Renew 5caaa6ce19
Fix incorrect warning on SkeletonModifier
(cherry picked from commit 4727c4f783)
2024-09-16 16:30:30 +02:00
David Snopek e1af61467a
OpenGL: Unconditionally do `glDisable(GL_FRAMEBUFFER_SRGB)` because we do our own sRGB conversion
(cherry picked from commit dfcff4ef46)
2024-09-16 16:30:06 +02:00
Rémi Verschelde d40fc50f08
Merge pull request #95835 from BastiaanOlij/xrnode_visibility_43
[4.3] XRNode - fix visibility issue
2024-08-30 09:47:50 +02:00
Bastiaan Olij 620cc30f2a XRNode - fix visibility issue 2024-08-29 11:55:43 +10:00
Rémi Verschelde ff9bc04223
Bump version to 4.3.1-rc
And update CI base branch to 4.3.
2024-08-15 11:35:17 +02:00
Rémi Verschelde 77dcf97d82
Bump version to 4.3-stable \o/
This release turned out to be a massive one, exceeding our original
plans for the development cycle, but for good reasons to address many
critical issues that users identified since the 4.0 release.

The user experience should be much stabler and more polished than in
previous releases, with less obscure and game or workflow-breaking
bugs. And of course the feature set kept increasing with a number of
highly awaited improvements to all engine areas.

We have close to 3500 commits in this release, twice as many as 4.2!

More than 500 contributors were involved in this new feature release,
and we want to thank them all for their amazing contributors, as well
as all users who sponsor the Development Fund, reported bugs, opened
proposals, or supported each other on our community platforms.
2024-08-15 01:00:16 +02:00
Rémi Verschelde 5e3d6de1f9
Add changelog for Godot 4.3 2024-08-15 00:57:57 +02:00
Rémi Verschelde 33c30b9e63
Merge pull request #95533 from Hilderin/fix-filesystem-not-updated-on-file-remove
Fix FileSystem not updated on file deletion
2024-08-15 00:53:47 +02:00
Rémi Verschelde f27724e902
Merge pull request #95526 from alvinhochun/fix-pr94706
DisplayServerWindows: Fix logic when creating with transient parent
2024-08-15 00:43:24 +02:00