1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-17 14:11:06 +00:00
Commit Graph

74331 Commits

Author SHA1 Message Date
Olle Lukowski
3f1594ab90 Delete rendering device on the same thread it was created 2025-03-04 09:18:35 +01:00
clayjohn
338c12fc9a Implement LIMIT_MAX_COMPUTE_SHARED_MEMORY_SIZE to limit_get in all Rendering backends.
Also add a more helpful warning that is only displayed in dev builds to
match the D3D12 backend
2025-03-03 21:43:12 -08:00
Hotkey
7bc030172e Fix crash when calling get_argument_count() on invalid Callable
https://github.com/godotengine/godot/issues/103438
2025-03-04 13:32:34 +09:00
Etherealxx
9cbfeff940 Add "Go Online" button on Export Template Manager
Godot 4.4 introduces network mode, which by default sets to offline.
Some features are disabled on offline mode, including downloading export
templates. Newcomers to the engine that has no knowledge about the network
mode might be confused on why the Export Template Manager tells them that
they're offline, despite them having internet connection.

This commit introduces a message that tells the user that online mode is
required, and a link button that user can click to enable online mode from
the Export Template Manager popup UI. Some code changes also made to make
sure that the button and message only shows on official build only.
2025-03-04 09:04:09 +07:00
Rémi Verschelde
1753893c60 Merge pull request #103523 from akien-mga/android-fix-disable_3d
Android: Fix build with `disable_3d`
2025-03-04 01:02:46 +01:00
Rémi Verschelde
6e0d67ef47 Merge pull request #103519 from Calinou/doc-glow-upscale-mode-compatibility
Document Glow Upscale Mode project setting only affecting Forward+/Mobile
2025-03-04 01:02:43 +01:00
Rémi Verschelde
a3dcd98032 Merge pull request #103514 from dsnopek/github-actions-godot-cpp
CI: Use correct godot-cpp branch
2025-03-04 01:02:40 +01:00
Rémi Verschelde
6536f5f2df Merge pull request #103480 from beicause/rd-validate-pre-raster-shader
RenderingDevice: Validate pre-raster (vertex) shader in `render_pipeline_create`
2025-03-04 01:02:35 +01:00
Rémi Verschelde
e5565a637e Merge pull request #103447 from timothyqiu/root-domain
Set editor's translation domain at root node
2025-03-04 01:02:32 +01:00
Rémi Verschelde
c301b2ad9a Merge pull request #103419 from Alex2782/fix_issue_96770
Fix crash after changing device language
2025-03-04 01:02:27 +01:00
Rémi Verschelde
2e57cbe57a Merge pull request #103413 from m4gr3d/request_pointer_capture_on_ui_thread
Fix Android mouse capture issues
2025-03-04 01:02:23 +01:00
Rémi Verschelde
4ca2449470 Merge pull request #103410 from kitbdev/fix-te-adjust-viewport-scroll
Fix TextEdit scrolls wrong on text selection
2025-03-04 01:02:19 +01:00
Rémi Verschelde
e8c555b002 Merge pull request #103409 from darksylinc/matias-swappy-2025-01
Update to latest version of Swappy
2025-03-04 01:02:14 +01:00
Rémi Verschelde
f3fe36289b Merge pull request #103396 from berarma/vsp_clean_exit_tree
VideoStreamPlayer: Stop video on exit tree
2025-03-04 01:00:59 +01:00
Rémi Verschelde
77dc8320e9 Merge pull request #103320 from akien-mga/packed-scene-dnp-base
PackedScene: Use ObjectID for DeferredNodePathProperties base
2025-03-04 01:00:55 +01:00
Rémi Verschelde
6e62cab8a8 Merge pull request #103309 from dugramen/tileset-inspector-spacing
Fix vbox separation in sections with `PROPERTY_USAGE_ARRAY`
2025-03-04 01:00:51 +01:00
Rémi Verschelde
b33e20be21 Merge pull request #103301 from marcgpuig/unify-csgpolygon3d-gizmos
Unify CSGPolygon3D gizmos with the other geometries
2025-03-04 01:00:47 +01:00
Rémi Verschelde
b408ce7a64 Merge pull request #103121 from OhiraKyou/fix-gpu-particle-zero-scale
Fix GPU particles not emitting at some configured rates when scale curve is zero
2025-03-04 01:00:43 +01:00
Rémi Verschelde
d831381296 Merge pull request #103092 from darksylinc/matias-luminance-uninit
Fix uninitialized value in Tonemap
2025-03-04 01:00:38 +01:00
Rémi Verschelde
1fd8d7df2f Merge pull request #103063 from WinnerWind/fix-black-bars-in-minimap
Fix black bars appearing when using `background_color` on a TextEdit/CodeEdit.
2025-03-04 01:00:34 +01:00
Rémi Verschelde
59beee5860 Merge pull request #102908 from kleonc/primitive_quad_second_triangle_lighting_fix
Fix 2D quad primitive missing lighting data in GLES3 renderer
2025-03-04 01:00:30 +01:00
Rémi Verschelde
3e3cabdcbd Merge pull request #102893 from orange-anvil-games/fix_voxelizer_normals
Fix voxelizer normals
2025-03-04 01:00:25 +01:00
Rémi Verschelde
d5a494469d Merge pull request #102576 from arkology/network-profiler-flow-container
Use `FlowContainer` for `EditorNetworkProfiler` bar
2025-03-04 01:00:20 +01:00
Rémi Verschelde
a414fed4c5 Merge pull request #98034 from raulsntos/dotnet/variant-object-id
[.NET] Use `ObjectID` when converting `Variant` to `GodotObject`
2025-03-04 01:00:16 +01:00
Rémi Verschelde
daa28e8338 Merge pull request #95912 from etodd/particle-pause-jitter-fix
Fix particle jitter when scene tree is paused
2025-03-04 01:00:10 +01:00
Jamie Pate
4f14f722b8 Fix check for is_maximized in x11 to require both horizontal and vertical
Fixes #103522

