Commit Graph
246 Commits
Author SHA1 Message Date
GabCoolGuy 8ef3779eed Fix incorrect freed autoload check
To check if an autoload was freed, it currently checks for `scene_file_path` by using `Node::is_instance()`, and not if it was actually freed or not. I fixed it by checking if the node is inside the tree, as a freed node cannot be inside the tree anyway.

This sometimes caused crashes when plugins handle their autoloads weirdly (e.g PhantomCamera), which this fixes.

(cherry picked from commit 6848ea595e91cf6a1d5dc4f88c964f8d1f6de178)
2026-07-25 13:19:50 -05:00
Natalie Martin 5ccc031eca Editor: Fix crash in project settings when autoload has been freed
The `EditorAutoloadSettings` class does not expect an autoload node to
be freed in between its initial instantiation and any calls to
`update_autoload()`. But this actually *can* happen if the autoload is
an editor script and happens to run something like `queue_free()`
shortly after being initialized.

When this happens, opening the project settings panel results in a
crash, since the editor is trying to locate data such as the node's
script after it has already been deleted.

To fix this, just verify that the node still exists prior to accessing
any of the node's data.

(cherry picked from commit 90d0be8fa34f69bd7cf3a40432a2504234fa5797)
2026-07-04 11:03:29 -05:00
Silc Lizard (Tokage) Renew d9a2356f3f Make animation folding access cfg only at save/load project time
(cherry picked from commit 7788fc4fd2d9c6c5e0dbbd2bd5215b06f1aca304)
2026-06-23 08:33:32 -05:00
Anish Kumar d333da746e Disable navigation gizmo by default for Desktop platforms 2026-06-04 21:15:46 +05:30
Michael Alexsander e2278afdd3 Fix and improve selection behavior in the Filesystem dock 2026-05-14 11:08:24 -03:00
Thaddeus Crews 8699d855f7 Merge pull request #117846 from YeldhamDev/layout_dialog_fixes
Fix and improve the editor layout dialog
2026-05-06 14:56:30 -05:00
Thaddeus Crews a9de7afd05 Merge pull request #119218 from Goldenlion5648/fix-input-binding-bugs
Fix bugs with editing enter key shortcuts
2026-05-06 14:56:30 -05:00
Michael Alexsander 10ac7baae2 Fix and improve the editor layout dialog 2026-05-04 21:40:21 -03:00
Thaddeus Crews 176b795177 Merge pull request #119174 from StarryWorm/remove-classdb-pragmas
Fix pragma includes
2026-05-04 12:40:40 -05:00
Thaddeus Crews 65f8546689 Merge pull request #118891 from YeldhamDev/asset_editor_setting
Move asset store repo list to the editor settings file and rename it
2026-05-04 12:40:38 -05:00
Goldenlion5648 3c915d8d4f fix bugs with editing enter key shortcuts 2026-05-04 11:48:58 -04:00
Enzo Novoselic 7b82c0fe01 Remove unnecessary class_db.h includes 2026-05-02 13:08:34 -04:00
Michael Alexsander 5eacca38fe Move asset store repo list to the editor settings file and rename it 2026-04-24 20:22:41 -03:00
kobewi 8f1d43384a Fix per-project overrides not working for language 2026-04-24 22:46:00 +02:00
Pāvels Nadtočajevs 68d6b92adf Do not use empty string as editor locale. 2026-04-21 09:10:17 +03:00
Rémi Verschelde 637e23472b Merge pull request #112992 from YeldhamDev/asset_store_new_api
Improve asset store and port it to the new API
2026-04-15 12:40:26 +02:00
Thaddeus Crews 53156fc135 Merge pull request #118266 from Akosmo/fix-audio-bus-db-labels
Revamp audio bus UI
2026-04-13 11:46:00 -05:00
Akosmo 5e6c1f2418 Revamp audio bus UI 2026-04-13 06:42:45 -03:00
Michael Alexsander 2b835503cf Improve asset store and port it to the new API 2026-04-11 12:56:08 -03:00
Thaddeus Crews a66b9ec3f1 Merge pull request #116156 from ryevdokimov/view-axis-gizmo-no-restart
Make changing `view_plane_rotation_gizmo_scale` not require editor restart
2026-04-08 09:25:44 -05:00
Thaddeus Crews 2efa9d3bce Merge pull request #118169 from raulsntos/dotnet/build-in-command-palette
Add "Build C# project" to command palette
2026-04-08 09:25:32 -05:00
Thaddeus Crews 8f0ebc2f2b Merge pull request #117754 from allenwp/renderer_selector_editor_setting
Hide renderer selector in main editor window and add editor setting
2026-04-07 06:44:44 -05:00
Raul Santos 5abbedebe0 Fix CommandPalette for commands that open EditorProgress 2026-04-03 23:26:51 +02:00
Thaddeus Crews 33536fbe11 Merge pull request #118096 from uno1982/mobile-haptic-editor-restart
Android: Add missing set_restart_if_changed for haptic_on_long_press
2026-04-02 12:33:25 -05:00
Thaddeus Crews 0df88c38e1 Merge pull request #117633 from Goldenlion5648/search-shortcuts-by-path
Allow searching editor shortcuts by path
2026-04-02 12:33:19 -05:00
uno1982 0ab60fb65b Android: Add missing set_restart_if_changed for haptic_on_long_press setting
The haptic_on_long_press editor setting was missing set_restart_if_changed,
meaning toggling it in the UI would not take effect until the editor was
manually restarted without any prompt to do so.
2026-04-01 18:26:50 -05:00
Aaron Franke a940455f36 Allow viewing GDExtensions from inside project settings 2026-04-01 15:42:48 -07:00
Goldenlion5648 a5c45777ec allow searching editor shortcuts by path 2026-04-01 10:49:44 -04:00
Thaddeus Crews 06c3946e35 Merge pull request #117906 from YeldhamDev/build_it_up_tear_it_down
Fix some regressions with the build profile editor
2026-03-30 13:35:49 -05:00
Thaddeus Crews 1d6e1416cb Merge pull request #117956 from marcozee03/fix-input-event-configuration-dialog
Fix crash caused by input configuration dialog
2026-03-30 13:35:48 -05:00
Thaddeus Crews 879a3012c8 Merge pull request #117358 from bruvzg/prop_ac_disc
[Accessibility] Add property/category/section descriptions to the inspector.
2026-03-30 13:35:31 -05:00
Thaddeus Crews adeed3a45b Merge pull request #117878 from Jordyfel/compilation-configuration-editor-fix
Fix compilation configuration editor not working
2026-03-30 13:35:28 -05:00
Thaddeus Crews a644e7ff38 Merge pull request #114861 from dalexeev/improve-editor-only-class-checking
Improve editor-only class checking
2026-03-30 13:35:14 -05:00
Marco Zepeda f69370b260 Fix crash caused by input configuration dialog 2026-03-29 04:14:21 -04:00
Michael Alexsander 25b80e589e Fix some regressions with the build profile editor 2026-03-27 13:47:27 -03:00
StarryWorm 4ae336740d Add missing resource_*.h includes
Add missing `resource_importer.h` includes
Add missing `resource_loader.h` includes
Add missing `resource_saver.h` includes
2026-03-27 07:03:39 -04:00
Jordyfel 481e3b41ef Fix compilation configuration editor not working 2026-03-26 21:56:07 +02:00
Danil Alexeev 32d1f518fa Improve editor-only class checking 2026-03-25 17:07:39 +03:00
Rémi Verschelde 970f8236b5 Merge pull request #117733 from KoBeWi/autranslator_localized_(i.e._at_location)
Add `_get_tooltip_auto_translate_mode_at()` to Control
2026-03-23 22:36:15 +01:00
Allen Pestaluky 85b45fd58e Hide renderer selector in main editor window and add editor setting to show it. 2026-03-23 10:58:28 -04:00
kobewi 0d220b35a5 Add _get_tooltip_auto_translate_mode_at() to Control 2026-03-22 17:56:46 +01:00
Michael Alexsander c766fb1ce8 Create a proper editor for MeshLibrary 2026-03-21 11:16:26 -03:00
Thaddeus Crews 6782fe44c2 Merge pull request #117477 from YeldhamDev/build_profile_res_nodes_only
Build profile: only allow classes derived from `Resource` and `Node` to be disabled
2026-03-19 10:19:55 -05:00
Rémi Verschelde e33e98a26f Style: Apply clang-format grouping rules 2026-03-17 20:11:01 +01:00
Thaddeus Crews 256da15c7d Merge pull request #115462 from YeldhamDev/tired_of_doing_this_manually
Add a way to clear the cache for the build profile generator
2026-03-16 11:33:09 -05:00
Michael Alexsander 013662361b Allow only classes derived from Resource and Node to be disabled 2026-03-16 11:51:43 -03:00
Niklas a2e6681130 add editor setting to make move confirm dialog optional 2026-03-16 11:37:41 +01:00
Rémi Verschelde 005e054245 Remove unused includes in editor with clangd-tidy
Also includes the few changes flagged in `main`.
2026-03-15 20:47:05 +01:00
Rémi Verschelde d9b81615e5 Remove unused includes in platform with clangd-tidy
Handled Linux, Windows, Android, and (partially) Web.
2026-03-14 22:37:05 +01:00
uno1982 e2e1c89723 Android: Add haptic feedback on long-press right-click in the editor
Trigger haptic feedback when a long-press gesture fires a right-click
(context menu) in the Android editor. Uses Android's native
`HapticFeedbackConstants.LONG_PRESS` on the render view surface.

An editor setting `interface/touchscreen/haptic_on_long_press` is added
under the existing touchscreen section to allow users to disable this
behavior. The setting defaults to enabled on native touchscreen devices.
2026-03-14 11:32:07 +01:00