Commit Graph

536 Commits

Author SHA1 Message Date
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
062ccd439f Now EditorPropertyEnums can be setup multiple times. 2024-03-12 06:35:44 +01:00
d630dec41a Added missing icon. 2024-03-09 08:27:24 +01:00
60eb59ab19 Backpoered from Godot 4: Add is_built_in() method to Resource.
- KoBeWi
e393c2a734
2024-03-08 21:16:16 +01:00
70bd32682c Backported from godot4: Use a SpinBox in the inspector array resize dialog.
- fire-forge
d6188b4632
2024-03-08 16:43:22 +01:00
fc18954d20 Backported from godot 4: Reduce contrast in inspector array element backgrounds.
- fire-forge, reduz
f26414762f
2024-03-08 16:14:41 +01:00
b757336215 Backported from godot4: Defer EditorInspector::update_tree to the process stage to improve performance
`EditorInspector::update_tree` is expensive, so defer the call to the process phase
to prevent multiple calls in a single frame (when switching scene tabs).
- Rindbee
f352c30ad5
2024-03-08 16:12:21 +01:00
a44fb35ca1 Bakcported a change to the EditorInspector from:
Implement polygons editors in the tiles selection mode
- groud
cec004adf0
2024-03-08 16:06:42 +01:00
d1c0bc9cde Backported from godot4:
Fix property array tooltip shows wrong ID on later pages. Also do some cleanup, use`element_position` instead of `begin_array_index + i`
- jsjtxietian
d4ac65bc48
2024-03-08 16:03:16 +01:00