Commit Graph

33952 Commits

Author SHA1 Message Date
Pedro J. Estébanez f971c886fa Add safe defaults for async shader compilation 2022-06-28 11:50:38 +02:00
Rémi Verschelde d74ff8dd93
Merge pull request #62440 from timothyqiu/thread-func-base
[3.x] Check thread func in base scripts for argument info
2022-06-28 08:11:11 +02:00
Rémi Verschelde f0cfe3a83b
Merge pull request #62173 from Faless/gdnative/3.x_mingw_dllexport_plus 2022-06-27 14:10:54 +02:00
Rémi Verschelde ae60597930
Merge pull request #51815 from m4gr3d/refactor_android_storage_handling 2022-06-27 11:56:36 +02:00
Haoyu Qiu f740b4f481 Check thread func in base scripts for argument info 2022-06-27 11:24:04 +08:00
ne0fhyk 24e3b3b88d Add full support for Android scoped storage.
This was done by refactoring directory and file access handling for the Android platform so that any general filesystem access type go through the Android layer.
This allows us to validate whether the access is unrestricted, or whether it falls under scoped storage and thus act appropriately.
2022-06-26 16:53:02 -07:00
Clay John ff78e2d4c5
Merge pull request #62432 from RandomShaper/fix_async_hidden_shadow_3.5
[3.5] Fix shadows not casted by async hidden materials
2022-06-26 13:45:58 -07:00
Rémi Verschelde 98b4a7c2da
Merge pull request #61692 from madmiraal/android-ndk-23-3.x
[3.x] Upgrade Android NDK to r23 LTS
2022-06-26 21:24:14 +02:00
Pedro J. Estébanez a46da9311e Fix shadows not casted by async hidden materials 2022-06-26 21:21:07 +02:00
Rémi Verschelde af4e3cb931
Merge pull request #62290 from madmiraal/fix-61816-3.x
[3.x] Remove broken scroll gesture on Android
2022-06-26 08:38:08 +02:00
Marcel Admiraal 061c280873 Upgrade Android NDK to r23 LTS 2022-06-25 16:02:19 +01:00
smix8 928c488888 Document limits of using meshes to obstruct navigation mesh baking
Recast (the library used for baking) has no concept of a geometry "inside" and this is intentional. ReCast will add navigation mesh to areas as soon as the area inside a source geometry mesh is large enough to fit a navigation mesh polygon with current baking parameters.

(cherry picked from commit 85cdb1144d)
2022-06-25 12:41:37 +02:00
Rémi Verschelde b9057a71ae
Merge pull request #62392 from timothyqiu/valid-integer
[3.x] Fix code example of `String.is_valid_integer()`
2022-06-25 10:01:45 +02:00
Haoyu Qiu 6fb76ba266 Fix code example of String.is_valid_integer() 2022-06-25 10:10:27 +08:00
Rémi Verschelde f428bfd456
Merge pull request #62370 from timothyqiu/http-request-doc-3.x
[3.x] Make code example in HTTPRequest classref working
2022-06-24 23:21:10 +02:00
smix8 721c99a530 Add NavigationServer map_force_update() function
Adds map_force_update() function to NavigationServer. This function immediately flushes the Navigationserver command queue and recalculates all navigationmeshes and region connections for a specific map.

(cherry picked from commit fdea269805)
2022-06-24 10:19:00 +02:00
smix8 f0069cc1e9 Add NavigationServer.region_owns_point() helper function
Adds a helper function to check if a world space position is currently owned by a navigation region.

(cherry picked from commit e57360d8df)
2022-06-24 10:19:00 +02:00
Rémi Verschelde 83fae1dfa9 Mono: Update Newtonsoft.Json to 13.0.1
See https://github.com/advisories/GHSA-5crp-9r3c-p9vr

(cherry picked from commit 870c02143b)
2022-06-24 10:12:13 +02:00
Haoyu Qiu c31ce5be02 Make code example in HTTPRequest classref working 2022-06-24 12:05:21 +08:00
smix8 38ee593b76 Add Navigation function to get all navigation maps
Added new function that returns all created navigation map RIDs from the NavigationServer. The function returns both 2D and 3D created navigation maps as technically there is no distinction between them.

(cherry picked from commit c0fed1d4e8)
2022-06-23 16:29:11 +02:00
smix8 7bcb9fddc9 Disable thread-unsafe EditorProgress for navmesh baking
Disables navmesh baking EditorProgress for now until fixed as EditorProgress is not thread-safe and uses hacks and Main::iteration() for steps which can result in random crashes when baking navmesh.

(cherry picked from commit 24bb0af4a9)
2022-06-23 16:29:11 +02:00
smix8 fcff804844 Implement NavigationMesh bake area
Adds two new properties to NavigationMesh resources to restrict the navmesh baking to an area enclosed by an AABB with volume.

(cherry picked from commit 0c4d99f4fd)
2022-06-23 16:17:43 +02:00
Gustavo Maciel a38119a746 Update android:targetSdkVersion from 30 to 31
Starting in August 2022, new apps will need to target API level 31 (Android 12) or higher and adjust for behavioral changes.

