Commit Graph

49 Commits

Author SHA1 Message Date
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
Thaddeus Crews 9426643d5f Merge pull request #91970 from jsjtxietian/add-canvasitem
Rename `"Add Node Here` to `Add 2D Node Here` to avoid confusion when right click on 2d scene to add nodes
2026-02-26 08:15:12 -06:00
Rémi Verschelde f5a290ac46 Move RenderingServer enums to a dedicated RenderingServerEnums (RSE) namespace
A number of headers in the codebase included `rendering_server.h` just for
some enum definitions. This means that any change to `rendering_server.h` or
one of its dependencies would trigger a massive incremental rebuild.

With this change, we decouple a number of classes from `rendering_server.h`,
greatly speeding up incremental rebuilds for that area.

On my machine, this reduces incremental compilation time after an edit of
`rendering_server.h` by 60s (from 2m57s).
2026-02-25 19:43:03 +01:00
Thaddeus Crews 953e6e8116 Merge pull request #109360 from DexterFstone/add-a-scene-painter-tool
Add a scene painter tool
2026-02-23 11:59:08 -06:00
jsjtxietian ee3bc98808 Rename "Add Node Here to Add 2D Node Here to avoid confusion
when right click on 2d scene to add nodes
2026-02-23 11:03:35 -06:00
DexterFstone 69f4719e05 Add a scene painter tool 2026-02-23 14:34:10 +03:30
Michael Alexsander a7575e94d6 Make tooltips from all editor modes inform about the selection menu shortcut 2026-02-20 16:23:10 -03:00
Hugo Locurcio f3ba89c381 Add H keyboard shortcut to toggle node visibility in the 2D and 3D editors
This can be used to quickly toggle visibility of all selected nodes
in the editor.

Note that the default shortcut won't work when the Scene tree dock is
focused, as incremental search takes priority over the shortcut.

This changes the Show Helpers shortcut in the 2D editor to Shift + H
by default to avoid conflicts with this new shortcut.
2026-02-19 00:04:23 +01:00
Thaddeus Crews 85ba5ffaad Merge pull request #111687 from kevinlam508/update-selection-highlight-on-hidden-select
Fix selection highlight not updating when selecting a hidden canvasitems
2026-02-16 15:02:36 -06:00
Kevin Lam b3d0b00843 Fix selection highlight not updating when selecting a hidden canvasitem lower in the tree dock 2026-02-13 20:59:08 -06:00
Lukas Tenbrink 7072a9a874 Change List copy constructor from implicit to explicit. 2026-01-30 18:58:42 +01:00
Nolan Darilek 3a94b3e265 a11y: Remove "not accessible at this time" placeholders. 2026-01-19 14:10:27 -05:00
scgm0 fe3b8cbfb4 Automatically Resample CanvasItems in Scene Editor 2026-01-07 21:56:16 +08:00
Pāvels Nadtočajevs 338cfba60a Use ObjectID to store nodes in the editor selection. 2025-12-18 09:16:43 +02:00
Pāvels Nadtočajevs e2b8c9f038 [Editor] Fix missing "+" in the bunch of tooltips. 2025-12-05 10:20:50 +02:00
Thaddeus Crews 6d8ec7e7ce Merge pull request #86930 from ryevdokimov/commit-transforms-on-mode-switch
Commit transforms done with editor gizmo on tool mode switch.
2025-11-24 16:00:07 -06:00
Silc Lizard (Tokage) Renew c6ab601364 Fix read-only state for Skeleton and Inspector 2025-11-15 23:10:15 +09:00
Thaddeus Crews 527cb4123e Merge pull request #107264 from DevPoodle/local_space_2d
Add "Use Local Space" option to the 2D editor
2025-11-14 14:22:28 -06:00
Robert Yevdokimov 9b0b9ef450 Commit transforms on editor mode switch 2025-11-14 07:11:12 -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
passivestar fac37c66c1 Fix 2d ruler visibility in modern theme 2025-11-12 12:14:11 +04:00
Thaddeus Crews 8327dfa215 Merge pull request #112092 from timothyqiu/ts-nums
Move localized number formatting methods to `TranslationServer`
2025-11-10 17:47:09 -06:00
Haoyu Qiu 72d437c030 Move localized number formatting methods to TranslationServer
Co-Authored-By: Pāvels Nadtočajevs <7645683+bruvzg@users.noreply.github.com>
2025-11-10 15:01:22 +08:00
dennmar 875e06ce89 Fix merge conflict after rebase 2025-11-09 17:59:30 -08:00
Michael Alexsander 7a42a4e157 Fix canvas editor getting stuck on drag operations 2025-10-31 13:15:15 -03:00
LuoZhihao ce2fae79b1 Fallback to parent class icon by default for gdextension 2025-10-31 18:03:32 +08:00
Michael Alexsander e06f015f95 Add a new editor theme
Co-authored-by: passivestar <60579014+passivestar@users.noreply.github.com>
2025-10-30 00:31:54 -03:00
Thaddeus Crews 31349b062f Merge pull request #111456 from YeldhamDev/put_it_on_my_tab
Fix some dragging operations in the editor breaking when tabbing out
2025-10-21 10:27:09 -05:00
Thaddeus Crews 9659dc13bd Merge pull request #102888 from Shaderd00d/clear_transform
Add shortcuts to reset position, rotation and scale in Spatial and Canvas Item Editor
2025-10-14 10:31:27 -05:00
Michael Alexsander 45e6a65a58 Fix some dragging operations in the editor breaking when tabbing out 2025-10-11 10:40:45 -03:00
Shaderman 636763276e Add shortcuts to reset position, rotation and scale in Spatial and Canvas Item Editor 2025-10-04 16:50:35 +02:00
kobewi 618afcffa6 Add pivot_offset_ratio property to Control 2025-09-30 15:27:52 +02: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 1ce3101fbc Merge pull request #110814 from Jordyfel/2d-editor-get
Cache editor setting queried in hot path in 2D editor
2025-09-24 09:59:16 -05: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
Jordyfel 7595a9061d Cache editor setting queried in hot path in 2D editor 2025-09-23 15:37:55 +03: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
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
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
DevPoodle efeb8da198 Add "Use Local Space" option to the 2D editor 2025-07-04 15:06:57 -07: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