Commit Graph

3441 Commits

Author SHA1 Message Date
b4dbd26415 Backported from godot4: Expose NavigationAgent path postprocessing and pathfinding algorithm options
Exposes the path postprocessing and pathfinding algorithm options of the NavigationAgent internal NavigationPathQueryParameters object.
- smix8
6e324bb341
2023-09-03 10:12:41 +02:00
a516cf2e1b Backported from godot4: Tweak NavigationAgent3D defaults
Tweaks default values for NavigationAgent3D to work better out of the box within a new 3D project.
- smix8
8be4af38e4
2023-09-03 09:43:32 +02:00
9fd4b941e2 Backported from godot4: Unbind NavigationServer3D.process()
Unbinds NavigationServer3D.process().
- smix8
f1026450bf
2023-09-03 09:26:48 +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
935ed3c807 Backported from godot4: Tweak NavigationAgent2D defaults
Tweaks default values for NavigationAgent2D to work better out of the box within a new 2D project using default resolution.
- smix8
594ffd2200
2023-09-03 09:14:50 +02:00
d2e7ced27b Backported from godot4: Fix NavigationRegion3D debug mesh rendering twice in Editor
Fixes double rendering of NavigationRegion3D debug mesh due to both 3DGizmo and runtime debug rendering the mesh at the same time.
- smix8
0e4c31ce57
2023-09-03 08:45:25 +02:00
6ff5c5f7f3 Added missing doc for NavigationPolygon's cell_size. 2023-09-02 14:01:54 +02:00
e6e30d2f27 Backported from godot4: Disable NavigationMesh edge_max_length property by default
Disables NavigationMesh edge_max_length property by default.
- smix8
c63125c317
2023-09-02 13:46:13 +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
697d4a32fc Backported from godot4: Change 2D navigation ProjectSettings from integers to floats
Changes 2D navigation ProjectSettings from integers to floats.
- smix8
2852fb43f7
2023-09-02 13:38:20 +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
d5499c69ba Backported from godot4: Fix crash in 'NavigationAgent3D', fixes #78910
- Scony
fcbb521392
2023-09-02 13:28:16 +02:00
62c5bfbc36 Backported from godot4: Remove legacy navigation debug materials
Removes legacy navigation debug materials.
- smix8
1b506cd49c
2023-09-02 13:18:16 +02:00
2f1447dfe5 Backported from godot4: Add NavigationRegion rotation warning
Adds NavigationRegion rotation warning.
- smix8
4d8553ff63
2023-09-02 13:15:19 +02:00
09af276838 Backported from godot4: Add NavigationPolygon cell_size property
- smix8
9c8626bfd8
2023-09-02 13:12:46 +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
2d5a8a2b93 Backported from godot4: Fix --debug-avoidance description.
Fixes c&p error in --debug-avoidance description.
- smix8
d171dfce9a
2023-09-02 13:03:30 +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
8467cf9e94 Backported from godot4: Keep NavigationServer active while SceneTree is paused.
- smix8
4b0dee080e
2023-09-02 12:57:35 +02:00
d1d8f8505e Backported from godot4: Strip name prefix of navigation agent debug properties in the inspector.
- timothyqiu
65223e98de
2023-09-02 12:56:02 +02:00
2dc300a0fc Backported from godot4: Stops NavigationAgents moving to the world origin without anyone telling them to do so.
-smix8
860379fc16
2023-09-02 12:47:13 +02:00
61bf4df2f4 Fix NavigationObstacle2D::set_navigation. 2023-09-02 12:31:55 +02:00
76488d4381 Also add docs for the newly bound methods. 2023-09-02 12:26:15 +02:00
4b3a27f415 Bind get_navigation_map and set_navigation_map in NavigationObstacle2D. 2023-09-02 12:22:27 +02:00
569c2e9f85 Simplify some logic NavigationObstacle2D. 2023-09-02 12:16:31 +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
eb8943a4f6 Backported from godot4: Add Path2D/3D debug options
- smix8
e12e239ab4
2023-09-02 11:38:01 +02:00
15f092866b Fix JNI method names and java class lookup names in the android backend. 2023-08-31 21:59:44 +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
25ac0d8f49 Fix the initial value of _debug_enabled in NavigationServer. 2023-08-30 15:04:11 +02:00
2c3c7dcc73 Fix threaded bake logic in NavigationPolygonInstance and NavigationMeshInstance. 2023-08-30 14:36:33 +02:00
62e2b1623a Use NULLs. 2023-08-30 13:24:46 +02:00
7e270262f9 Ported: Fix binary internal cache not being filled
- Razoric480
d331e5c7ac
2023-08-30 13:00:53 +02:00
4a51324f7d Ported: Force external resources to have their path set
- Razoric480
420794b61d
2023-08-30 12:57:00 +02:00
5d93975c8d Ported: Fix custom res caching sub-res even if no-cache
-Razoric480
2ceb93bbef
2023-08-30 12:55:37 +02:00
c95765d515 Update the last backported commit. 2023-08-30 11:39:49 +02:00
Francois Belair
90d7912fcc Actually use loaded resource cache 2023-08-30 11:37:34 +02:00
Danil Alexeev
254cb747b7 Core: Add recursion level check for Array and Dictionary hashing 2023-08-30 11:34:00 +02:00
a96e650b7e wslay: Sync with upstream 0e7d106ff from godot. 2023-08-30 11:23:07 +02:00
5868fa025f recast: Update to upstream version 1.6.0 from Godot. 2023-08-30 11:22:03 +02:00
f9067bcfb3 mbedtls: Update to upstream version 2.28.4 from Godot. 2023-08-30 11:18:00 +02:00
Rémi Verschelde
83738e314c SCons: Disable misbehaving MSVC incremental linking
Fixes #77968.

(cherry picked from commit bc1aef88eef7bb09d1c537bf150414c50abfa374)
2023-08-30 11:16:00 +02:00
Ricardo Subtil
723b7390c1 Ensure joy_connection_changed is emitted on the main thread
(cherry picked from commit 1bb73b0689a9cc2731eee63374f07e08b35b6e6a)
2023-08-30 11:14:49 +02:00
Rémi Verschelde
8a9f27ca13 Add missing stdint.h includes for GCC 13+
Fixes #77927.

(cherry picked from commit 10676e78e33c9f5dd2e2957ecddcfd6699173ea7)
2023-08-30 11:14:32 +02:00
Riteo
913c3164b5 Build JoypadLinux sandbox detection method only with udev
Fixes an `unused-function` warning when building with `udev=no`.

(cherry picked from commit 51dfdfab967234f0fa9939bd7158cc96a9ec3547)
2023-08-30 11:13:10 +02:00
Hiroki Taira
39bb646127 Add support for DPAD Center key of Android TV remote controller
(cherry picked from commit 9dc84e35816fbb41cfabb1b6e11536edd7263c67)
2023-08-30 11:12:51 +02:00
Rémi Verschelde
5d80d2d9ca tinyexr: Sync with upstream 1.0.7
(cherry picked from commit b70e2af3b7f960370f00c11a028fb8ae0ea034d8)
2023-08-30 11:12:11 +02:00