Commit Graph

54 Commits

Author SHA1 Message Date
36622694ee Re-extracted class docs. 2024-09-08 17:02:09 +02:00
6783cb92ab Re-extracted class docs. 2024-04-26 17:32:25 +02:00
0edc5438dd Re-extracted class docs. 2024-02-25 10:26:26 +01:00
ae854d4e55 File copyright header updates pt7. 2023-12-18 00:02:58 +01:00
88e9ad04f2 Moved back the servers and resources from core. 2023-12-10 23:11:07 +01:00
11945d7f1d Split material.h. 2023-12-10 21:26:28 +01:00
9d2309bfe1 Moved shapes to core. 2023-12-10 19:58:44 +01:00
238bf1b331 Moved the RenderingServer to core. 2023-12-10 19:04:24 +01:00
3902cf1924 Moved ScneeStringNames and PropertyUtils into scene/main. 2023-12-10 18:01:51 +01:00
9df5649c1b Moved CanvasItem, Control, Node2D and Spatial under scene/main. 2023-12-10 15:50:54 +01:00
763f662263 Moved meshes to a new subfolder. 2023-12-10 15:22:09 +01:00
4cbc387c53 Moved the navigation relatred resources into subfolders. 2023-12-10 14:23:24 +01:00
2cc42b045a Moved shapes under a new shapes folder. 2023-12-10 14:10:10 +01:00
93a2081a58 Re-extracted class docs. 2023-10-12 01:59:32 +02:00
70db9caf20 Re-extracted class docs. Also fixed smaller issues. 2023-09-10 08:42:24 +02:00
e31c09d1f4 Small fixes to the docs. 2023-09-10 08:26:35 +02:00
5331ac9b85 MeshLibrary's SceneConverter will also processes the navigation layers for the items. 2023-09-05 12:25:26 +02:00
dfb5323cc1 Backported from godot4: Change GridMap navigation_layers to be per mesh_library item
Changes GridMap navigation_layers from a single bitmask for the entire GridMap to a bitmask for each item used in the mesh_library with a baked navmesh.
- smix8
61f33e205c
2023-09-05 12:23:09 +02:00
c055e8aeed Use get_navigation_map() in GridMap. 2023-09-05 12:08:25 +02:00
43c11fcdf5 Backported from godot4: Fix typo and ensure backwards compatibility for changed property names
Changes to the name of the `navmesh` and `navpoly` properties on
`NavigationRegion` caused navigation data to be lost on load.
This PR creates uses `_set`/`_get` to handle compatibility with the
older names on load, preserving the data.
Also fixes a typo on `get_vertices_per_polygon` in `NavigationMesh`,
and renames the property to remove the `polygon_` prefix which doesn't
match the setter/getter.
- DarkKilauea, akien-mga
0572346985
2023-09-05 09:13:54 +02:00
8485b37515 Ported from godot4: Fix Navigation API abbreviations inconsistency
Schema for navigation to name user facing API with  "navigation" without abbreviation and e.g. NavigationServer internals with abbr "nav".
- smix8
34e7628f5f
2023-09-04 17:09:39 +02:00
ebfba6a379 Add back the missing lines to GridMap's class doc. 2023-09-04 16:47:08 +02:00
4d23b861d5 Fix logic in GridMap::set_navigation_map(). 2023-09-02 12:11:09 +02:00
3a7ad7b883 Backported from godot4: Add GridMap function to change navigation map for baked navigation regions
Adds function to change the navigation map for baked navigation regions.
Before all cells with a baked navigation mesh were locked to the default navigation map of the world resource.
- smix8
41c529a94d
2023-09-02 12:10:06 +02:00
Haz
33b7cf4031 Fix mesh library remove selected item menu option
Fixes #45969.

(cherry picked from commits 189acbee60f3d3149577db5446d9115352f60216
and aa9d2149e74233b834d168a725c8b119cc72619c)
2023-08-30 10:47:52 +02:00
86c9343349 Updated the links in the docs. 2023-08-29 22:33:15 +02:00
8ed3b41865 Re-extracted class docs. 2023-08-26 22:41:21 +02:00
a7f1f3356c Re-extracted class docs pt2. 2023-06-13 16:51:37 +02:00
5118c434e2 Ported from godot4: Add Navigation Debug for GridMap edge connections
Adds navigation visual debug for GridMap edge connections that use baked navigationmesh with bake_navigation=true.
- smix8
4f0730d4bc
2023-06-10 23:14:09 +02:00
29784d5d5b Ported from godot4: Enable assigning an owner to navigation regions and links
This allows users of the server APIs to get back the nodes that created certain regions and links.
- DarkKilauea
5769b0e8d8
2023-06-09 19:46:44 +02:00
12b95cdc1f Ported from godot4: Add navigation layer bitmask helper functions
Adds helper functions to work with the navigation layer bitmask.
- smix8
55923ade68
2023-06-09 15:44:12 +02:00
2481e1ac65 Fix inconsistent override. 2023-06-06 15:58:40 +02:00
f04fe96da7 Ported the geometry parser for GridMap from the navigation mesh generator pr. 2023-06-06 13:52:16 +02:00
25078b1437 Ported from godot4: Remove / Replace old Navigation Debug Visualization
- removes / replaces leftovers from old navigation debug code
- cleanes SceneTree and ProjectSettings from old navigation debug
- smix8
d7f75fab60
2023-06-05 18:56:41 +02:00
smix8
6eb9ac3085 Fix GridMap free navigation RID error spam
Fixes GridMap free navigation RID error spam.
2023-04-10 09:49:50 +02:00
8d7090241a Make sure that the editor can be built even when the new code_editor module is disabled. 2023-02-17 23:20:10 +01:00
2cd4e4d828 Renamed Set to RBSet. 2023-01-15 19:42:08 +01:00
1b0aac6028 Renamed Map to RBMap. 2023-01-15 19:12:50 +01:00
227e32b67c Now modules make use of the new registration levels. 2023-01-15 17:04:00 +01:00
e9a19c1a66 Added module initialization levels (similar idea to what's in godot4, although I added more). 2023-01-15 11:46:13 +01:00
fc991ede18 Re-extracted class docs. 2023-01-14 13:38:58 +01:00
41f130d9fd Re-extracted the class docs. 2022-11-20 23:27:04 +01:00
smix8
fd5bb2f0fd Fix Editor crash when MeshLibrary gets replaced while used in an open GridMap scene 2022-11-13 00:23:55 +01:00
54643bc1fc Re-extracted class docs. 2022-10-09 12:43:55 +02:00
10437e2f01 Add missing doc classes setup. 2022-10-09 12:41:45 +02:00
51acd0c9d6 Fix setting all EDITOR_DEFs for the gridmap editor. 2022-10-08 23:41:54 +02:00
7f78bdf7fe Now MeshLibraryEditorPlugin registers itself to the export as menu. 2022-10-08 23:36:36 +02:00
d8f00dc1b4 Fix the mesh library editor plugin, and cleanups. 2022-10-08 20:57:38 +02:00
be5795add2 Also added the mesh library editor plugin. 2022-10-08 20:50:04 +02:00
4fa3ca949e Fix includes and compile for GridMap. Still not enabled. 2022-10-08 20:42:07 +02:00