Commit Graph

43776 Commits

Author SHA1 Message Date
Pawel Lampe 88d3f14697 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 23:00:18 +02:00
Rémi Verschelde c114823471
Merge pull request from Calinou/decal-distance-fade-use-easing 2022-05-04 21:50:20 +02:00
Fabio Alessandrelli d38d05c298
Merge pull request from Faless/net/4.x_fix_tcp_server_ws
[Net] Fix TCPServer and WSLClient status after "poll" refactoring.
2022-05-04 21:13:55 +02:00
Rémi Verschelde 640279bdd4
Merge pull request from LightningAA/disable_input_map_add_button 2022-05-04 20:39:08 +02:00
Rémi Verschelde 38a922a365
Merge pull request from KoBeWi/postapo_frame_draw 2022-05-04 20:37:51 +02:00
Fabio Alessandrelli 09a48e1055 [WebSocket] Fix WSLClient connection status.
Note, this keeps the old behaviour of reporting CONNECTION_CONNECTED
while disconnecting.
We should change this before 4.0, but needs further refactoring of the
WebSocket classes.
2022-05-04 20:13:32 +02:00
Fabio Alessandrelli e5137fafbe [Net] Fix StreamPeerTCP accepted status. 2022-05-04 20:13:32 +02:00
Aaron Record 6b878e9aea Disable add button when action name is invalid 2022-05-04 11:19:27 -06:00
Rémi Verschelde 84f64ddde9
Merge pull request from reduz/refactor-module-initialization 2022-05-04 19:08:43 +02:00
reduz de0ca3b999 Refactor module initialization
* Changed to use the same stages as extensions.
* Makes the initialization more coherent, helping solve problems due to lack of stages.
* Makes it easier to port between module and extension.
* removed the DRIVER initialization level (no longer needed).
2022-05-04 17:34:51 +02:00
Rémi Verschelde 3a82b7eeef
Merge pull request from timothyqiu/asset-lib-error 2022-05-04 17:23:00 +02:00
Haoyu Qiu c0516c2312 Handle AssetLib repository config error 2022-05-04 22:18:41 +08:00
Rémi Verschelde a9ebf121f8
Merge pull request from bruvzg/exp_plug_fix4 2022-05-04 12:55:55 +02:00
bruvzg 800a68837f Fix export plugins after embedded PCK loading changes. 2022-05-04 12:57:21 +03:00
Rémi Verschelde 3ac1c8e9f3
Merge pull request from KoBeWi/action_editor
Clarify InputMap.action_get_events() in the editor
2022-05-04 09:03:21 +02:00
Rémi Verschelde 5022efef02
Merge pull request from mdavisprog/os-is-process-running
OS::is_process_running function.
2022-05-04 09:02:33 +02:00
Rémi Verschelde ed5e0499ff
Merge pull request from Faless/js/4.x_sig_other_sig
[HTML5] Disable zstd weak symbols, add missing JS signature.
2022-05-04 08:17:43 +02:00
kobewi 708a3b3db8 Improve Viewport.get_texture() description 2022-05-04 02:30:32 +02:00
mdavisprog f3c1232c59 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.
2022-05-03 17:27:17 -07:00
Fabio Alessandrelli 070bd87aaa [JS] Add flag to disable weak symbols in ZSTD.
Weak symbols are currently broken in upstream emscripten.
2022-05-03 21:52:55 +02:00
CalebJohn 06a2d83e30 Add regression test for gdscript valid function signature
Previously, there was an issue where the gdscript analyzer incorrectly
riased a validation error for code that had a default Dictionary, Array,
or custom type.
2022-05-03 12:46:09 -07:00
Nathan Franke 58fcad20ef
quote strings inside arrays and dictionaries 2022-05-03 13:37:13 -05:00
kobewi 5235584066 Clarify InputMap.action_get_events() in the editor 2022-05-03 19:45:50 +02:00
Rémi Verschelde 1b2992799b
Merge pull request from aaronfranke/basis-axis-column 2022-05-03 19:36:07 +02:00
Rémi Verschelde 7d2e38d709
Merge pull request from guilhermefelipecgs/fix_box_select
Fix state machine box selection
2022-05-03 19:27:46 +02:00
Fabio Alessandrelli a4c3e915be Added missing signature. 2022-05-03 18:44:49 +02:00
Guilherme Felipe de C. G. da Silva e72b86b499 Fix state machine box selection 2022-05-03 12:42:51 -03:00
reduz 0a57f964a3 Implement missing Node & Resource placeholders
Implemented by request of @neikeq to advance in the GDExtension version of Mono.

