Commit Graph

505 Commits

Author SHA1 Message Date
db6a22cb59 Fix GridMap scenario crash when outside tree
Fixes GridMap scenario crash when outside tree.
2025-05-15 23:49:42 +02:00
93a366c9e5 Allow rotating selected cells in GridMap 2025-04-30 11:46:39 +01:00
dc9c34f0c6 SCons: Add enum conversion warning 2025-04-26 12:06:20 -05:00
5b49fd4207 Selectively apply FOCUS_ACCESSIBILITY to the Labels instead of setting it by default. 2025-04-23 12:47:31 +03:00
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
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
5168214c48 Merge pull request #105329 from smix8/gridmap_octant_raster
Fix GridMap OctantKey cell rasterization
2025-04-22 10:44:30 -05:00
1c51640a1c Merge pull request #105563 from smix8/gridmap_get_quadrupled
Optimize GridMap rendering scenario quadruple-getters
2025-04-22 10:44:27 -05:00
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
e2dec5146c Remove GridMap godotsphir remarks
Removes GridMap godotsphir remarks.
2025-04-20 17:13:47 +02:00
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
172fbe403a Optimize GridMap rendering scenario quadruple-getters
Optimizes GridMap rendering scenario quadruple-getters.
2025-04-19 13:24:26 +02:00
39db6c1d3c Fix GridMap OctantKey cell rasterization
Fixes GridMap OctantKey cell rasterization that had octants at different sizes due to faulty integer division.
2025-04-17 17:57:34 +02:00
94282d88f9 Core: Use Math namespace for constants 2025-04-10 16:29:30 -05:00
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
302fa831cc Initial editor accessibility. 2025-04-08 20:25:48 +03:00
4f4031a675 Replace size() == 0 with is_empty(). 2025-04-02 19:18:43 +08:00
556933306a Allow to compile templates without navigation features 2025-04-01 11:53:35 -03:00
943eed575b Fix GridMap shortcuts being triggered during freelook (mouse captured) 2025-03-30 00:30:38 +04:00
5ad414d046 Allow to compile templates without physics servers 2025-03-28 11:00:44 -03:00
10f6c01b9c Remove ABS in favor of Math::abs 2025-03-19 13:52:40 +01:00
6f25babd6b Remove empty constructors and destructors from editor/ 2025-03-17 21:20:02 +01:00
7cb2fb189a Remove TOOLS_ENABLED checks from editor/ 2025-03-14 18:13:16 +01:00
324512e11c Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06:00
7e5baa0426 Style: Enforce trailing newlines on svgs 2025-02-18 11:02:45 -06:00
86002e1a3c Merge pull request #100882 from smix8/node_navmesh_geo_parsers
Make nodes handle their respective navigation source geometry
2025-01-16 17:18:01 -06:00
0ed2cb0439 Make nodes handle their respective navigation source geometry
Makes nodes handle their respective navigation source geometry.
2025-01-12 13:14:46 +01:00
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
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
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
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
a1846b27ea Improve use of Ref.is_null/valid
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
33817b186f Remove unused header in drivers and modules.
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>
2024-12-24 00:40:47 +08:00
97bb9b70cb Update cursor instance when calling set_selected_palette_item 2024-12-22 00:54:01 +01:00
bf4e5cca3f Make editor's shortcut names translated on-site 2024-12-18 13:00:30 +08:00
3dd60ba82f Merge pull request #100406 from smix8/gridmap_edge_debug
Fix GridMap freeing edge connection debug mesh too early
2024-12-17 23:00:07 +01:00
baf03e4fb6 Expose GridMapEditorPlugin to scripts and add methods to manipulate the selection and selected palette item 2024-12-16 21:31:05 +02:00
0ab3dc273e Rename internal EditorPlugin icon/name to match exposed methods 2024-12-15 17:31:01 -08:00
c09855627f Fix GridMap freeing edge connection debug mesh too early
Fixes GridMap freeing edge connection debug mesh too early.
2024-12-14 18:15:28 +01:00
ba39b078f5 [Scene] Add SceneStringName::FlatButton 2024-12-10 11:12:26 +03:00
689c789ab3 Merge pull request #99393 from badsectoracula/update-gridmap-editor-cursel-transform
Update gridmap editor nodes when the gridmap node transform changes
2024-11-29 22:50:51 +01:00
612981c1ea Add ShadowCastingSetting to MeshLibrary / GridMap items
Adds ShadowCastingSetting to MeshLibrary / GridMap items.
2024-11-27 01:06:21 +01:00
f37c72fcdc Update gridmap editor cursor and selection node transformations whenever the gridmap node's transformation changes 2024-11-18 14:55:19 +02:00
f5871c18bf fix hidden gizmo at start-up 2024-11-17 13:03:19 +00:00
f3344b71b1 Fix incorrect order: TTR(vformat instead of vformat(TTR 2024-11-14 11:37:17 +03:00
b811e0a73e fix shortcut conflicts with 3d editor
Now the action shorcuts (A,S,D,Z,X,C) are going through the right processing and their events are captured so they are not passed to the 3D editor. This avoids conflicts/weird behaviours if the users has set up shortcuts on these keys.
2024-11-13 11:53:48 +00:00
9be806aef1 Merge pull request #92986 from Repiteo/core/ref-instantiate-integration
Core: Integrate Ref `instantiate` where possible
2024-11-11 14:18:15 -06:00
925b690c98 Core: Integrate Ref::instantiate where possible 2024-11-10 12:41:26 -06:00
7378bb6db7 Move GridMapEditor to bottom panel 2024-11-09 16:02:26 +00:00
562c666e3d Rename internal Button icon to button_icon to match exposed methods 2024-10-29 16:23:03 -07:00