Read more here: https://developer.android.com/google/play/requirements/target-sdk

(cherry picked from commit ec6d5d6cba)
2022-06-23 15:59:15 +02:00
Rémi Verschelde f963025bfd
Merge pull request #62347 from salamandars/3.x 2022-06-23 15:35:01 +02:00
salamandars 22881a6923 Clarify that MeshInstance surface methods only apply to override materials 2022-06-23 22:58:52 +10:00
JFonS c580f7c6c1
Merge pull request #62260 from needleful/baked-lightmap-env-settings
[CPU Lightmapper] Account for ambient light settings when baking lights
2022-06-23 12:57:05 +02:00
Rémi Verschelde a01f67202d
Merge pull request #62333 from timothyqiu/ani-title
[3.x] Fix prompt dialog title for Animation operations
2022-06-23 08:16:20 +02:00
Haoyu Qiu 4356b5abf8 Fix prompt dialog title for Animation operations 2022-06-23 13:03:38 +08:00
Rémi Verschelde b9d1683eb8
Merge pull request #62302 from lawnjelly/sync_shaders_editor
[3.x] Synchronous shaders in editor
2022-06-22 21:51:01 +02:00
lawnjelly 9482998a03 Synchronous shaders in editor
The old style synchronous shaders allow the project manager and editor to load faster.
2022-06-22 14:14:32 +01:00
needleful eb99c7243e Apply baked ambient light settings when baking lights with scene environment 2022-06-21 12:12:47 -07:00
Marcel Admiraal 9091309ab7 Remove broken scroll gesture on Android 2022-06-21 17:04:42 +01:00
Rémi Verschelde 3c35617c50
Merge pull request #62187 from smix8/nav_nodes_depr_3.5 2022-06-20 18:36:17 +02:00
Rémi Verschelde fa4c3980c5
Merge pull request #62251 from RandomShaper/fix_ubershader_signedness_3.5 2022-06-20 18:06:31 +02:00
Rémi Verschelde 3fa7179d22
Merge pull request #62246 from timothyqiu/icon-coloring 2022-06-20 17:44:37 +02:00
smix8 693aeaf799 [3.5] Mark Navigation/Navigation2D nodes as deprecated
Mark Navigation/Navigation2D nodes as deprecated. They already just redirect calls to the NavigationServer and have no longer a real purpose. In Godot 4.0 both nodes are already removed for good reasons.
2022-06-20 17:37:55 +02:00
Pedro J. Estébanez 0868122aad Fix change to singed shader conditional flags
This change was missing from commit d3d8ccea60.
2022-06-20 17:02:40 +02:00
Hugo Locurcio 80d1fc87af Tweak editor icons for navigation nodes and SkeletonIK
Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
2022-06-20 22:29:09 +08:00
Rémi Verschelde 608c5e42fa
Merge pull request #62196 from timothyqiu/deselect 2022-06-20 15:36:30 +02:00
smix8 88e42b2915 Add NavigationAgent desired path distance
Add NavigationAgent desired path distance

(cherry picked from commit 07740302f3)
2022-06-20 15:11:09 +02:00
Rémi Verschelde 0cb897421a Node: Rename `child_exited_tree` to `child_exiting_tree`
The name was confusing as this signal is emitted around the same time as
`tree_exiting` and `NOTIFICATION_EXIT_TREE`, i.e. while the child node is
still in tree.

Fixes #59210.

(cherry picked from commit 3e6de687b8)
2022-06-20 15:00:09 +02:00
Marcel Admiraal b8b7c21583 Ensure AudioFrame variables l and r are always initialised
(cherry picked from commit d3f0994572)
2022-06-20 14:58:57 +02:00
Hugo Locurcio 8ad483e2d8 Document incremental search support in ItemList, PopupMenu and Tree
(cherry picked from commit 466bd7ce39)
2022-06-20 14:58:15 +02:00
cow-neaz 92ffbceee1 Stop game on reloading project
(cherry picked from commit 8935cf17cf)
2022-06-20 14:56:57 +02:00
iamjsk10 1b648ddc2b Mono: Fix typo to `foreach` C# keyword
(cherry picked from commit d3a839f4b1)
2022-06-20 14:55:34 +02:00
Rémi Verschelde 6eba5370d3
Merge pull request #62240 from timothyqiu/docs-version
Update editor doc links to 3.5 branch
2022-06-20 08:40:16 +02:00
Haoyu Qiu d77997f728 Update editor docs link to 3.5 branch 2022-06-20 13:41:45 +08:00
Rémi Verschelde fcf0dd1e33
Merge pull request #62211 from lawnjelly/fti_fix_unmoving_updates
Physics Interpolation - fix continuous updating in unmoving objects
2022-06-19 23:22:37 +02:00
Rémi Verschelde 56a2dab0b7
Merge pull request #62226 from RandomShaper/fix_intel_hd_shaders_3.5
[3.x] Use signed integers for async shader conditionals
2022-06-19 23:14:24 +02:00
Pedro J. Estébanez d3d8ccea60 Use signed integers for async shader conditionals 2022-06-19 20:16:27 +02:00