7507 Commits

Author SHA1 Message Date
Pāvels Nadtočajevs
b829e0d085 [3.x] Export: Modify Windows template without rcedit
Co-Authored-By: Pawel Kowal <pkowal1982@gmail.com>
2025-10-15 11:22:53 +03:00
lawnjelly
5b8789e83a Merge pull request #111424 from lawnjelly/span
[3.x] Add `Span` and some basic uses from `Geometry`.
2025-10-13 08:53:06 +01:00
lawnjelly
db9921b17f Add Span and some basic uses from Geometry. 2025-10-11 08:16:27 +01:00
lawnjelly
dedf461674 Add blob shadows feature
BlobShadow node (sphere or capsule)
BlobFocus
Backends for GLES2 and GLES3
2025-10-01 06:37:54 +01:00
lawnjelly
d0dbb2f0af Merge pull request #108382 from Faless/mbedtls/3.x_update_to_mbedtls_3.6.4
[3.x] mbedTLS: Update to mbedTLS 3.6.4
2025-09-13 10:29:56 +01:00
Haoyu Qiu
d164a70aa0 Fix Open Editor Data/Settings Folder menu in self-contained mode 2025-09-11 20:07:30 +08:00
Fabio Alessandrelli
0770c9a4a3 mbedTLS: Update to mbedTLS 3.6.4
mbedTLS 2.28 is now EOL, and will no longer receive security updates.

This commit backports from Godot 4 the changes needed to update to
mbedTLS 3.6 (new LTS), including TLSv1.3 support.
2025-07-07 17:18:44 +02:00
lawnjelly
287cf32ce2 Fix inability to assign script after clearing
Co-authored-by: ocean (they/them) <anvilfolk@gmail.com>
2025-07-02 08:09:43 +01:00
lawnjelly
0718852d2c Add EditorSettings EDITOR_GET_CACHED 2025-07-01 17:00:08 +01:00
lawnjelly
aec5bf47dd Optimize hotspots with Object::derives_from 2025-06-23 09:15:24 +01:00
DeeJayLSP
57159bcb8c [3.x] ResourceImporterWAV: Detect if data chunk size is larger than the actual size 2025-06-19 00:21:45 -03:00
lawnjelly
d164443cd3 Add ability to mute AudioServer.
Adds the option to change the audio driver to the Dummy driver and back at runtime, with a set of MuteState flags - Disabled (user control), Silence (period of silence), Focus Loss (when app is not in focus), and Paused (when app is paused).

Control for the flags is added for the editor in EditorSettings, and for the project in ProjectSettings.

Editor defaults to muted (Dummy driver) when there is no audio output, and automatically switches to active on output. This significantly reduces CPU usage.
2025-06-10 16:53:58 +01:00
lawnjelly
f5b4529870 Merge pull request #105459 from illlustr/class-display
[3.x] Improve Class display in Create dialog
2025-05-19 15:37:07 +01:00
illlustr
036a1a3f2e Improve Class display in Create dialog 2025-05-18 20:44:04 +07:00
lawnjelly
267625068e Merge pull request #105439 from TheSofox/tileset-select-visbility
Make selected tile in `TileSet` more visible through red outline
2025-05-17 18:03:09 +01:00
illlustr
1571403a56 Add an editor option to copy system info to clipboard 2025-04-23 13:52:21 +07:00
Sofox
433bf37287 Make selected tile in TileSet more visible through red outline 2025-04-15 22:06:04 +01:00
lawnjelly
a39897953d Make changes for simplified ObjectDB::get_instance() casting 2025-03-31 07:42:34 +01:00
lawnjelly
0758ad0612 Add GLOBAL_GET cached macros.
GLOBAL_GET is an expensive operation which should not be used each frame / tick.
This PR adds macros which do a cheaper revision check, and only call the expensive GLOBAL_GET when project settings have changed.

Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-03-18 16:28:40 +00:00
A Thousand Ships
45d1948b64 [Editor] Add EditorPlugin::scene_saved signal (3.x backport)
Matches the `EditorNode` one for parity with the exposed
`resource_saved` signal

3.x backport: Adjusted documentation slightly, backported to 3.x branch

