Commit Graph

365 Commits

Author SHA1 Message Date
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
Thaddeus Crews b427979ee5 Merge pull request #115083 from aaronfranke/editor-filesystem-changed-thread
Guard against non-main-thread emission of EditorFileSystem changed signal
2026-06-18 15:14:11 -05:00
Thaddeus Crews 32159caaf4 Merge pull request #117849 from WoodWood1299/nonresizable-confirmation-dialogue
Editor: Fix accept/confirmation dialogs being resizable
2026-06-18 15:14:02 -05:00
Thaddeus Crews c57778be4a Merge pull request #120285 from NoNormalDev/zerofavourites
Fix visiblity bugs in `SceneTreeDock._update_create_root_dialog`
2026-06-18 13:15:28 -05:00
Thaddeus Crews c2b4471b03 Merge pull request #119820 from bruvzg/gr_popup
Fix `PopupMenu`s keeping old size when `GraphNode` scale is changed.
2026-06-18 13:15:25 -05:00
Thaddeus Crews c48458d5ba Merge pull request #119790 from KoBeWi/dubious_ownership
Fix ownership issues when pasting as replacement
2026-06-18 10:18:58 -05:00
Michael Alexsander c75b1bf5d3 Fix broken icons when moving the FileSystem dock to the bottom 2026-06-17 12:48:46 -03:00
Aaron Franke 4f898b498f Guard against non-main-thread emission of EditorFileSystem changed signal 2026-06-14 16:31:59 -07:00
NoNormalDev fb3703e0ad Fix SceneTreeDock visiblity bugs in _update_create_root_dialog 2026-06-14 16:54:27 +02:00
kobewi 204249c9d6 Fix ownership issues when pasting as replacement 2026-06-12 16:05:25 +02:00
Edward Chan 135a7361a2 Fixed 'Move Up/Down' editing foreign nodes. 2026-06-04 12:24:08 -04:00
Thaddeus Crews dba2dd36d0 Merge pull request #119909 from EdwardChanCH/fix_change_type_selection
Fix "Change Type" ignoring non-top-level nodes and editing foreign nodes
2026-06-03 11:02:36 -05:00
Edward Chan 8984aff92c Fixed 'Change Type' ignoring non-top-level nodes and editing foreign nodes/ being available when it is not. 2026-06-02 20:29:55 -04:00
Edward Chan d9c53f29e0 Fixed 'Open Documentation' ignoring non-top-level nodes. 2026-06-02 20:01:48 -04:00
Pāvels Nadtočajevs 5956310753 Fix PopupMenus keeping old size when GraphNode scale is changed. 2026-05-27 19:27:48 +03:00
Thaddeus Crews 38aa1881d9 Merge pull request #119642 from YeldhamDev/filesystem_oopsie
Fix collapse state regression in the FileSystem dock
2026-05-26 10:09:38 -05:00
Thaddeus Crews ff37378bed Merge pull request #119717 from EdwardChanCH/fix_paste_as_replacement_v2
Change disabled "Paste" options to hidden
2026-05-25 11:19:06 -05:00
Edward Chan a4a4bdf3ae Changed disabled 'paste' options to hidden. 2026-05-24 16:28:42 -04:00
Michael Alexsander e1732f7643 Fix collapse state regression in the FileSystem dock 2026-05-22 14:04:42 -03:00
Thaddeus Crews 4b72c6c1ab Merge pull request #119450 from norepro/filesystem-split-styles
Fix FileSystem dock styles across split modes
2026-05-22 10:57:57 -05:00
Thaddeus Crews 41f4d70682 Merge pull request #119627 from KoBeWi/K.O.lon
Remove colon from Favorites in FileSystem
2026-05-21 09:25:05 -05:00
kobewi 7263d9c8e0 Remove colon from Favorites in FileSystem 2026-05-21 00:08:37 +02:00
Will Sheehan 95ab8e16fe Two commits for scroll hints had impact on FileSystem dock style:
- f187b8b2bf introduced `TreeSecondary` for the tree pane, but only applied it in horizontal split mode.
- a45bdce763 removed the existing `ItemListSecondary` from the file list in vertical split mode.

The combination results in vertical split and tree-only not having background styles while horizontal split does.

Apply `TreeSecondary` and `ItemListSecondary` styles in all split modes. This gives consistency between the modes and with other elements.

