Commit graph

15844 commits

Author SHA1 Message Date
Arseny Kapoulkine
a13a64eacd Disable normal raycaster for LOD generation by default
Normal raycaster makes LOD generation process >2x slower and often
generates normals that look significantly worse compared to what the
simplifier comes up with by default. This was likely different before
last meshoptimizer upgrade, as the attribute metric was not functioning
properly, but now it looks like it's doing more harm than good.

This change makes it disabled by default but keeps an easy option to
re-enable it per mesh using LOD parameters for now until we get more
confidence and can remove the code outright.

Because the long term plan would be to disable this feature entirely,
the scripting API isn't changed, and it's just off-by-default there with
no way to re-enable.
2024-07-02 10:18:15 -07:00
Rémi Verschelde
cae2f853dc
Merge pull request #93661 from passivestar/overview-label
Center the label in overview of script editor
2024-06-27 17:08:26 +02:00
Christian Kaiser
04f6435aa8 Fix AudioStreamPlayer icons, improve audio resource picker styling 2024-06-27 10:58:56 -03:00
passivestar
1a1d8a58ca Center the label in overview of script editor 2024-06-27 16:01:35 +04:00
Rémi Verschelde
e018b17f97
Merge pull request #93639 from passivestar/rotation-gizmo
Improve viewport rotation gizmo drawing
2024-06-27 10:06:02 +02:00
Rémi Verschelde
35016d2184
Merge pull request #93533 from jsjtxietian/import-dock
Update import dock when selecting resource in resource panel
2024-06-27 10:05:56 +02:00
passivestar
a9ef6cd418 Improve viewport rotation gizmo drawing 2024-06-26 23:33:24 +04:00
Rémi Verschelde
d119e49902
Merge pull request #93627 from passivestar/inspector-unused-vboxes
Hide unused category vboxes in inspector
2024-06-26 18:15:24 +02:00
Rémi Verschelde
783c99d5e1
Merge pull request #86467 from KoBeWi/aliens_in_my_inspector
Always call `_can_handle()` before `_parse_property()`
2024-06-26 14:51:14 +02:00
Rémi Verschelde
54dbb17273
Merge pull request #85513 from KoBeWi/that_one_weird_plugin_that_uses_no_Resources
Save external data even without scene
2024-06-26 14:51:11 +02:00
Rémi Verschelde
b0c7f45a72
Merge pull request #85228 from KoBeWi/don't_save_scene_when_saving_script_while_saving_scene
Don't insert newline while saving
2024-06-26 14:51:06 +02:00
Rémi Verschelde
869e33252d
Merge pull request #84164 from KoBeWi/slowcast_2d
Fix slow raycast editing
2024-06-26 14:51:03 +02:00
passivestar
025159f57e Hide unused category vboxes in inspector 2024-06-26 16:02:22 +04:00
kobewi
57e046541d Add a way to force history for undoredo 2024-06-26 13:24:34 +02:00
kobewi
b70368b78a Don't insert newline while saving 2024-06-26 13:19:25 +02:00
kobewi
f0da5cac7b Always call _can_handle() before _parse_property() 2024-06-26 13:10:08 +02:00
kobewi
5f695f0ab4 Rework global class hiding in addons 2024-06-25 12:38:27 +02:00
Rémi Verschelde
5d089e1a8e
Merge pull request #93518 from bruvzg/imp_fix
[Editor] Fix importers add-ons after 93238
2024-06-25 10:02:05 +02:00
Rémi Verschelde
9334068e58
Merge pull request #93507 from passivestar/bus-v-space
Add vertical separation to audio bus
2024-06-25 10:01:58 +02:00
Rémi Verschelde
dc4085060b
Merge pull request #93558 from kitbdev/fix-exit-plugin-crash
Fix crash on exit with shader editor
2024-06-25 09:25:57 +02:00
Rémi Verschelde
066555fced
Merge pull request #93581 from Calinou/editor-particles-restart-fix-shortcut
Add comment for editor particles Restart Emission shortcut not using Cmd on macOS
2024-06-25 09:20:09 +02:00
Rémi Verschelde
f597f24a07
Merge pull request #93521 from nblackburn/popupmenu-pot-gen
Include "PopupMenu" labels in POT gen
2024-06-25 09:19:53 +02:00
Rémi Verschelde
b63df071bd
Merge pull request #92514 from /addWordSeparators 2024-06-25 09:19:35 +02:00
Hugo Locurcio
555f0aa2f7
Add comment for editor particles Restart Emission shortcut not using Cmd on macOS
This is done to avoid a conflict, but it's not obvious when looking
at the code.
2024-06-25 02:22:00 +02:00
Volkan Gezer
e60678f193 enable custom separators to treat different characters as words 2024-06-24 20:43:13 +02:00
kit
da55b6a01c Fix crash on exit with shader editor 2024-06-24 11:56:46 -04:00
Rémi Verschelde
25ff1306d6
Merge pull request #93554 from akien-mga/remove-editor-pseudolocalization
Remove editor pseudolocalization debug feature
2024-06-24 17:49:13 +02:00
Rémi Verschelde
ed3eb6b643
Merge pull request #93544 from passivestar/validation-panel-label-alignment
Center the label of EditorValidationPanel
2024-06-24 17:49:07 +02:00
Rémi Verschelde
882489d15c
Merge pull request #93543 from anniryynanen/scene-tree-reselect
Fix reselecting scene tree node after inspecting a resource
2024-06-24 17:49:04 +02:00
Rémi Verschelde
2542a07e70
Merge pull request #93523 from KoBeWi/a_feature_nobody_wanted_and_also_nobody_needed
Add brief description tooltips to EditorResourcePicker
2024-06-24 17:48:58 +02:00
Rémi Verschelde
398d1d4ef9
Merge pull request #93520 from passivestar/main-screen-button-mirror
Add missing RTL styles for MainScreenButton
2024-06-24 17:48:55 +02:00
Rémi Verschelde
f11e8d033d
Remove editor pseudolocalization debug feature
We've seen multiple users enable it by mistake and get utterly confused,
reporting as a bug that the interface text is garbled.

