Commit Graph

544 Commits

Author SHA1 Message Date
Rémi Verschelde
672cea4d08 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-13 23:48:04 +01:00
8a4da4c157 Backported: Doctool: Remove version attribute from XML header.
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).

- akien-mga

32ddd4f4e0
2024-09-20 09:00:20 +02:00
5b6ee7f500 Make sure the thumbnail view is the default in the FileSystemDock as intended. 2024-09-17 22:10:04 +02:00
dccf8a83f9 Removed feature profile dir creation from the editor. 2024-09-17 21:41:44 +02:00
7da4fbcb32 Removed the support development option from the help menu. 2024-09-17 21:31:40 +02:00
33d71ba1d4 Only keep one of de doc links in the editor's help menu. 2024-09-17 21:28:36 +02:00
e2223e72c1 Removed the donors tab from the EditorAbout window, as I'm not even trying to take donations anymore. 2024-09-17 21:16:20 +02:00
1b06889fe1 Updated the engine license in the EditorAbout window. 2024-09-17 21:13:49 +02:00
lawnjelly
34cdbd1c46 Safe Camera::unproject_position()
`unproject_position()` can fail in some circumstances, and this needs to be conveyed to calling code.
2024-09-07 09:27:25 +02:00
f377181035 Tweaks to defaults. 2024-07-18 08:14:27 +02:00
5991e9313a Fix warning. 2024-07-16 23:40:00 +02:00
f9507dc475 Clang format everything again. 2024-07-16 21:29:26 +02:00
8181808b74 Ran the header guard move script. 2024-07-16 21:27:34 +02:00
c7ac1db971 Clang format everything. 2024-07-16 21:23:54 +02:00
247b04763f Improvements to the filesystem dock. 2024-07-16 21:00:57 +02:00
85945392a3 An another small tweak. 2024-07-16 20:46:09 +02:00
38dd206a3b Tweaks to the editor defaults. 2024-07-16 20:19:54 +02:00
4840b3d1e3 Improved the renderer selector when creating a new project. 2024-07-16 20:03:07 +02:00
efccdca45f Added back GIProbes. 2024-07-16 19:07:24 +02:00
85cddb07b4 Renamed Particle to GPUParticle and Particle2D to GPUParticle2D pt4. 2024-07-16 16:59:21 +02:00
7c5e16effb Renamed Particle to GPUParticle and Particle2D to GPUParticle2D pt2. 2024-07-16 16:14:42 +02:00
db3680f8e7 Fix includes. 2024-07-16 16:06:23 +02:00
cac80e3167 Renamed Particle to GPUParticle and Particle2D to GPUParticle2D pt1. 2024-07-16 16:02:00 +02:00
9af21bf8a5 Adding back the gpu based particles pt1. 2024-07-16 08:22:27 +02:00
9d6680ce6d Adding back the GLES3 renderer pt1. Unlike in godot it can be disabled compile time. It will be enabled afer if works. 2024-07-16 00:14:10 +02:00
f297ccbc7d Added back the scene side lighmapper classes. 2024-07-15 21:20:48 +02:00
d899382c30 Added back the xatlas_unwrap module. Also moved xatlas into it so it's not in the thirdparty folder. 2024-07-15 20:21:33 +02:00
98cbf1026a Adding back lightmaps pt1. 2024-07-15 17:36:28 +02:00
9d8dfe2a31 Remove unused includes. 2024-07-14 09:55:25 +02:00
5ede674cb4 Fix build. 2024-07-14 09:54:36 +02:00
lawnjelly
9c1d49c6a1 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-07-14 09:50:36 +02:00
lawnjelly
113b4d8f84 Editor 3D view mesh stats
Similar to information window, add a small optional window to display face count and other stats.
2024-07-14 09:47:31 +02:00
Haoyu Qiu
3ba2db45b4 Fix long category name display in Inspector 2024-07-14 08:43:11 +02:00
lawnjelly
84864fbe35 Optimize Editor _init_grid()
Use static `LocalVectors` instead of `PoolVectors` for temporaries.
2024-07-14 08:22:51 +02:00
Ovnuniarchos
c96a4b0317 FIXED: Locale fallback selector doesn't appear in project options. 2024-07-14 07:38:52 +02:00
b1261c65c5 Fix the type of the rotation tracks in AnimationTrackKeyEdit. 2024-05-11 20:08:33 +02:00
06e0be8d04 Remove unused variable. 2024-04-26 23:55:16 +02:00
a0cbd4f777 Remove unused variable. 2024-04-26 22:30:55 +02:00
f09ab537e0 Clang-format everything. 2024-04-21 15:27:36 +02:00
Haoyu Qiu
63fac11503 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-21 14:27:27 +02:00
Haoyu Qiu
8f7ea2132b Don't error multiple times when trying to load missing default bus layout 2024-04-21 14:15:09 +02:00
e27a506312 Hide the FileSystemDock's empty dock slot when it's in bottom bar mode by default. 2024-04-17 20:57:10 +02:00
f6d9ca069f Fix build. 2024-04-06 13:46:57 +02:00
Ovnuniarchos
efcdf40d0c FIXED: Trying to connect inexistent signal text_submitted. 2024-04-06 12:37:10 +02:00
bruvzg
620b30a86a Backport locale selection improvements. 2024-04-06 12:37:02 +02:00
lawnjelly
a607ec6545 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-04-06 12:24:45 +02:00
lawnjelly
909acac329 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-04-06 12:06:01 +02:00
Morris Tabor
b9f8901b5e 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-04-06 11:06:20 +02:00
lawnjelly
da78ed110a 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-04-06 10:42:03 +02:00
f277dfc227 Don't use icons and don't sort in EditorQuickOpen for some easy speed gains. 2024-03-17 08:41:30 +01:00