Commit Graph

30 Commits

Author SHA1 Message Date
Thaddeus Crews 0a58981fd0 Merge pull request #109863 from KoBeWi/🚗load
Improve plugin autoloads
2026-06-25 08:32:31 -05:00
Aaron Franke f89a3efdad Organize 3D editor code and rename a few 3D things 2026-06-20 19:40:06 -07:00
smix8 eb00a8546d Split Node3DEditorViewport into a dedicated file
Splits `Node3DEditorViewport` into a dedicated file.

The main `Node3DEditorPlugin` file was one if the biggest files of the entire engine. It was getting way too big to be viewed, parsed and displayed effectively (e.g. GitHub, certain IDEs). While still big after this PR it at least splits it more or less in half.

- Moves `Node3DEditorViewport` and related helper classes to its own file `node_3d_editor_viewport` file.
- Moves the (shared) constexpr to its own file `node_3d_editor_constants` file.
- Forward declares many more classes.
- Removes unnecessary includes.
- Fixes classes that needed the actual Node3DViewport class.
2026-06-19 17:30:50 +02:00
kleonc cdc278dfa6 Fix EditorPlugin::remove_control_from_docks freeing passed control 2026-06-01 14:47:06 +02:00
kobewi a966a2a965 Improve plugin autoloads 2026-05-22 12:41:15 +02: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
Rémi Verschelde eabb9a63d4 Rename callable_method_pointer.h to callable_mp.h and include it explicitly
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.

Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
kobewi f7b9703cbd Use actual class names in resource type hints 2026-01-29 21:07:56 +01:00
kobewi 4e34dc0b4d Remove DockConstants 2026-01-27 16:43:25 +01:00
kobewi 9f96d2199d Add EditorDock's own DockSlot enum 2026-01-02 13:16:23 +01:00
kobewi 67735cf213 Make bottom panel into available dock slot 2025-11-21 18:52:13 +01:00
Thaddeus Crews 65beea65d8 Merge pull request #108987 from timothyqiu/plugins-list-cleanup
Clean up `EditorPluginList`
2025-11-13 17:43:01 -06:00
Thaddeus Crews d6c5c4eeb5 Merge pull request #107671 from dsnopek/editor-run-control
Allow editor plugins to modify run arguments
2025-10-20 18:09:32 -05:00
David Snopek fe27a72cb5 Allow editor plugins to modify run arguments 2025-10-01 07:37:40 -05:00
kobewi 97b398cba1 Rework editor docks 2025-09-29 17:30:41 +02:00
Haoyu Qiu fb476d0b0c Cleanup EditorPluginList
- Removes unused / unnecessary methods.
- Removes the `Object` parent. No `Object` features are used by this class.
- Makes the actual list a `LocalVector` instead of a `Vector`. It's not shared.
- Moves the class into a separate file. `editor_node.{h,cpp}` are bloated.
- Simplify some call sites of `EditorPluginList` methods.
2025-09-23 09:20:17 +08:00
A Thousand Ships f11aff3841 Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
A Thousand Ships a1846b27ea Improve use of Ref.is_null/valid
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
Yufeng Ying f241c1fda0 Remove unused header in editor.
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:38 +08:00
Aaron Franke 0ab3dc273e Rename internal EditorPlugin icon/name to match exposed methods 2024-12-15 17:31:01 -08:00
Allen Pestaluky 920fd47fa3 Fix CONTAINER_PROJECT_SETTING_TAB_RIGHT option of EditorPlugin to add to the right of all other tabs. 2024-10-15 15:32:14 -04:00
kobewi ecc0ab8061 Add EditorContextMenuPluginManager and refactor menu plugins 2024-09-03 23:59:25 +02:00
Rémi Verschelde 79da448d5f Merge pull request #94582 from citizenll/feat_context_menu_plugin4.x
Add support for custom items to editor right-click context menus
2024-09-03 16:13:47 +02:00
citizenl 6b2348adac Add support for custom items to editor right-click context menus 2024-09-03 20:14:14 +08:00
bruvzg 07e986f728 Allow adding custom export platforms using scripts / GDExtension. 2024-08-28 10:29:01 +03:00
Hilderin 39369db029 Fix synchronization of global class name 2024-06-25 18:33:07 -04:00
bruvzg 2fdf24375d [Editor] Fix importers add-ons after 93238 2024-06-23 21:12:00 +03:00
Haoyu Qiu 1e20612940 Allow setting editor dock tabs to icon only 2024-04-30 09:34:14 +08:00
Aaron Franke 1bcbbe96c4 Organize existing code for editor plugins 2024-04-27 11:59:58 -07:00