* If a Resource type is missing upon load, it will be remembered together with its data (Unless manually overriden).
* If a Node type is missing upon load, it will be also be remembered together with its data (unless deleted).

This feature makes working with GDExtension much easier, as it ensures that missing types no longer cause data loss.
2022-05-03 17:08:09 +02:00
Rémi Verschelde b239275989
Merge pull request from reduz/placeholder-assets 2022-05-03 16:43:13 +02:00
Aaron Franke fa7a7795f0
Rename Basis get_axis to get_column, remove redundant methods 2022-05-03 09:37:47 -05:00
Rémi Verschelde d5d86cb26e
Merge pull request from Sauermann/fix-control-screen-position
Inlcude CanvasLayer transform into calculation of Control screen position
2022-05-03 15:26:39 +02:00
Rémi Verschelde 8aa791d166
Merge pull request from Calinou/primitive-meshes-csg-tweak-default-sizes
Decrease default sizes of some primitive and CSG meshes for consistency
2022-05-03 15:19:30 +02:00
Rémi Verschelde 6530d46d67
Merge pull request from Calinou/renderingserver-add-api-version-getter
Add `get_video_adapter_api_version()` to RenderingServer
2022-05-03 14:44:55 +02:00
Rémi Verschelde 931838b330
Merge pull request from aaronfranke/rename-elements
Rename Transform2D and Basis `elements` to `columns` and `rows` respectively
2022-05-03 14:40:01 +02:00
Rémi Verschelde 297241f368
Merge pull request from Calinou/typedef-remove-ref
Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`
2022-05-03 14:28:18 +02:00
Rémi Verschelde 77c9138e72
Merge pull request from guilhermefelipecgs/state_machine_improvement
Improvements to AnimationNodeStateMachine
2022-05-03 14:25:30 +02:00
Rémi Verschelde cb7a5a81ad
Merge pull request from pfeodrippe/fix-simultaneous-touches 2022-05-03 13:56:45 +02:00
Rémi Verschelde 0a9d31a7eb
Merge pull request from akien-mga/scons-disable-Werror-return-type
SCons: Don't enable any `-Werror=return-type` outside `werror=yes`
2022-05-03 11:38:06 +02:00
Rémi Verschelde 3614492dd3
Merge pull request from PureAsbestos/master 2022-05-03 11:37:15 +02:00
Rémi Verschelde e55d30768a 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 .
2022-05-03 11:30:24 +02:00
Rémi Verschelde bf8da10651
Merge pull request from Geometror/fix-fnlite-gcc-warning 2022-05-03 11:21:20 +02:00
Rémi Verschelde 262018df1e
Merge pull request from trollodel/use_collisionobject3d_in_navmeshgen 2022-05-03 11:21:08 +02:00
Rémi Verschelde 3894b08d0d
Merge pull request from madmiraal/separate-display_safe_area 2022-05-03 11:20:46 +02:00
Rémi Verschelde f75afaa085
Merge pull request from Sauermann/fix-capsulemesh-tangent
Reverse tangents of capsule mesh
2022-05-03 08:18:48 +02:00
Rémi Verschelde c9ce4069a3
Merge pull request from touilleMan/gdextension_get_library_path
Add GDNativeInterface::get_library_path to GDExtension
2022-05-03 08:13:34 +02:00
Fabio Alessandrelli 0275d60c1b
Merge pull request from snailrhymer/expand-websocketclient-error-messages
Add detail to some error messages in wsl_client
2022-05-03 06:07:09 +02:00
Hugo Locurcio 180e5d3028
Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`
These typedefs don't save much typing compared to the full `Ref<Resource>`
and `Ref<RefCounted>`, yet they sometimes introduce confusion among
new contributors.
2022-05-03 01:43:50 +02:00
Hugo Locurcio 31194f5b1c
Add `get_video_adapter_api_version()` to RenderingServer
This method can be used to get the graphics API version currently in
use (such as Vulkan). It can be used by projects for troubleshooting
or statistical purposes.
2022-05-03 01:18:35 +02:00
Rémi Verschelde 8762286110
Merge pull request from KoBeWi/packed_resource
Fix tscn not listed as Resource extension
2022-05-03 00:03:30 +02:00
kobewi e3511dd9d7 Fix tscn not listed as Resource extension 2022-05-02 23:21:15 +02:00