Persistent window state doesn't work if your window is 'tiled' in X11
gnome

3.x checks for `horz && vert`
4396e98834/platform/x11/os_x11.cpp (L1708)

4.x also checked `horz && vert` until this change where it was switched
to `horz || vert`
524f061c01 (diff-05f85bc3bf96d384f6b96260c758e63e10bbdd52b04f8ccb34649372e7bc1f48R1382)

The corrected logic is:
Check `horz && vert` for 'is_maximized'
Check `horz || vert` for 'can_maximize'
2025-03-03 15:45:21 -08:00
Matias N. Goldberg
89ea5b3d00 Update to latest version of Swappy
Fixes #103294
2025-03-03 20:43:14 -03:00
Raul Santos
7dcad4c9ad Move entries from AnalyzerReleases.Unshipped.md to AnalyzerReleases.Shipped.md 2025-03-04 00:35:42 +01:00
Hugo Locurcio
4cd2d9e210 Use physical keys for the Q/W/E/R 3D editor shortcuts
This ensures they work consistently regardless of keyboard layout,
like freelook already does. The intent is to use the first 4 letter
keys on the top row of the keyboard.
2025-03-04 00:11:17 +01:00
Matias N. Goldberg
62c1a4782d Fix inefficient upload in Mobile Shadows
Clustered performs the following shadow rendering steps

1. Process objects [0; 10) for cascade 0.
2. Process objects [10; 30) for cascade 1.
3. Process objects [30; 100) for cascade 2.
4. Upload objects [0; 100) to GPU.
5. Draw all cascades.

Mobile was supposed to be doing the same, but instead was doing:

1. Process objects [0; 10) for cascade 0.
2. Upload objects [0; 10) to GPU.
3. Process objects [10; 30) for cascade 1.
4. Upload objects [0; 30) to GPU.
5. Process objects [30; 100) for cascade 2.
6. Upload objects [0; 100) to GPU.
7. Draw all cascades.

