Commit Graph

119 Commits

Author SHA1 Message Date
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
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
Michael Alexsander 1842f22a15 Fix wrong rotation of cells while being pasted in the GridMap editor 2026-02-23 16:44:09 -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
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
Michael Alexsander a45bdce763 Add and adjust more scroll hints in the editor 2025-12-17 11:15:33 -03:00
Rémi Verschelde ff610712f5 Merge pull request #109878 from ryevdokimov/fix-grid-map-move
Fix `GridMap` Move Action Undo/Redo/Cancel
2025-12-04 13:21:31 +01:00
Rémi Verschelde cbeb7339b5 Merge pull request #112301 from smix8/grid_curser
Fix GridMap `cursor_instance` transparency error spam
2025-11-26 23:43:42 +01:00
kobewi 67735cf213 Make bottom panel into available dock slot 2025-11-21 18:52:13 +01:00
smix8 fccba5b859 Fix GridMap cursor_instance transparency error spam
Fixes GridMap cursor_instance transparency error spam.
2025-11-02 00:32:08 +01:00
mchlopecki 3ee7bf459a Add Bresenham Line to GridMap Drawing 2025-10-26 11:40:03 +03:00
Thaddeus Crews 45502d1f04 Merge pull request #104510 from fstxz/gridmap-preview-scale
GridMap: fix cell scale not applying to the cursor mesh
2025-09-30 20:10:43 -05:00
Aaron Franke 9fbf5808a0 Rename server "free" functions to "free_rid" to match exposed API 2025-09-30 16:52:25 -07:00
robert yevdokimov 812c94a20c Fix GridMap Move Action Undo/Redo/Cancel 2025-09-25 12:21:58 -05:00
Nodragem 0f1e8809f7 fix jump when cutting a selection 2025-07-24 12:21:22 +01:00
Thaddeus Crews 7dcc0548c0 Merge pull request #108026 from Fgico/gridmap-avoid-extra-clipboard-mesh-instantiation
Gridmap editor: Avoid extra mesh instantiation when setting clipboard data
2025-07-14 10:30:40 -05: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
Fgico c5a59e43ad Gridmap editor: Removed extra mesh instantiation when setting clipboard 2025-06-27 12:43:37 +02:00
Pāvels Nadtočajevs a272376f89 Cleanup accessibility names. 2025-06-23 11:08:36 +03:00
Haoyu Qiu 1301343f42 Improve auto-translation of editor's top & bottom bars
- The main menu
- The run bar
- The update spinner
- The bottom panel buttons
2025-06-18 21:11:32 +08:00
Scarface1809 93a366c9e5 Allow rotating selected cells in GridMap 2025-04-30 11:46:39 +01:00
Pāvels Nadtočajevs 5b49fd4207 Selectively apply FOCUS_ACCESSIBILITY to the Labels instead of setting it by default. 2025-04-23 12:47:31 +03:00
smix8 1742901ae4 Fix GridMap move selection crashing on invalid MeshLibrary item
Fixes GridMap move selection crashing on invalid MeshLibrary item.
2025-04-22 22:27:35 +02:00
Thaddeus Crews 0ed1c192e8 Merge pull request #105565 from smix8/gridmap_list
Replace GridMap legacy use of `List` with `LocalVector`
2025-04-22 10:44:32 -05:00
Thaddeus Crews 1c51640a1c Merge pull request #105563 from smix8/gridmap_get_quadrupled
Optimize GridMap rendering scenario quadruple-getters
2025-04-22 10:44:27 -05:00
Thaddeus Crews 9f03bbf908 Merge pull request #100723 from spoxii/patch/gridmap/palette_item_cursor
Update cursor instance when calling `set_selected_palette_item`
2025-04-21 08:24:26 -05:00
smix8 aab8dd6488 Replace GridMap legacy use of List with LocalVector
Replaces GridMap legacy use of List with LocalVector.
2025-04-19 15:58:02 +02:00
smix8 172fbe403a Optimize GridMap rendering scenario quadruple-getters
Optimizes GridMap rendering scenario quadruple-getters.
2025-04-19 13:24:26 +02:00
Thaddeus Crews 94282d88f9 Core: Use Math namespace for constants 2025-04-10 16:29:30 -05:00
Thaddeus Crews d23329a0e4 Merge pull request #104213 from ryevdokimov/shortcuts-gridmap-mouse-captrued
Fix `GridMap` shortcuts being triggered during freelook (mouse captured)
2025-04-09 18:11:54 -05:00
Pāvels Nadtočajevs 302fa831cc Initial editor accessibility. 2025-04-08 20:25:48 +03:00
Robert Yevdokimov 943eed575b Fix GridMap shortcuts being triggered during freelook (mouse captured) 2025-03-30 00:30:38 +04:00
Artemy Fedotov d1f11b2b28 GridMap: fix cell scale not applying to the cursor mesh 2025-03-23 13:42:10 +04:00
kobewi 10f6c01b9c Remove ABS in favor of Math::abs 2025-03-19 13:52:40 +01:00
kobewi 6f25babd6b Remove empty constructors and destructors from editor/ 2025-03-17 21:20:02 +01:00
kobewi 7cb2fb189a Remove TOOLS_ENABLED checks from editor/ 2025-03-14 18:13:16 +01:00
Hugo Locurcio 80b8d6dbe6 Make GridMap editor Preview Size setting take effect immediately after change
Previously, you had to interact with the zoom widget after changing
the editor setting for the preview size to update.

This also adds property hints for the GridMap editor settings.
2025-01-12 02:01:30 +01:00
Rémi Verschelde 38ffeb56f4 Merge pull request #101103 from Calinou/editor-gridmap-translucent-cursor
Make the GridMap editor cursor translucent
2025-01-06 22:48:54 +01:00
Hugo Locurcio 4e888f9987 Make the GridMap editor cursor translucent
This makes it possible to distinguish GridMap tiles that haven't been
placed yet from those that are already in place.
2025-01-03 23:21:33 +01:00
Hugo Locurcio 19b8b10218 Add an editor setting for the GridMap grid color
The opacity can be adjusted by changing the alpha channel of the color
setting. The setting applies without having to restart the editor.
2025-01-03 23:06:29 +01:00