Commit Graph

42 Commits

Author SHA1 Message Date
kobewi 8cd87c2c16 Overhaul scene loading and edit state management 2026-04-14 16:53:30 +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 2dd1f4ef60 Decouple node.h from scene_tree.h, minimize its other includes 2026-03-05 13:54:46 +01:00
Thaddeus Crews bed242666a Merge pull request #116848 from billuo/bugfix/issue-116788-crash
Fix `reload_scene_from_path` may crash
2026-03-04 11:20:41 -06: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
Zhen Luo 0b4f18be7a Fix reload_scene_from_path may crash 2026-03-03 21:51:53 +08:00
kobewi 1b543e85cf Reorganize interface/editor setttings 2026-02-27 22:25:59 +01:00
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
kobewi b99d9c22a2 Fix "disabled" nodes depending on process mode 2026-02-15 19:19:07 +01:00
kobewi d6975dac11 Add FilterLineEdit to unify editor filter field navigation 2026-02-03 15:37:20 +01:00
Thaddeus Crews 0620af8db3 Merge pull request #110759 from precup/scene-tree-dock-optimizations
Optimize tree size computation and the scene tree dock filter
2026-01-28 12:27:06 -06:00
Rémi Verschelde 8c4f3c4f01 Merge pull request #114634 from YeldhamDev/the_hinting_never_ends
More scroll hint work around the editor
2026-01-07 01:42:03 +01:00
Michael Alexsander da561cd619 More scroll hint work around the editor 2026-01-06 18:34:20 -03:00
Robert Yevdokimov ed078ed438 Preserve selections when filtering nodes in scene tree 2026-01-03 12:23:59 -05:00
风青山 53222f45b9 Use ObjectID in SceneTreeEditor to compare the old and new scene roots
This is likely due to delayed function calls, causing some `SceneTreeEditor`
instances to miss the stage where the scene root is set to `nullptr`
when calling `_update_tree()`.
2025-12-09 20:43:59 +08:00
Break ef9738005a Separate Node editor dock 2025-11-22 10:17:03 +08:00
Haoyu Qiu cbd3528e01 Improve auto-translation of the replication editor
Texts in `ReplicationEditor`, `SceneTreeDialog`, `PropertySelector`.

Also the "Copy Text" button in the general warning dialog.
2025-11-15 10:22:35 +08:00
Sat 804188d320 Add indicator to linked Resources 2025-11-04 16:55:31 -03:00
LuoZhihao ce2fae79b1 Fallback to parent class icon by default for gdextension 2025-10-31 18:03:32 +08:00
Thaddeus Crews 0994b19ba4 Merge pull request #111025 from xuhuisheng/dev/clear_inheritance
Fix Clear Inheritance issues
2025-10-29 13:13:53 -05:00
xuhuisheng 766b45bdd9 Fix Clear Inheritance error 2025-10-29 21:27:50 +08:00
Mike Precup 357caceca6 Optimize tree size computation and the scene tree dock filter 2025-10-22 22:54:12 -07:00
Mike Precup 1ad3b9986e Speed up deletion in large trees via the Scene Tree Dock 2025-10-22 22:46:24 -07:00
kobewi 682b0f7c54 Add switch on hover to TabBar 2025-10-22 00:34:57 +02:00
Thaddeus Crews ed4f4d275e Merge pull request #110904 from YeldhamDev/tree_drag_unfolding
Unfold tree items on hover while drag-n-dropping
2025-10-21 15:11:01 -05:00
xuhuisheng 4ba09aceb9 should expand root when auto_expand is on 2025-10-08 13:19:23 +08:00
Michael Alexsander 26745b4b87 Unfold tree items on hover while drag-n-dropping
Co-authored-by: suddjian
2025-09-26 14:38:45 -03:00
A Thousand Ships bd65cfa876 Revert "Replace many uses of is_class with derives_from."
This reverts commit 78b743cf4a.
2025-09-25 13:48:53 +02:00
Thaddeus Crews 78b743cf4a Merge pull request #110832 from Ivorforce/is-class-to-derives-from
Replace many uses of `is_class` with `derives_from`.
2025-09-24 09:59:09 -05:00
Lukas Tenbrink 8ef4a43ada Replace many uses of is_class with derives_from. 2025-09-23 19:59:00 +02:00
Thaddeus Crews 685c7e92e5 Merge pull request #100437 from KoBeWi/ruaninstancequestionmark
Add `is_instance()` helper method to Node
2025-09-23 12:08:48 -05:00
Thaddeus Crews 709226ad1c Merge pull request #109515 from precup/speedy-selections
Speed up large selections in the editor
2025-09-22 21:00:54 -05:00
Thaddeus Crews 7ec4bd74ff Merge pull request #110320 from WhalesState/cie-lock
Fix redundant calls of `CanvasItemEditor::_update_lock_and_group_button` on `SceneTreeEditor` node selection
2025-09-22 13:28:48 -05:00
Thaddeus Crews be421bcdd4 Merge pull request #110250 from YeldhamDev/i_just_cant_keep_focused
Hide `Control` focus when given via mouse input
2025-09-22 13:28:44 -05:00
Michael Alexsander aeb3a45c97 Hide Control focus when given via mouse input 2025-09-19 13:43:29 -03:00
Mounir Tohami 320ff6bc75 Fix Redundant calls of CIE _update_lock_and_group_button on SceneTree selection. 2025-09-09 01:33:51 +03:00
Mike Precup 1c8e3f9037 Speed up large selections in the editor 2025-08-31 14:25:44 -07:00
Mike Precup e73e978d65 Misc editor speedups for large scenes 2025-08-31 13:46:33 -07:00
kobewi 11adf408ab Add is_instance() helper method to Node 2025-07-08 20:42:52 +02:00
kobewi 6402a0fd96 Fix filtered out nodes not getting deselected 2025-07-05 16:29:28 +02: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