That is, always reuploaded everything from scratch.
Therefore it pointlessly (and with geometric growth) wasted BW.
2025-03-03 19:57:27 -03:00
clayjohn
1bdb3bc88a Validate triviality of the InstanceData and RenderElementInfo structs in Mobile and Forward+ renderers.
This is needed to avoid overhead that results from calling the constructor during calls to LocalVector.resize()
2025-03-03 14:38:37 -08:00
Rémi Verschelde
a7dd4ad5f8 Android: Fix build with disable_3d
Fixes #103516.
2025-03-03 22:19:05 +01:00
David Snopek
bbc66056a8 JavaClassWrapper: Fix converting returned arrays to Godot types 2025-03-03 15:10:30 -06:00
Pāvels Nadtočajevs
53bb897458 Use separate WorkThreadPool for shader compiler. 2025-03-03 22:28:39 +02:00
Hugo Locurcio
39cb5a92f0 Document Glow Upscale Mode project setting only affecting Forward+/Mobile 2025-03-03 20:53:44 +01:00
BrotherShort
571cd4de7d Keep editor SceneTree buttons attached to the cell in Right-To-Left
Update tree.cpp.
Fix #102191.

Update scene/gui/tree.cpp

Co-Authored-By: Tomasz Chabora <kobewi4e@gmail.com>
2025-03-04 03:38:41 +08:00
David Snopek
70bace7482 CI: Use correct godot-cpp branch 2025-03-03 12:08:55 -06:00
David Snopek
d7672128b5 JavaClassWrapper: Improve handling of typed array arguments 2025-03-03 12:07:45 -06:00
Thaddeus Crews
908e062e9b CI: Bump SCons to latest (4.8.1 → 4.9.0) 2025-03-03 11:56:42 -06:00
Rémi Verschelde
9f68a81659 Merge pull request #103510 from akien-mga/4.5-dev
Bump version to 4.5-dev
2025-03-03 18:10:34 +01:00
Rémi Verschelde
1c35a31b9e Bump version to 4.5-dev
Mr. Godot told me to tell you he won't come this evening but surely tomorrow.
2025-03-03 17:27:40 +01:00
kobewi
6d2f18c6c6 Fix caret_force_displayed 2025-03-03 15:58:58 +01:00
Eole
e2b5b913ec Fix CharacterBody's wall_min_slide_angle doc
Replaced slope by wall
2025-03-03 15:08:59 +01:00
Pāvels Nadtočajevs
c5011d860d Update FreeType to 2.13.3 2025-03-03 08:17:09 +02:00
Pāvels Nadtočajevs
ec10d38d2f Update HarfBuzz to 10.4.0 2025-03-03 07:55:00 +02:00
Rémi Verschelde
4c311cbee6 Bump version to 4.4-stable \o/
Another massive release with close to 3000 commits (excluding merge commits),
with a big focus on improvements to the overall workflow and usability of the
editor.

Engine features didn't want to be left out amidst this usability focus though,
and this release is absolutely feature-packed in all areas.

See the release page for details: https://godotengine.org/releases/4.4/

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.
4.4-stable
2025-03-03 00:31:23 +01:00
Rémi Verschelde
ddcdbbb9fb Add changelog for Godot 4.4 2025-03-03 00:31:10 +01:00
Rémi Verschelde
fad2e6ded9 i18n: Sync translations with Weblate 2025-03-02 23:23:52 +01:00
Rémi Verschelde
c8d6fdd9a7 Merge pull request #103484 from akien-mga/ci-apt-update
CI: Run `apt install` before installing libxml2-utils, GHA cache got flaky
2025-03-02 22:57:37 +01:00
Rémi Verschelde
826a0354fb CI: Run apt install before installing libxml2-utils, GHA cache got flaky 2025-03-02 22:34:34 +01:00