Commit graph

33294 commits

Author SHA1 Message Date
Haoyu Qiu
6d706da25c Add Simplified Chinese translation for Linux desktop file
(cherry picked from commit 31394aced3)
2022-05-05 15:02:46 +02:00
mdavisprog
53fb0440d3 Add OS::is_process_running function.
Adds the is_process_running function to the native OS class and exposes it to script.

This is implemented on Windows and Unix platforms. A stub is provided for other platforms that do not support this function.

Documentation is updated to reflect new API function.

(cherry picked from commit f3c1232c59)
2022-05-05 15:02:46 +02:00
Fabio Alessandrelli
cc12c69ea1 [JS] Add flag to disable weak symbols in ZSTD.
Weak symbols are currently broken in upstream emscripten.

(cherry picked from commit 070bd87aaa)
2022-05-05 14:07:56 +02:00
Fabio Alessandrelli
89c8a8d1dc Added missing signature.
(cherry picked from commit a4c3e915be)
2022-05-05 14:07:56 +02:00
kobewi
68b4cdfaf9 Clarify InputMap.action_get_events() in the editor
(cherry picked from commit 5235584066)
2022-05-05 14:07:56 +02:00
trollodel
7c400b3ea0 Use CollisionObject3D API when baking the navmesh with static colliders, instead of collecting CollisionShape3D nodes
(cherry picked from commit 72c37c4bcd)
2022-05-05 14:07:56 +02:00
Paulo Feodrippe
c46bbdee53 Fix simulatenous touches for different touch types
(cherry picked from commit a6f06d57dc)
2022-05-05 13:49:50 +02:00
PureAsbestos
46c4e2e704 Change 'throws an error' to 'prints an error' in classref
(cherry picked from commit a89b3f872d)
2022-05-05 13:49:35 +02:00
kobewi
72e1088df6 Fix tscn not listed as Resource extension
(cherry picked from commit e3511dd9d7)
2022-05-05 13:47:48 +02:00
kobewi
ce36f2f699 Improve Tween infinite loop detection
(cherry picked from commit f473aab00d)
2022-05-05 13:47:23 +02:00
Haoyu Qiu
86b14496b1 Document lerp_angle behavior when angles are approximately PI apart
(cherry picked from commit 492903a0b2)
2022-05-05 13:45:29 +02:00
Chris verBurg
e7329c0cfc Link to Container tutorial
Users happening across any of the Container pages may not already know the intent of Containers, or which others are available.  This commit adds a link to the existing "GUI containers" page in their tutorials sections.

(cherry picked from commit 3b941ed98c)
2022-05-05 13:44:17 +02:00
Marcel Admiraal
fe60de2c6a Check for null when retrieving clip data item text on Android
(cherry picked from commit 5924e2b90e)
2022-05-05 13:44:00 +02:00
Haoyu Qiu
92256df9fb Load fallback icon for custom class when no icon available
(cherry picked from commit ba90778f1c)
2022-05-05 13:43:39 +02:00
ScottVMariotte
25ef0aaf3e Replaced loops_current with end_loop
(cherry picked from commit c526ee6683)
2022-05-05 13:42:54 +02:00
Rémi Verschelde
2c28c41e10 Relax version warning in clang-format precommit hook
Closes #60778.

(cherry picked from commit 9e66a947e4)
2022-05-05 13:39:44 +02:00
Rémi Verschelde
af65c6dfe8 SCons: Don't enable any -Werror=return-type outside werror=yes
We shouldn't presume that future compilers will not have false positives or
find new occurrences of this warning, which would break compiling old versions
of the engine without passing custom `CXXFLAGS`.

Follow-up to #60652.

(cherry picked from commit e55d30768a)
2022-05-05 13:39:41 +02:00
Rémi Verschelde
07545b0063 SCons: Disable -Werror=return-type for GCC 12+ due to regression
Works around and thus closes #58747.
Supersedes #60613.

(cherry picked from commit 01f8f17b67)
2022-05-05 13:39:41 +02:00
Rémi Verschelde
13bb7c6c35
Merge pull request #60763 from lawnjelly/fti_physics_flush 2022-05-05 11:59:15 +02:00
Rémi Verschelde
6f5d57e1c8
Merge pull request #60757 from timothyqiu/animated-sprite-autocomplete-3.x 2022-05-05 10:27:54 +02:00
Rémi Verschelde
eea48d9a1d
Merge pull request #60770 from KoBeWi/animetiles
Expose tile_texture property
2022-05-05 08:36:43 +02:00
Rémi Verschelde
80244cb844
Merge pull request #60768 from Calinou/3d-editor-numpad-emulation-use-physical-keys-3.x
Use physical keys for numpad emulation in the 3D editor
2022-05-05 08:35:40 +02:00
Haoyu Qiu
0f7f3d08ba Add autocompletion for AnimatedSprite.play() 2022-05-05 09:04:40 +08:00
kobewi
0b5289cadf Expose tile_texture property 2022-05-05 02:22:43 +02:00
Hugo Locurcio
aaf8424d7e
Use physical keys for numpad emulation in the 3D editor
This makes numpad emulation work on non-QWERTY keyboard layouts
more reliably.
2022-05-05 01:33:47 +02:00
Rémi Verschelde
7774cbd8f2
Merge pull request #42298 from gvekan/stop-multimeshinstance-populate-reset
Stop reset of MultiMesh properties on populate
2022-05-05 00:35:24 +02:00
Rémi Verschelde
21827a75a8
Merge pull request #59849 from Scony/bake-navigation-mesh-off-thread-3.x 2022-05-04 23:29:41 +02:00
Pawel Lampe
505ace250d Add ability to bake_navigation_mesh off thread.
This feature makes it possible to workaround problems such as:
 - long baking time due to heavy synchronization when parsing geometry
   from mesh instances
 - crash when freeing `NavigationMeshInstance` while baking
 - errors when actively baking node tree is being detached from the
   scene tree
