1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00
Commit Graph

524 Commits

Author SHA1 Message Date
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
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
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
smix8
db6a22cb59 Fix GridMap scenario crash when outside tree
Fixes GridMap scenario crash when outside tree.
2025-05-15 23:49:42 +02:00
Scarface1809
93a366c9e5 Allow rotating selected cells in GridMap 2025-04-30 11:46:39 +01:00
Thaddeus Crews
dc9c34f0c6 SCons: Add enum conversion warning 2025-04-26 12:06:20 -05: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
5168214c48 Merge pull request #105329 from smix8/gridmap_octant_raster
Fix GridMap OctantKey cell rasterization
2025-04-22 10:44:30 -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
e2dec5146c Remove GridMap godotsphir remarks
Removes GridMap godotsphir remarks.
2025-04-20 17:13:47 +02: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
smix8
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
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
Yufeng Ying
4f4031a675 Replace size() == 0 with is_empty(). 2025-04-02 19:18:43 +08:00
Michael Alexsander
556933306a Allow to compile templates without navigation features 2025-04-01 11:53:35 -03:00
Robert Yevdokimov
943eed575b Fix GridMap shortcuts being triggered during freelook (mouse captured) 2025-03-30 00:30:38 +04:00
Michael Alexsander
5ad414d046 Allow to compile templates without physics servers 2025-03-28 11:00:44 -03: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
Thaddeus Crews
324512e11c Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06:00
Thaddeus Crews
7e5baa0426 Style: Enforce trailing newlines on svgs 2025-02-18 11:02:45 -06:00
Thaddeus Crews
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
smix8
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
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