Commit Graph

580 Commits

Author SHA1 Message Date
Michael Alexsander ba709f1226 Add octant querying to GridMap 2026-04-07 12:43:28 -03:00
kobewi d62f1c8900 Add type filters to create dialog 2026-03-31 17:17:23 +02:00
Thaddeus Crews a644e7ff38 Merge pull request #114861 from dalexeev/improve-editor-only-class-checking
Improve editor-only class checking
2026-03-30 13:35:14 -05:00
Danil Alexeev 32d1f518fa Improve editor-only class checking 2026-03-25 17:07:39 +03:00
Michael Alexsander 76b2ed7c24 Make GridMap editor show mesh previews as a fallback 2026-03-24 11:32:16 -03:00
Rémi Verschelde 8416dbe3d9 Merge pull request #117525 from YeldhamDev/gridmap_ignore_repeat_selections
Make the `GridMap` editor ignore empty and repeated selections
2026-03-23 22:34:58 +01:00
Rémi Verschelde 86b84d861b Merge pull request #117521 from YeldhamDev/gridmap_view_selection_fix
Fix 3D viewport selection getting stuck when editing a `GridMap`
2026-03-23 22:34:54 +01:00
Michael Alexsander c766fb1ce8 Create a proper editor for MeshLibrary 2026-03-21 11:16:26 -03:00
Michael Alexsander 1d77e2f10f Fix 3D viewport selection getting stuck when editing a GridMap 2026-03-17 15:45:31 -03:00
Michael Alexsander 690f409998 Make the GridMap editor ignore empty and repeated selections 2026-03-17 15:12:01 -03:00
Thaddeus Crews 642f14b5bb Merge pull request #117402 from akien-mga/clangd-unused-includes-modules
Remove unused includes in `modules` with clangd-tidy
2026-03-16 11:33:07 -05:00
Rémi Verschelde 6d309c858e Remove unused includes in modules with clangd-tidy 2026-03-16 16:40:39 +01:00
Michael Alexsander 96edb55fcd Fix mouse wheel zoom scrolling contents in the GridMap editor 2026-03-15 12:26:36 -03:00
kobewi 9a0c0bf757 Remove redundant _has_main_screen() overrides 2026-03-13 13:10:09 +01:00
Thaddeus Crews 83f396d0dd Merge pull request #116973 from YeldhamDev/we_need_coordination
Add cursor coordinates to the `GridMap` editor
2026-03-06 12:40:33 -06:00
Thaddeus Crews 363de27105 Merge pull request #116814 from YeldhamDev/gridmap_selection_paste_fixes
Fix problems with undoing selection and pasting in `GridMap` editor
2026-03-06 12:40:31 -06:00
Thaddeus Crews cac8aad359 Merge pull request #116685 from YeldhamDev/gridmap_reset_button
Add button to clear rotation in the `GridMap` editor
2026-03-06 12:40:29 -06:00
Michael Alexsander 27c86165f7 Add View3DController for editor 3D view manipulation 2026-03-05 12:51:48 -03:00
Rémi Verschelde 2dd1f4ef60 Decouple node.h from scene_tree.h, minimize its other includes 2026-03-05 13:54:46 +01:00
Rémi Verschelde 18edfa5245 Explicitly include scene_tree.h where used
Pre-requisite before removing `scene_tree.h` from `node.h`
which has cascading consequences on most of the codebase.
2026-03-05 10:43:25 +01:00
Thaddeus Crews fe6f78a4c7 Merge pull request #117036 from YeldhamDev/tile_grid_focus_out
Stop drag actions in the `TileMapLayer` and `GridMap` editors when focus is lost
2026-03-04 21:03:51 -06:00
Thaddeus Crews c53c5a1f49 Merge pull request #116565 from YeldhamDev/you_unspin_me_round_round
Make possible to undo rotation of selected `GridMap` cells.
2026-03-04 14:32:42 -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
Michael Alexsander bbacc674b8 Stop drag actions in the TileMapLayer and GridMap editors when focus is lost 2026-03-03 16:13:40 -03:00
Thaddeus Crews d89e19f556 Merge pull request #116683 from YeldhamDev/grid_map_rotation_fix
Fix wrong rotation of cells while being pasted in the `GridMap` editor
2026-03-02 15:53:55 -06:00
Thaddeus Crews 524d230927 Merge pull request #116546 from YeldhamDev/where_did_that_cell_go
Fix undoing `GridMap` move operations resulting in deleted cells
2026-03-02 15:53:54 -06:00
Michael Alexsander 6c98eda54c Add cursor coordinates to the GridMap editor
Co-authored-by: Bad Sector <badsector@runtimeterror.com>
2026-03-02 15:56:07 -03:00
Michael Alexsander 4d012fe73c Fix problems with undoing selection and pasting in GridMap editor 2026-02-27 16:28:45 -03:00
Thaddeus Crews 95535167b3 Merge pull request #116778 from YeldhamDev/orbiting_around_the_world
Fix `GridMap` editor pasting when orbiting using the "Alt" key
2026-02-27 08:49:39 -06:00
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
Michael Alexsander 8882d0efb9 Fix GridMap editor pasting when orbiting using the "Alt" key 2026-02-26 18:10:07 -03:00
Thaddeus Crews fc572669de Merge pull request #116555 from YeldhamDev/gridmap_editor_touchups
Fix some UI issues with the `GridMap` editor
2026-02-26 08:15:19 -06:00
Michael Alexsander 683950826b Fix some UI issues with the GridMap editor 2026-02-25 21:37:36 -03: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 36dac9c6c9 Merge pull request #103005 from Scarface1809/grid_map_show_colliders
Add support for displaying `GridMap` collider in editor
2026-02-25 09:27:33 -06:00
Michael Alexsander 0c83b58b36 Add button to clear rotation in the GridMap editor 2026-02-23 19:29:06 -03:00
Michael Alexsander 1842f22a15 Fix wrong rotation of cells while being pasted in the GridMap editor 2026-02-23 16:44:09 -03:00
Scarface1809 e658da74e4 Feat: Support to show GridMap collider in editor 2026-02-21 01:31:15 +00:00
Michael Alexsander 513d869839 Make possible to undo rotation of selected GridMap cells. 2026-02-20 21:24:01 -03:00
Michael Alexsander 61f6005ca4 Fix undoing GridMap move operations resulting in deleted cells 2026-02-20 15:00:20 -03:00
Rémi Verschelde d364a63b88 Merge pull request #113396 from KoBeWi/Grock
Change GridMap and Replication to EditorDock
2026-02-20 11:16:26 +01:00
kobewi d6975dac11 Add FilterLineEdit to unify editor filter field navigation 2026-02-03 15:37:20 +01:00
Rémi Verschelde 63c78e684b Merge pull request #114165 from KoBeWi/static
Use actual class names in resource type hints
2026-02-02 10:10:24 +01:00
Rémi Verschelde 429750f60b Merge pull request #115093 from Ivorforce/hashmap-explicit-copy
Change copy constructors of `HashMap` and `AHashMap` from implicit to explicit
2026-01-31 22:50:51 +01:00
kobewi f7b9703cbd Use actual class names in resource type hints 2026-01-29 21:07:56 +01:00
Nintorch eb019511ed Optimize files that #include input.h header 2026-01-28 14:21:00 +05:00
kobewi fbcb94cf19 Change GridMap and Replication to EditorDock 2026-01-26 13:19:48 +01:00
Lukas Tenbrink 1825e89787 Change copy constructors of HashMap and AHashMap from implicit to explicit. 2026-01-21 13:01:23 +01:00
Michael Alexsander a45bdce763 Add and adjust more scroll hints in the editor 2025-12-17 11:15:33 -03:00