On the other hand we haven't really seen much use of the feature by editor
UI developers, so we can likely simply remove it.

If there's a need eventually, we can re-add it as a command line option
(which is also better than an editor setting as one would typically want
to toggle it during development).
2024-06-24 17:08:26 +02:00
kobewi
40be5c4681 Add brief description tooltips to EditorResourcePicker 2024-06-24 15:08:59 +02:00
passivestar
4374761f76 Center the label of EditorValidationPanel 2024-06-24 15:22:02 +04:00
Anni Ryynänen
eed6f4fef4
Fix reselecting scene tree node after inspecting a resource
This broke when the `node_selected` connection was removed in #91435.
Here it's returned, but the emit is removed from `_node_removed`. That
preserves the earlier fix while allowing nodes to be reselected.
2024-06-24 13:17:45 +03:00
Rémi Verschelde
1abca34813
Merge pull request #93475 from KoBeWi/unified_timeline
Store TileMapLayer selection in scene's history
2024-06-24 11:14:25 +02:00
Rémi Verschelde
d4d123c8a1
Merge pull request #93435 from passivestar/themable-inspector
Make inspector spacing more themable
2024-06-24 11:14:14 +02:00
Rémi Verschelde
f9c51183bb
Merge pull request #93342 from kus04e4ek/build-fix
Fix not using `encoding="utf-8"` when writing to files or reading from them
2024-06-24 11:14:10 +02:00
jsjtxietian
e22a444235 Update import dock when select resource in resource panel 2024-06-24 12:41:00 +08:00
Nathaniel Blackburn
648d5a8525
include popupmenu labels in pot gen 2024-06-23 20:59:17 +01:00
passivestar
ea5fe1df81 Add missing RTL styles for MainScreenButton 2024-06-23 23:33:31 +04:00
bruvzg
2fdf24375d
[Editor] Fix importers add-ons after 93238 2024-06-23 21:12:00 +03:00
Thaddeus Crews
cc6dd8d02c
Style: Optimize .svg files with svgo 2024-06-23 08:15:19 -05:00
passivestar
b534efd425 Add vertical separation to audio bus 2024-06-23 16:24:53 +04:00
kobewi
230a4cb63f Store TileMapLayer selection in scene's history 2024-06-22 18:42:48 +02:00
passivestar
6bb58ca5ae Make inspector spacing more themable 2024-06-22 19:55:47 +04:00
Rémi Verschelde
16ab5345ef
Merge pull request #79054 from bruvzg/word_brk_fix
[TextServer] Fix `get_word_breaks` and its uses.
2024-06-22 16:22:03 +02:00
Hugo Locurcio
cf09cc2115
Decrease the default idle parse delay in the script editor
This makes errors reported 0.5 seconds faster compared to the previous
default value, and is closer to other code editors' behavior such as
VS Code.
2024-06-22 00:40:21 +02:00
Rémi Verschelde
3325ffbe1b
Merge pull request #92750 from bruvzg/ios_autogen
[iOS export] Automatically generate ARM64 simulator library from device library if it's missing.
2024-06-21 16:49:40 +02:00
Rémi Verschelde
4226dbf469
Merge pull request #90136 from KoBeWi/re-add_root_node
Fix `add_root_node()` being no-op
2024-06-21 16:49:37 +02:00