Commit Graph

33777 Commits

Author SHA1 Message Date
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
Rémi Verschelde e4d6a4d005
Merge pull request #60799 from Calinou/doc-os-cmdline-args-3.x 2022-06-19 14:09:23 +02:00
Rémi Verschelde 5478afdb1e i18n: Sync classref translations with Weblate 2022-06-19 13:59:41 +02:00
Rémi Verschelde 000499662b i18n: Sync editor translations with Weblate 2022-06-19 13:57:04 +02:00
Rémi Verschelde 4137578369 Fix typos with codespell
Using codespell 2.2-dev from current git.

Fix a couple incorrect uses of gendered pronouns.
2022-06-19 13:48:15 +02:00
Rémi Verschelde faf8a7b19e
Merge pull request #62209 from akien-mga/3.x-fix-editor-ProjectSettings 2022-06-19 13:25:11 +02:00
lawnjelly e4f252d94f Physics Interpolation - fix continuous updating in unmoving objects
Adds instances to the transform update list as well as the interpolate update list when unhiding them. This ensures that the system auto-detects non-moving objects, and removes them from the interpolate update list on the next tick, preventing unnecessary updates.
2022-06-19 11:26:13 +01:00
Rémi Verschelde acd4a01b8c ProjectSettings: Ensure 'editor/' settings aren't nested
Having a mix of settings with and without subcategory makes the 'Editor'
section stand out with a weird UX, as instead of simply being a foldable
section like the others, it also holds its own top-level settings and is
therefore selectable.

This wasn't the case in 3.4, and is fixed in 4.0 by refactoring, so for
3.5 we should preserve the 3.4 UX, even if it's not the best.
2022-06-19 11:47:19 +02:00
Haoyu Qiu a3777a7c38 Fix EditorFileDialog filename default selection 2022-06-19 10:40:33 +08:00
Rémi Verschelde 2e5d858928
Merge pull request #62178 from kleonc/emission_shape_hint_fix_3x
[3.x] Fix `CPUParticles2D.emission_shape` enum hint
2022-06-18 21:03:33 +02:00
kleonc e55ba60da1 Fix `CPUParticles2D.emission_shape` enum hint 2022-06-18 16:07:34 +02:00
Fabio Alessandrelli a77d514ec0 [GDNative] Fix GDN_EXPORT define with mingw.
The define is **not used by godot**, but in GDNative libraries.

I'm not sure it should be defined there in the first place, though we
shouldn't change that (for compatibility).

This commit changes the platform detection order to detect mingw
compiling for windows (which defines `__GNUC__`).

This commit also wraps the definition around a guard to let libraries
override it with a build-time define.
2022-06-18 13:03:06 +02:00
Rémi Verschelde db5550a3b7
Merge pull request #62135 from madmiraal/fix-60712-3.x 2022-06-17 12:20:44 +02:00
Jiri Suchan daf6fdf0b7 refactoring: simplify compiler version check
(cherry picked from commit 8d94d26caf)
2022-06-17 10:08:49 +02:00
Marcel Admiraal b257d552e7 Cleanup AudioEffectRecord thread_active variable 2022-06-17 08:52:20 +01:00
Rémi Verschelde f1fdada6dc
Merge pull request #62131 from timothyqiu/doc-fixes-3.x 2022-06-17 09:48:18 +02:00
Haoyu Qiu b43fdea0d5 Classref typo fixes and improvements 2022-06-17 15:19:31 +08:00
Rémi Verschelde e047c50068 i18n: Sync classref translations with Weblate 2022-06-16 21:06:56 +02:00
Rémi Verschelde 135c252a38 i18n: Sync editor translations with Weblate 2022-06-16 20:59:13 +02:00
Theraot 69653a4b9d Updating AStar2D documentation to mention the new bidirectional paramter
(cherry picked from commit b18a018ad2)
2022-06-16 20:49:04 +02:00