Fixes #119359
2026-05-20 13:22:20 -07:00
Thaddeus Crews 344b64e508 Merge pull request #119506 from KosumovicDenis/fix-reparent-to-new-node-selection
Editor: Fix 'Reparent to New Node' when selecting from bottom to top
2026-05-20 14:33:15 -05:00
Thaddeus Crews 42a8b47ef7 Merge pull request #113059 from Spartan322/fix/that-one-off-scene-tree-dock-macro
Fix typo "END_SECTIOn" macro undef to END_SECTION for scene_tree_dock.cpp
2026-05-19 11:18:22 -05:00
Thaddeus Crews f04809882b Merge pull request #119367 from YeldhamDev/filesystem_keep_selection
Fix and improve selection behavior in the Filesystem dock
2026-05-19 11:18:19 -05:00
Michael Alexsander a4ae048b73 Fix some issues with the editor dock tabs 2026-05-19 12:13:26 -03:00
Edward Chan 5ef41e6307 Fixed missing shortcut for opening inherited scene. 2026-05-18 11:29:36 -04:00
KosumovicDenis 14714594ca Editor: Fix 'Reparent to New Node' when selecting from bottom to top 2026-05-16 11:06:41 +02:00
Michael Alexsander e2278afdd3 Fix and improve selection behavior in the Filesystem dock 2026-05-14 11:08:24 -03:00
Thaddeus Crews fe34aa9aed Merge pull request #118853 from KoBeWi/final_final_v2
Assign final path when creating built-in Resources
2026-05-12 12:25:45 -05:00
Thaddeus Crews 96ef330f3b Merge pull request #117626 from dinklydoo/fix/117625-base-folder-if-dne
Editor: Default to base folder if saved editor layout folder does not exist
2026-05-12 12:25:41 -05:00
Thaddeus Crews 07ced0474a Merge pull request #119362 from kimjune01/fix/filesystem-dock-drag-empty-space
Fix dragging unselected items from FileSystem dock file list
2026-05-12 12:25:40 -05:00
Thaddeus Crews 654e5f55fd Merge pull request #119309 from AdriaandeJongh/apply-rotation-scale-skew-after-replace
Re-apply entire transform after 'Paste as Replacement', not just position
2026-05-11 10:59:46 -05:00
dinklydoo 6fb72eddc9 Editor: Improve multi-selection and error-handling in saved editor layouts #117626 2026-05-12 01:17:29 +10:00
João Diniz 0046f29e63 Editor: Mark simple confirmation/accept dialogs as non-resizable
Adds set_flag(FLAG_RESIZE_DISABLED, true) to ConfirmationDialog and
AcceptDialog instances which only contain plain content. Dialogs
with content that could leave the borders of the dialog were kept
as resizable.

The flag is set explicitly at dialog creation time, instead of the
previous auto-detect approach. In cases of uncertainty, the dialog was
left as resizable.
2026-05-10 01:35:46 +01:00
June Kim c92b824830 fix: prevent dragging unselected items from FileSystem dock
When clicking empty space or an unselected item in the file list panel,
`get_drag_data_fw` previously returned the full selection, causing the
wrong files to appear dragged during the deadzone before the drag
actually starts.

Guard on both `get_item_at_position` returning -1 (empty space) and
the item not being selected, so only deliberate drags on the current
selection initiate drag-and-drop.

Fixes #119358.
2026-05-09 09:21:07 -07:00
Adriaan de Jongh b372dc64a0 re-apply entire transform after 'Paste as Replacement', not just position 2026-05-08 16:45:28 +02:00
Thaddeus Crews 9c36ef4749 Merge pull request #116905 from KoBeWi/slashtableflip
Overhaul scene loading and edit state management
2026-05-07 11:13:25 -05:00
Thaddeus Crews d39dc7eb08 Merge pull request #118879 from KoBeWi/root_keeper
Fix Paste as Replacement replacing root
2026-05-05 10:30:04 -05:00
Enzo Novoselic 7b82c0fe01 Remove unnecessary class_db.h includes 2026-05-02 13:08:34 -04:00
Thaddeus Crews 1b2e97619d Merge pull request #111051 from KoBeWi/make_subresources_undo
Add proper undo to Make Sub-Resources Unique
2026-04-29 12:28:48 -05:00
Thaddeus Crews 2101e25a10 Merge pull request #117690 from jack-klein-5/add-error-for-base-folder-edge-case
Remove duplication popup when trying to duplicate res://
2026-04-28 09:02:45 -05:00
Thaddeus Crews e35649944e Merge pull request #118888 from KoBeWi/access_denied
Fix EditorDock accessibility properties
2026-04-28 09:02:40 -05:00
Thaddeus Crews 8df803f2a2 Merge pull request #115282 from YeldhamDev/node_removal_undo_fix
Fix properties being set before nodes are readded when undoing removals
2026-04-27 12:05:45 -05:00
kobewi 22fad60374 Add proper undo to Make Sub-Resources Unique 2026-04-26 03:30:31 +02:00
jack-klein-5 2619ef3f2c Prevent user from trying to duplicate res://
Fixes #117624 where attempting to duplicate res:// directory opens
duplication popup. This change would instead prevent user silently.
2026-04-24 14:05:42 -07:00
kobewi b246d4361d Fix EditorDock accessibility properties 2026-04-23 17:38:33 +02:00
kobewi 7e348865d7 Fix Paste as Replacement replacing root 2026-04-23 09:44:17 +02:00
kobewi 88bce0d480 Assign final path when creating built-in Resources 2026-04-22 17:49:57 +02:00