Co-authored-by: t20kdc <asdd2808@gmail.com>
2024-11-30 12:04:17 +00:00
Rémi Verschelde
fd9bd108af CI: Update Ubuntu runners to 24.04, but keep 22.04 for Linux builds
Pin clang-format to version 16, and black to 24.10.0.
Keep using Ubuntu 22.04 for Linux builds for portability.
2024-11-07 12:50:17 +01:00
Rémi Verschelde
32ddd4f4e0 Doctool: Remove version attribute from XML header
We don't use that info for anything, and it generates unnecessary diffs
every time we bump the minor version (and CI failures if we forget to
sync some files from opt-in modules (mono, text_server_fb).

(cherry picked from commit 81064cc239)
2024-09-11 12:41:48 +02:00
lawnjelly
31940c784a Safe Camera::unproject_position()
`unproject_position()` can fail in some circumstances, and this needs to be conveyed to calling code.
2024-08-26 07:55:19 +01:00
lawnjelly
4ec07e8beb Optimize Editor _init_grid()
Use static `LocalVectors` instead of `PoolVectors` for temporaries.
2024-06-03 14:07:38 +01:00
Haoyu Qiu
0242ca7cbf Fix long category name display in Inspector 2024-05-19 13:45:31 +08:00
Rémi Verschelde
49e533a765 Merge pull request #88871 from lawnjelly/fix_tilemap_undo2
[3.x] Tilemap editor - prevent changing tool when mouse buttons pressed
2024-04-25 13:28:27 +02:00
Ovnuniarchos
0f638507a6 FIXED: Locale fallback selector doesn't appear in project options. 2024-04-25 12:21:59 +02:00
lawnjelly
6d036c5a3a Fix spatial_editor_plugin enum
* The `view_mesh_stats` feature introduced a new enum value `VIEW_SLECTED_INFO` within the unnamed `VIEW` enum.
* This turns out to be saved somehow, which means the view settings can get out of sync when reloading the project in an older version of the editor.
* The solution is simply to move the new value to the end of the enum so there are no conflicts.
2024-04-22 07:08:55 +01:00
lawnjelly
bdf0f78e07 Editor 3D view mesh stats
Similar to information window, add a small optional window to display face count and other stats.
2024-04-21 08:20:18 +01:00
lawnjelly
9401e18568 Merge pull request #90330 from timothyqiu/gizmo-toggle-3.x
[3.x] Add option to toggle visibility of position gizmos in 2D editor
2024-04-20 08:52:51 +01:00
lawnjelly
d63c33fa78 Merge pull request #90068 from timothyqiu/ok-i-know-3.x
[3.x] Don't error multiple times when trying to load missing default bus layout
2024-04-16 13:12:21 +01:00
Haoyu Qiu
4551bd9386 Add option to toggle visibility of position gizmos in 2D editor
Co-authored-by: J. N. Witch <127793256+J-N-Witch@users.noreply.github.com>
2024-04-16 20:10:41 +08:00
Haoyu Qiu
ed952f82bd Add is_zero_approx methods to Vector{2,3} 2024-04-10 19:02:42 +08:00
Haoyu Qiu
fbd9d389f0 Don't error multiple times when trying to load missing default bus layout 2024-03-31 17:34:13 +08:00
Morris Tabor
ae51d5ad33 Fix finding AnimationPlayer in scene import
The scene importer always assumed that the AnimationPlayer is called
"AnimationPlayer".

This is not always true: for example the GLTF importer just creates an
AnimationPlayer with the default name, which may be "animation_player",
depending on the project settings.

This fix instead chooses the first node that is an AnimationPlayer, and
warns if there is more than one.
2024-03-12 20:50:16 +01:00
Rémi Verschelde
1ad9e856a0 Merge pull request #88198 from lawnjelly/fix_facecount_bug
[3.x] Fix `Mesh::get_face_count()`
2024-03-08 17:54:04 +01:00
Rémi Verschelde
ae7dfd1f13 Merge pull request #85437 from lawnjelly/lod_scene_side
[3.x] Discrete Level of Detail
2024-03-08 17:53:58 +01:00
lawnjelly
6c35b48986 Merge pull request #88305 from Ovnuniarchos/editor_properties_fixup
[3.x] Fix EditorPropertyLocale connecting to inexistent signal `text_submitted`.
2024-03-08 14:15:55 +00:00
lawnjelly
39e61b76c6 Fix SceneTree dock filter crash
The filter was crashing for two reasons:
1) Deleting a child invalidated the iteration of children
2) Child was accessed after deletion
2024-02-28 05:42:42 +00:00
lawnjelly
50fa1896b8 Merge pull request #88828 from Mickeon/3.x-funny-regressions
[3.x] Fix TileSet editor selected regression
2024-02-27 13:34:04 +00:00
lawnjelly
6a31048dbc Tilemap editor - prevent changing tool when mouse buttons pressed
Changing tool when painting prevented the corresponding commit of undo action when the mouse button was released. This led to undo actions getting out of sync and the undo system breaking the editor.

This PR simply prevents changing tool while mouse buttons are pressed, and prevents the above scenario.
2024-02-26 15:27:31 +00:00
Micky
02a2968764 [3.x] Fix TileSet editor selected regression 2024-02-25 22:46:23 +01:00
Ansraer
1e7c60174e fix crash on mat creation after orm refactor 2024-02-16 20:51:27 +01:00
Ovnuniarchos
86b23b6473 FIXED: Trying to connect inexistent signal text_submitted. 2024-02-13 23:26:54 +01:00
lawnjelly
a32a2613e9 Fix Mesh::get_face_count()
This fixes a minor bug whereby facecount was actually returning the facecount * 3.
There were no major problems from this, but it did mean the optional threshold poly count used when merging was out by a factor of 3.
2024-02-11 12:19:52 +00:00
lawnjelly
1b5fa74e39 Discrete Level of Detail
Add scene side discrete level of detail.

New node `LOD` for UI, and `LODManager` within `World` for automatically updating child visibilities based on distance from cameras.
2024-02-10 18:54:25 +00:00
Ansraer
b9cbffd957 add ORMSpatialMaterial 2024-02-08 20:34:11 +01:00
lawnjelly
0aa22b8f13 Vertex cache optimizer
Optimizes indices to make good use of vertex cache on GPU.
2024-02-07 09:35:50 +00:00
Rémi Verschelde
828cedb569 Merge pull request #67347 from Mickeon/3.x-scene-tree-filter-woohoo
[3.x] Improve Scene Tree Dock's Node filter (Allow multiple terms & more)
2024-02-07 09:50:08 +01:00
Rémi Verschelde
e96ebf9218 Merge pull request #61568 from lawnjelly/merge_node
[3.x] Add MergeGroup node to simplify merging Meshes at runtime
2024-02-07 09:49:45 +01:00