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
Thaddeus Crews
1f012286cf
Merge pull request #119154 from kitbdev/fix-shader-editor-focus
...
Only focus the shader editor when directly opened
2026-05-05 10:30:07 -05:00
Enzo Novoselic
7b82c0fe01
Remove unnecessary class_db.h includes
2026-05-02 13:08:34 -04:00
kit
301deec8b2
Only focus the shader editor when directly opened
2026-05-02 11:46:57 -04:00
kobewi
1af9455b7f
Disable auto-translation of plugin names
2026-03-30 11:58:26 +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
kobewi
9889da604a
Remove unused MSG_ID_ACTIVE
2026-03-18 20:21:39 +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
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
Rémi Verschelde
765362b033
Explicitly include core/config/engine.h where used
2026-03-04 10:17:10 +01:00
Thaddeus Crews
e380a41752
Style: Add class_db.h includes explicitly
2026-02-26 15:50:28 -06:00
Lukas Tenbrink
e75aa9ed86
Include some headers explicitly in some important spots, to estimate include costs better.
2026-02-20 15:33:03 +01:00
kobewi
e0225265b4
Fix auto-translation of EditorValidationPanel
2026-02-09 13:52:42 +01:00
Thaddeus Crews
7dae5da198
Style: Convert *.gen.inc to *.gen.h
2026-02-05 19:47:56 -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
passivestar
6f0bd2efb9
Improve spacing in trees showing table data in modern theme
2026-01-12 00:01:49 +04:00
kobewi
9f96d2199d
Add EditorDock's own DockSlot enum
2026-01-02 13:16:23 +01:00
Hugo Locurcio
db920eb7f0
Use Unicode arrow symbols throughout the editor
...
This does not apply to text printed to the Output panel, as the fixed-width
font may not have the glyph in its character set (or if it does, the arrow
character may be hard to read).
2025-12-02 01:36:35 +01:00
kobewi
67735cf213
Make bottom panel into available dock slot
2025-11-21 18:52:13 +01:00
Thaddeus Crews
b651fc3204
Merge pull request #93889 from dalexeev/gds-exclude-addons-exceptions-setting
...
GDScript: Add `debug/gdscript/warnings/directory_rules` project setting
2025-11-17 10:56:51 -06:00
Thaddeus Crews
0bede04f6f
Merge pull request #112691 from KoBeWi/remove_paddles_it's_not_ping_pong
...
Remove padding columns from plugin settings
2025-11-13 20:52:22 -06:00
Thaddeus Crews
65beea65d8
Merge pull request #108987 from timothyqiu/plugins-list-cleanup
...
Clean up `EditorPluginList`
2025-11-13 17:43:01 -06:00
kobewi
27b6500923
Remove padding columns from plugin settings
2025-11-12 23:02:50 +01:00
Danil Alexeev
1bd7b99182
GDScript: Add debug/gdscript/warnings/directory_rules project setting
2025-11-12 12:20:34 +03: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
Thaddeus Crews
755934f5f0
Merge pull request #111012 from KoBeWi/activate_never
...
Delete "Activate now?" button
2025-10-09 11:46:45 -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
kobewi
65a00fc60a
Delete "Activate now?" button
2025-09-28 22:46:30 +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
Thaddeus Crews
efb40c1524
Merge pull request #107932 from Nikitf777/polygon2d-editor-fix-remove-order
...
Fix removing wrong vertices in the Polygon2D editor when points overlap each other
2025-07-01 17:58:03 -05:00
Rémi Verschelde
a9cef6cf69
Merge pull request #107933 from Nikitf777/Fix-point-jumping-when-dragging
...
Fix points jumping when dragging starts in the Polygon2D editor
2025-06-28 13:03:05 +02:00
Rémi Verschelde
8cd5659c7c
Merge pull request #107530 from ryevdokimov/freelook-redirect-viewport
...
Fix freelook in 3D when multiple viewports are open
2025-06-25 11:47:00 +02:00
Thaddeus Crews
e5ece3c514
Merge pull request #107862 from Naros/scripteditor-clear-docs-from-script
...
Expose `ScriptEditor.clear_docs_from_script`
2025-06-24 09:58:48 -05:00
Thaddeus Crews
c157e61831
Merge pull request #107816 from Meorge/bugfix/everyone-uses-one-based-line-numbers
...
Use one-based line numbers for external text editors
2025-06-24 09:58:42 -05:00
Nikita Samusev
83aa9cf57e
Fix removing wrong vertices in the Polygon2D editor when points overlap each other
2025-06-24 15:49:45 +03:00
Nikita Samusev
8098581079
Fix points jumping when dragging starts in the Polygon2D editor
2025-06-24 15:11:13 +03:00
Malcolm Anderson
5c94b2e662
Use one-based line numbers for external text editors
2025-06-23 12:57:13 -07:00
Pāvels Nadtočajevs
a272376f89
Cleanup accessibility names.
2025-06-23 11:08:36 +03:00
Chris Cranford
7e0b1dfb25
Expose ScriptEditor.clear_docs_from_script
2025-06-22 13:55:01 -04:00
Rémi Verschelde
45533589e4
Revert "Rework scene preview thumbnails"
...
This reverts commit 08343189dc .
While the feature is great, a number of issues have been found with the
implementation, and we need more time to resolve them.
So we roll this back for 4.5, to rework the feature for a later Godot
release.
2025-06-21 00:05:57 +02:00
Rémi Verschelde
6af4ef019c
Revert follow-ups to #102313 before reverting that PR
...
This reverts the following commits:
- cd6e5ba9f4
- d36a3e5c06
- f2c6d16290
- aae51963ef
2025-06-21 00:04:39 +02:00
Thaddeus Crews
ffc267b44f
Merge pull request #92280 from dalexeev/editor-fix-built-in-script-documentation
...
Editor: Fix documentation for built-in scripts
2025-06-18 18:14:09 -05:00
Thaddeus Crews
3f99c09685
Merge pull request #107632 from gongpha/potentially-memory-leak
...
Free nodes from instantiating if it is not a `Control` in the theme editor
2025-06-18 18:14:07 -05:00
Thaddeus Crews
b0dc2b4e50
Merge pull request #107630 from gongpha/crash!-generating-thumbnails-for-invalid-scenes
...
Add null check on generating thumbnails for PackedScene
2025-06-18 18:14:07 -05:00
Thaddeus Crews
c825fcf43f
Merge pull request #107624 from timothyqiu/top-bottom-atr
...
Improve auto-translation of editor's top & bottom bars
2025-06-18 18:14:06 -05:00
Thaddeus Crews
ef46738759
Merge pull request #107622 from KoBeWi/super_edit_your_limits
...
Improve Camera2D limit editing
2025-06-18 18:14:02 -05:00