Commit Graph

33765 Commits

Author SHA1 Message Date
Rémi Verschelde 316eea5046
Merge pull request #62586 from Sosasees/3.x 2022-07-01 11:09:33 +02:00
Fabio Alessandrelli 2882eaab28
Merge pull request #62522 from Calinou/html5-editor-no-maximize-on-start-3.x
Fix window maximize error message appearing when starting the web editor (3.x)
2022-07-01 09:57:33 +02:00
Sosasees c9b9bf5437 recolor Remove Theme Items icons from Godot 4 colors to Godot 3
follow-up to #62559.
we found more icons that mistakenly had the Godot 4 colors,
so i fixed them too.
2022-07-01 09:38:23 +02:00
Hugo Locurcio 786ff06ed7
Fix window maximize error message appearing when starting the web editor
An error message is no longer printed when trying to maximize the window
in HTML5. This behavior is consistent with Android and iOS.
2022-07-01 01:54:15 +02:00
Rémi Verschelde a7559fcb6e Errors: Fallback to `fprintf` if `OS` singleton doesn't exist
Otherwise we would crash if something prints an error before init or
after destruction of the `OS` singleton which handles printing/logging.

(cherry picked from commit c83084fccb)
2022-06-30 19:23:02 +02:00
kobewi f659869a45 Fix find_next_valid_focus() freeze
(cherry picked from commit d9ede52ded)
2022-06-30 19:23:01 +02:00
Jan Haller 9e165a8c2b Command line arguments '--version' and '--help' return exit code 0 instead of 255
Allows to detect whether those commands executed successfully, which makes integration with shell scripts/CI/bindings straightforward.

(cherry picked from commit e3a8edf536)
2022-06-30 19:23:01 +02:00
smix8 381e8dd278 Group NavigationAgent properties
Groups the ill-defined NavigationAgent properties between pathfinding and avoidance to make it more clear which property affects what.

(cherry picked from commit dde09be302)
2022-06-30 19:23:01 +02:00
ConteZero a13b3028a2 Add an option to drag'n'drop selected text in TextEdit
(cherry picked from commit 5d56efcaa4)
2022-06-30 19:23:01 +02:00
Rémi Verschelde 510630651f
Merge pull request #62559 from Sosasees/3.x 2022-06-30 19:15:09 +02:00
Sosasees 916fee78bd recolor FlowContainer icons to the same color as Control icon
according to the discussion in issue #62553,
the FlowContainer icons don't get color-adjusted for Light theme
and it's because the color code is off.

to fix this issue, i recolored them to be the same icon as the Control icon,
an icon that i already know Does get recolored for Light theme.
2022-06-30 18:01:49 +02:00
Rémi Verschelde e681755cda
Merge pull request #62543 from Rubonnek/x11-fullscreen 2022-06-30 11:58:05 +02:00
Wilson E. Alvarez cf38b6f187
Properly check for fullscreen toggle made through the Window Manager 2022-06-29 21:55:51 -04:00
Rémi Verschelde c93ccb5d1d i18n: Sync classref translations with Weblate 2022-06-29 12:12:11 +02:00
Rémi Verschelde f29241fa1e i18n: Sync editor translations with Weblate 2022-06-29 12:08:19 +02:00
Rémi Verschelde 06f4a28306 Update docs links still pointing to 3.4 2022-06-29 12:03:04 +02:00
snailrhymer 28d387f721 Fix typos and improve clarity in Tween docs
(cherry picked from commit aff30b649e)
2022-06-28 16:41:26 +02:00
smix8 7aff541538 Clarify NavigationAgent radius property
Documents Navigation radius property, especially that it affects avoidance only.

(cherry picked from commit e1a4d1d08c)
2022-06-28 16:32:23 +02:00
Rémi Verschelde ebb5d6b334
Merge pull request #62479 from RandomShaper/rock_solid_async_defaults_3.5 2022-06-28 12:56:34 +02:00
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