2022-05-04 22:41:38 +02:00
lawnjelly
df7fab51a3 Physics Interpolation - Flush transforms after physics tick
Leftover transforms from the physics tick were being flushed during idle, which was causing problems for physics interpolation.

This PR flushes the transforms at the end of the physics tick when physics interpolation is active.
2022-05-04 20:30:46 +01:00
Rémi Verschelde
912e22821d
Merge pull request #60759 from lawnjelly/fti_warnings_nodepath 2022-05-04 20:37:16 +02:00
lawnjelly
f1bef3c592 Physics Interpolation - improve warnings with NodePath
It has been pointed out to me that it is far more useful to display the NodePath in the warning than the name of the node, as there may be lots of nodes sharing the same name in a project. This PR fixes this.
2022-05-04 18:46:14 +01:00
Rémi Verschelde
f05104f99c
Merge pull request #60758 from timothyqiu/asset-lib-error-3.x 2022-05-04 17:23:20 +02:00
Haoyu Qiu
9c82c3581f Handle AssetLib repository config error 2022-05-04 22:19:21 +08:00
Rémi Verschelde
1038052013
Merge pull request #60752 from bruvzg/exp_plug_fix3 2022-05-04 13:16:26 +02:00
bruvzg
0be7de6e11 [3.x] Fix export plugins after embedded PCK loading changes. 2022-05-04 12:56:00 +03:00
Rémi Verschelde
40cec55963
Merge pull request #60737 from kleonc/debug-inspect-nested-dict-array-fix-3x
[3.x] Fix inspecting nested dictionaries/arrays when debugging
2022-05-04 08:21:06 +02:00
kleonc
2e4e8bb87c Fix inspecting nested dictionaries/arrays when debugging 2022-05-04 00:49:34 +02:00
Rémi Verschelde
37fd526ddd
Merge pull request #60721 from timothyqiu/rtl-bbcode-error-code 2022-05-03 10:55:36 +02:00
Haoyu Qiu
e1441890eb Document RichTextLabel append_bbcode/parse_bbcode always return OK 2022-05-03 16:00:51 +08:00
Rémi Verschelde
815f7fe636
Merge pull request #49952 from Calinou/spatialmaterial-depth-triplanar-print-warning
Print warning in SpatialMaterial when depth and triplanar are active
2022-05-02 23:59:52 +02:00
Rémi Verschelde
c1a0e6b5c9
Merge pull request #59952 from Calinou/doc-line2d-polygon2d-antialiasing 2022-05-02 10:50:23 +02:00
Rémi Verschelde
4b6e5f5da6
Merge pull request #60530 from timothyqiu/theme-validation-3.x 2022-05-02 10:49:27 +02:00
Rémi Verschelde
6ee64331db
Merge pull request #60527 from KoBeWi/unique_names_demastered 2022-05-02 10:48:27 +02:00
Rémi Verschelde
5c79239e12
Merge pull request #60626 from timothyqiu/missing-sv-usage 2022-05-02 09:53:48 +02:00
Rémi Verschelde
8835654578 Merge pull request #60656 from akien-mga/tilemap-methods-const-ref-vector2 2022-05-02 09:51:51 +02:00
Rémi Verschelde
917a749964
Merge pull request #60639 from m4gr3d/support_hand_tracking_v2_3x 2022-05-02 09:51:35 +02:00
Rémi Verschelde
e61c4dd787
Merge pull request #60282 from YeldhamDev/backwards_relationships_are_even_harder 2022-05-02 09:49:09 +02:00
Rémi Verschelde
3529afb549
Merge pull request #60700 from timothyqiu/bit-map-preview
[3.x] Backport inspector preview for `BitMap`
2022-05-02 08:03:44 +02:00
Rémi Verschelde
d8e702b010
Merge pull request #60552 from madmiraal/implement-3466-3.x
[3.x] Add a method for obtaining display cutouts on Android
2022-05-02 07:58:05 +02:00
FireForge
e8d1552af2 Add an inspector preview for BitMap 2022-05-02 09:16:34 +08:00