Commit graph

559 commits

Author SHA1 Message Date
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
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
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
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
Lukas Tenbrink
ad600125df Rewrite HashMapHasherDefault based on type traits - it is now possible to declare a default hashing function for any type.
Remove cross-project includes from `hashfuncs.h`.
Improve hashing function for `Color` (based on values instead of `String`).
Move `Variant` comparison from `hash_map.h` to `dictionary.cpp` (`VariantComparatorDictionary`), where it's used.
Remove now unnecessary `HashableHasher`.
2025-10-05 01:49:11 +02:00
Aaron Franke
3d1c9fd5de
Move server files into their subfolders 2025-09-30 19:39:39 -07: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
Thaddeus Crews
6af2341894
Merge pull request #108743 from Nodragem/fix-jump-when-cutting
Fix jump when cutting a selection in Gridmap
2025-09-25 12:13:54 -05: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
Lukas Tenbrink
8ef4a43ada Replace many uses of is_class with derives_from. 2025-09-23 19:59:00 +02:00
Hugo Locurcio
a3179a0b3c
Improve documentation related to GridMap mesh/lightmap baking 2025-07-31 16:30:32 +02:00
Nodragem
0f1e8809f7 fix jump when cutting a selection 2025-07-24 12:21:22 +01:00
Thaddeus Crews
e1e2277f5a
Merge pull request #108530 from mihe/physics-debug-perf
Fix performance regression when rendering collision shapes
2025-07-15 08:04:25 -05:00
Thaddeus Crews
f859d13035
Merge pull request #108332 from WhalesState/templates
Fix remaining physics and navigation disabling issues.
2025-07-15 08:04:22 -05: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
WhalesState
5eee6d22a0 Fix remaining physics and navigation disabling issues. 2025-07-12 17:12:42 +03:00
Mikael Hermansson
8634a8e234 Fix performance regression when rendering collision shapes 2025-07-11 20:52:58 +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