Commit Graph

1505 Commits

Author SHA1 Message Date
4faeb67438 Implemented getting users using their email from the UserDB. 2023-09-22 16:33:21 +02:00
56ae9e3734 Fix typos. 2023-09-22 16:21:37 +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
ccb6074ca9 Backported the editor constrol changes for the new shortcut system from godot4. 2023-09-07 13:41:05 +02:00
bd9abfc160 Fix clang format warnings. 2023-09-07 12:00:31 +02:00
9a2bf73280 Backported _shortcut_input() virtual from godot4. 2023-09-07 09:56:16 +02:00
4fe2f00133 The CScript module is now disabled by default. It will get re-enabled once it gets finished. 2023-09-06 21:52:30 +02:00
7fab5e4c25 Implemented a literal syntax for NodePaths in GDScript I decided on using godot4's (^). The doc already said it's '@' but that was wrong. 2023-09-06 20:45:01 +02:00
56b812f22f Fix build. 2023-09-06 09:47:06 +02:00
b506468b53 Revert "Backport implement loading DDS textures at run-time"
This reverts commit 4b76c7e89c.

Apparently it can cause issues.
2023-09-06 09:13:08 +02:00
0a9c9ca15e Ported godot pr: [3.x] Allow exporting custom resources from/to any scripting language (GDScript, VisualScript, C#, NativeScript, PluginScript)
- willnationsdev
https://github.com/godotengine/godot/pull/44879
Using the rebased version from 02d1f70ee5 by Atlinx
2023-09-06 01:45:29 +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
176a0e129c Fix querying paths. 2023-09-05 11:57:53 +02:00
8880722565 Removed cell height getters and setters from the Navigation2DServer. 2023-09-05 11:57:34 +02:00
268c27458a TileMaps now support navigation map overrides. 2023-09-05 10:46:22 +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
73c1f1f673 Fix logic in NavMap::sync(). 2023-09-04 22:00:26 +02:00
a222159442 Backported from godot4: Add NavigationServer API to enable regions and links
Adds NavigationServer API to enable regions and links.
- smix8
69fad39cf5
2023-09-04 20:22:28 +02:00
b37e0e6a4e Backported from godot4: Update navigation obstacle API
Updates navigation obstacle API.
- smix8
c1fc331b88
2023-09-04 19:55:32 +02:00
aeb4d3fbe2 Backported from godot4: Add agent pause mode to NavigationServer
Adds agent pause mode to NavigationServer.
- smix8
https://github.com/godotengine/godot/commit/ae9dd47d0c1c237d0733439862aa5ff651dcac2
2023-09-04 19:04:29 +02:00
2f036edcc5 Backported from godot4: Fix cell_height for navigation meshes
Fixes `cell_height` for navigation meshes.
- smix8
180a5cded1
2023-09-04 18:34:15 +02:00
dcd93ef8ba Backported from godot4: Fix NavMesh map_update_id returning 0 results in errors
- zorbathut
d0564f2466
2023-09-04 17:56:34 +02:00
e3f2ee62ca Backported from godot4: Fix pathfinding funnel adding unwanted point
Fixes pathfinding funnel adding unwanted point due to precision issues.
- smix8
c51e264446
2023-09-04 17:40:28 +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
06efbe1882 Added separators to TerrainWorldEditor and VoxelWorldEditor's toolbars. 2023-09-03 13:43:58 +02:00
f30f2b37b8 Small tweak to the tooltip of the quick prop convert buttons. 2023-09-03 13:25:00 +02:00
62840e8517 Use an icon for the quick prop conversion buttons instead of text. 2023-09-03 13:15:23 +02:00
201d6aa8e7 Added a VSeparator to the To Prop editor buttons. 2023-09-03 13:09:56 +02:00
ee8716a7e6 Added a VSeparator to the NavigationPolygonEditor and the NavigationMeshEditor. 2023-09-03 12:44:55 +02:00
2b0a9700b8 Remove the text from the bakle and clear buttons in the editor for the NavigationMeshEditorPlugin and the NavigationPolygonEditorPlugin. 2023-09-03 12:04:53 +02:00
915014b6df Bake the NavigationMesh on the main thread in the editor. 2023-09-03 10:59:33 +02:00
f84d928aff Backported from godot4: Improve NavigationServer.free() error msg when RID not found
Improves the error msg when NavigationServer.free() does not find the RID e.g. because it was already deleted or did never exist in the first place.
- smix8
b51cab3411
2023-09-03 09:23:39 +02:00
71fef953da Backported from godot4: Add more hints to navigation map cell size errors
Adds more hints to navigation map cell size errors.
- smix8
90e2d9fa7e
2023-09-02 13:43:37 +02:00
cb45a4b951 Backported from godot4: Fix closest possible navigation path position
Fixes closest possible navigation path position.
- smix8
e5c24f7118
2023-09-02 13:33:32 +02:00
2f1447dfe5 Backported from godot4: Add NavigationRegion rotation warning
Adds NavigationRegion rotation warning.
- smix8
4d8553ff63
2023-09-02 13:15:19 +02:00
e3f889a63b Backported from godot4: Improve navigation map synchronisation error msgs
Improves navigation map synchronisation error msgs related to mismatch of cell sizes.
- smix8
7f2417135f
2023-09-02 13:07:00 +02:00
6db8d89ab7 Backported from godot4: Add navigation map synchronization warnings.
- smix8
fef7b4efdc
2023-09-02 13:05:19 +02:00
c55f0b4520 Backported from godot4: Fix NavigationServer free error print
Fixes error print for NavigationServer free when a RID can not be found.
- smix8
73dc680fc1
2023-09-02 12:58:49 +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
23c793a488 Fix counting children even if the server is running in WebServer::get_configuration_warning(). 2023-08-30 15:18:41 +02:00
4874f08d9d Don't start the server on ready in the editor. 2023-08-30 15:16:52 +02:00
62e2b1623a Use NULLs. 2023-08-30 13:24:46 +02:00
5d93975c8d Ported: Fix custom res caching sub-res even if no-cache
-Razoric480
2ceb93bbef
2023-08-30 12:55:37 +02:00
Hugo Locurcio
892fcff2e1 Document how to use logarithm of base 10 with log()
(cherry picked from commit 3c4f0ca9c639e11b3a0673b27427538b244533b6)
2023-08-30 10:49:09 +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
Rémi Verschelde
357393cac8 pcre2: Update to upstream version 10.42 (take two)
Changelog: https://github.com/PCRE2Project/pcre2/blob/pcre2-10.42/ChangeLog

This fixes support for RISC-V architectures in the sljit library, so we
enable the module's compilation for `rv64` too.

(cherry picked from commit e289cf7085f0edda5e5ea253be6806a08abb4777)
2023-08-30 10:05:49 +02:00
86c9343349 Updated the links in the docs. 2023-08-29 22:33:15 +02:00
65d4c57233 Added translate_to() method to TranslationServer, and trt() method to Object. This let's you transalte strings into specific (noon app wide) locales. 2023-08-29 22:02:31 +02:00
bc21dc55a7 Add back markdown as a mime type to WebServerSimple as it got deleted accidentally. 2023-08-28 18:14:14 +02:00
8f352b745a Added start_on_ready property to WebServerSimple. 2023-08-28 18:03:30 +02:00
d9512f8d40 Changed the default bind host in WebServerSimple to 0.0.0.0 for convenience. 2023-08-28 17:56:37 +02:00
045ff319ce Make sure donwloads don't just eat up a thread until they are finished even if the kernel can just take all the data in HTTPServerSimple. Also update the timeout timer when there is activity in a socket. 2023-08-28 17:16:19 +02:00
ea5cddc44f The mime types dictionary now uses StringName indexes. Also compare against lowercase extensions. 2023-08-28 13:38:44 +02:00
db14d66556 Added more mime types by default. 2023-08-28 13:14:50 +02:00
d8fb0c9cef De default mime type is application/octet-stream now for files in HTTPServerConnection. 2023-08-28 12:56:18 +02:00
715737abfe Now HTTPServerSimple sends files in non-blocking mode. 2023-08-28 12:54:30 +02:00
151c30a931 Send the user's header when sending the file in HTTPServerConnection. 2023-08-28 09:15:08 +02:00
736106af8a Remove unused variables. 2023-08-27 13:19:58 +02:00
34e2ebe8cc Fix build. 2023-08-27 12:54:44 +02:00
Marcin Nowak
4b76c7e89c Backport implement loading DDS textures at run-time 2023-08-27 11:31:12 +02:00
4bc993c53f Added docs for the new Paint Nodes. 2023-08-26 22:59:37 +02:00
8ed3b41865 Re-extracted class docs. 2023-08-26 22:41:21 +02:00
7aa537869f Added the new paint nodes as shortcuts to PaintProjectToolsPropertyInspector. 2023-08-26 22:39:23 +02:00
57a3b09f24 Added icons for the new paint nodes. 2023-08-26 22:34:55 +02:00
4100e3b6a2 Fix issues with the outline mesh generation in PaintCurve2D. 2023-08-26 22:09:26 +02:00
e7eb415910 Implemented image generation for PaintCurve2D. 2023-08-26 21:55:50 +02:00
cfa067fa56 Remove anti alias settings from PaintCurve2D, as it won't be supported when rendering an image. 2023-08-26 21:23:38 +02:00
014e928e47 Set the outline to white and disable it by default in PaintCurve2D. 2023-08-26 21:21:49 +02:00
fc91416394 Added support for textured outlines in PaintCurve2D. 2023-08-26 21:19:55 +02:00
bc99a23af0 Removed the offset property from PaintCurve2D. 2023-08-26 20:27:33 +02:00
632ee28564 Removed the render segments variable from PaintCurve2D. 2023-08-26 20:21:40 +02:00
961127cfc4 Implemented fill for PaintCurve2D. 2023-08-26 20:20:32 +02:00
6148df90ef PaintCurve2D property setup. 2023-08-26 13:00:25 +02:00
94f412a352 Rework PaintPolygon2D's triangle rasterizer so both color and uv interpolation works properly. 2023-08-26 11:01:03 +02:00
43a2b7d6f3 Implemented a triangle scanline rasterizer for PaintPolygon2D. Still needs some work. 2023-08-25 23:02:01 +02:00
6fb4ece167 PaintPolygon2D modularize polygon preprocessing. 2023-08-25 21:26:46 +02:00
c22d5d8946 Remove bone and weight painting support from PaintPolygon2D. 2023-08-25 20:52:11 +02:00
edf55fde28 Renamed the new paint classes and added them to the build. 2023-08-25 19:16:52 +02:00
3424e44400 Added Path2D and Polygon2D Nodes and their editord to the Paint module. 2023-08-25 18:13:54 +02:00
8bf5c70f50 Now VoxelWorld and TerrainWorld inherits from Spatial instead of Navigation, and Terrain2DWorld inherits from Node2D insteaf of Navigation2D, as there is now a proper NavigationServer. Also this will make Node hieararchies involvig them more versatile. 2023-08-24 18:55:21 +02:00
b4fe2b0d38 Added a way to customize the doctype declaration the html tag and the body tag to WebServerRequest. 2023-07-24 17:37:34 +02:00
f28b6c0c07 Fix crash in WebServerRequest::get_url_root(). 2023-07-22 00:34:08 +02:00
a5365f8ca8 Fix build. 2023-07-13 14:47:04 +02:00
d6018f1818 Build fix. 2023-07-11 12:25:31 +02:00
719de5d54e Only build CSGGizmos when building the editor. 2023-07-11 12:18:08 +02:00
c87b5e57f0 Ported the navigation geometry parsers for the csg module. 2023-07-11 11:11:33 +02:00
d2806793bb Added back the csg module from godot. 2023-07-11 11:00:55 +02:00
b68bbd3bfb Implemented custom response headers for WebServerRequest. 2023-07-08 21:11:56 +02:00
bbbcfacd84 Re-extracted class docs. 2023-07-06 21:17:58 +02:00
4281657cf1 Ported from godot: move autotile fallback helper functions + fix comments and docs
- wareya
a40ecc71e6
2023-06-28 13:47:29 +02:00
cb344d36b8 Ported from godot: make autotiles fall back to the most similar bitmask using heuristics
- wareya
73ad6517e4
2023-06-28 13:36:14 +02:00
6d6f7a0d53 Apparently osx doesn't have the uchar.h header, so define char16_t and char32_t directly. 2023-06-24 00:00:44 +02:00
67975e335b Fixed compile errors. 2023-06-23 18:10:50 +02:00
21ad9c3cbe Fixed compile errors. 2023-06-23 17:51:36 +02:00
a47958471b Fix includes. 2023-06-23 17:11:32 +02:00