Commit graph

63191 commits

Author SHA1 Message Date
Rémi Verschelde
4a4d6df04e
Merge pull request #90508 from smix8/thread_bake
Use threads for baking navigation mesh inside editor
2024-04-12 11:16:50 +02:00
Rémi Verschelde
fcca9b330d
Merge pull request #90434 from smix8/path_simplify
Add navigation path simplification
2024-04-12 11:16:47 +02:00
Rémi Verschelde
da0e993959
Merge pull request #90373 from bitwise-aiden/ba-fix-mutliline-match
Fix multiline array/dictionary match statements
2024-04-12 11:16:44 +02:00
Rémi Verschelde
5eadb88596
Merge pull request #90183 from stevenjt/fix-gizmo-on-top-material-option
Fix gizmo on top material option having no effect
2024-04-12 11:16:41 +02:00
Rémi Verschelde
a95893caef
Merge pull request #89754 from KoBeWi/bottom_feeder
Fix SpriteFrames editor visibility problems
2024-04-12 11:16:37 +02:00
Rémi Verschelde
42ab525aa2
Merge pull request #86144 from jsjtxietian/disable-mesh-compression-for-2d
Disable mesh compression if vertex `position.z` is always 0
2024-04-12 11:16:33 +02:00
Aiden Storey
74177d79c9
Fix multiline array/dictionary match statements
Currently array and dictionary expressions cannot be spread over
multiple lines in match statements.

Adding mutliline push/pop while parsing the pattern for bracket and
brace enables the ability for these to be multiline. This enables more
complex patterns to be matched without exceeding line limits.

Fixes #90372
2024-04-12 10:59:28 +02:00
Amirtha Krishnan
85fb4439e3
doc: Clarify where printraw() output can be seen in the OS terminal
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-04-12 10:52:18 +02:00
Rémi Verschelde
74e6b5a059
SCons: Add GCC/Clang option to make debug file paths relative 2024-04-12 10:08:03 +02:00
bruvzg
57fde36f31
[Unix / DirAccess] Fix removing directory symlinks with remove, ensure erase_contents_recursive is not following directory symlinks. 2024-04-12 10:06:49 +03:00
风青山
4ff5326959
Fix crash when dragging scene files to 2D/3D screen
The crash usually occurs when there is no scene root node.
2024-04-12 13:10:02 +08:00
Thaddeus Crews
b278cefd1c
SCons: Silence msvc output without hiding errors 2024-04-11 22:21:18 -05:00
bqqbarbhg
5e52db5c93 Fix FBX orthographic camera size 2024-04-12 04:02:50 +03:00
bqqbarbhg
d238b0ef57 Fix FBX emission_texture copy-paste issue 2024-04-12 03:52:57 +03:00
bqqbarbhg
a998f0a482 Convert FBX material colors from linear to sRGB 2024-04-12 03:52:46 +03:00
melquiadess
0ce8365dd7 Standardize descriptions, add urls, remove deprecated tag from non-deprecated permission 2024-04-11 20:23:03 +01:00
kobewi
e95e954c68 Add PropertyListHelper in all simple cases 2024-04-11 18:13:29 +02:00
风青山
e825a6fb01
Make the inherited scene root node unable to change type
Make the inherited scene root behave like other children from the
inherited scene.
2024-04-11 22:29:18 +08:00
Fabio Alessandrelli
c985b74d89 mbedTLS: Add patch to fix build errors with some MSVC versions 2024-04-11 16:11:54 +02:00
smix8
1c134f4a3d Add navigation path simplification
Adds navigation path simplification for NavigationServer and NavigationAgent.
2024-04-11 12:32:21 +02:00
kobewi
ece38cbe14 Improve custom_minimum_size description 2024-04-11 11:34:43 +02:00
Rémi Verschelde
b2f425fe68
Merge pull request #90514 from jsjtxietian/connection-dialog
Fix connection dialog raise error when it was previously opened in another scene
2024-04-11 11:03:00 +02:00
Rémi Verschelde
2e5d2333b7
Merge pull request #90505 from aaronp64/gltfdocument_crash
Fix `GLTFDocument.append_from_scene` crash on null node
2024-04-11 11:02:57 +02:00
Rémi Verschelde
2395b465d8
Merge pull request #90504 from smix8/sourcegeo_crash
Fix NavigationMeshSourceGeometryData merge crash
2024-04-11 11:02:54 +02:00
Rémi Verschelde
e911fcda1b
Merge pull request #90503 from rburing/gridmap_has_it_rough
GridMap: Fix `physics_material` property
2024-04-11 11:02:50 +02:00
Rémi Verschelde
58f8a227b9
Merge pull request #90482 from Faless/mbedtls/3.6.0-tls
mbedTLS: Update to new LTS v3.6.0
2024-04-11 11:02:46 +02:00
Rémi Verschelde
8ec0372f01
Merge pull request #90470 from RandomShaper/fix_cmd_queue_mt_reentrancy
CommandQueueMT: Fix flush re-entrancy
2024-04-11 11:02:42 +02:00
Rémi Verschelde
17665ec6f2
Merge pull request #89808 from timothyqiu/ok-i-know
Don't error multiple times when trying to load missing default bus layout
2024-04-11 11:02:39 +02:00
Rémi Verschelde
b70450871e
Merge pull request #89124 from wheatear-dev/test-json-rpc
Add unit tests for JSONRPC
2024-04-11 11:02:34 +02:00
Rémi Verschelde
e73f40e260
Merge pull request #87117 from DmitriySalnikov/rename_pdb
Add renaming of PDB files to avoid blocking them
2024-04-11 11:02:31 +02:00
Rémi Verschelde
5a386287d3
Merge pull request #81742 from toastedbreadandomelette/regex_additional_tests
Add additional tests for RegEx
2024-04-11 11:02:27 +02:00
Rémi Verschelde
76c4ed95d2
Merge pull request #48652 from alexbilledeaux/geometry-2d-tests
Add `closest_points_between_segments()` basis path tests for Geometry2D
2024-04-11 11:02:21 +02:00
jsjtxietian
4aa5c80c07 Fix connection dialog raise error when it was previously opened in another scene 2024-04-11 12:57:58 +08:00
smix8
2bc2b52bd1 Use threads for baking navigation mesh inside editor
Enables threaded navigation mesh baking inside the editor.
2024-04-11 03:53:26 +02:00
Hugo Locurcio
7467ce6405
Exit with an error if using --test on binary without unit tests compiled
This makes it clearer that `tests=yes` should be used at compile-time.
Previously, the engine would run as if the argument wasn't passed,
which can be confusing.
2024-04-11 00:07:42 +02:00
markdibarry
18e8b81ffa Account for scale in scroll logic for Parallax2D 2024-04-10 18:05:05 -04:00
Alex Billedeaux
f421d20280
Add closest_points_between_segments() basis path tests for Geometry2D 2024-04-10 23:49:23 +02:00
toastedbreadandomelette
b7de8e2c29
Add additional unit tests for RegEx 2024-04-10 23:24:27 +02:00
aaronp64
b56934ce19 Fix GLTFDocument.append_from_scene() crash on null node
Added null check for p_node parameter to give error instead of crash

Fixes #90502
2024-04-10 17:05:54 -04:00
smix8
497afeaf05 Fix NavigationMeshSourceGeometryData merge crash
Fixes crash when trying to merge with a null source geometry.
2024-04-10 21:56:21 +02:00
Ricardo Buring
3590d49c70 GridMap: Fix physics_material property
Use computed bounce and friction, just like StaticBody3D already does.
Also don't rebuild all internals just to set two floats on each body.
2024-04-10 21:44:46 +02:00
Lyuma
40fa684c18 mbedTLS: Update to new LTS v3.6.0
Keep module compatibility with mbedtls 2.x (old LTS branch).

A patch has been added to allow compiling after removing all the `psa_*`
files from the library folder (will look into upstreaming it).

Note: mbedTLS 3.6 finally enabled TLSv1.3 by default, but it requires
some module changes, and to enable PSA crypto (new "standard" API
specification), so it might be best done in a separate commit/PR.
2024-04-10 21:19:22 +02:00
Edward Moulsdale
6b4a7598c7 Add unit tests for JSONRPC 2024-04-10 18:27:08 +01:00
Rémi Verschelde
83b916bb00
Fix a doc and a test issue not caught by CI 2024-04-10 18:49:02 +02:00
Rémi Verschelde
a8bd51904a
Merge pull request #90495 from shana/vs-fix-line-endings
Ensure all Visual Studio files are generated with CRLF
2024-04-10 18:48:03 +02:00
Juan Linietsky
65686dedf9 Use WorkerThreadPool for Server threads
* Servers now use WorkerThreadPool for background computation.
* This helps keep the number of threads used fixed at all times.
* It also ensures everything works on HTML5 with threads.
* And makes it easier to support disabling threads for also HTML5.

CommandQueueMT now syncs with the servers via the WorkerThreadPool
yielding mechanism, which makes its classic main sync semaphore
superfluous.

Also, some warnings about calls that kill performance when using
threaded rendering are removed because there's a mechanism that
warns about that in a more general fashion.

Co-authored-by: Pedro J. Estébanez <pedrojrulez@gmail.com>
2024-04-10 18:47:42 +02:00
Pedro J. Estébanez
c28f5901c7 Polish interaction between windowing, input and rendering
- Adapt GL make/release API to the current architecture.
- Fix DisplayServer being locked while dispatching input (prevent deadlocks).
2024-04-10 18:47:42 +02:00
Pedro J. Estébanez
1b104ffcd8 WorkerThreadPool: Support daemon-like tasks (via yield semantics) 2024-04-10 18:47:42 +02:00
Pedro J. Estébanez
71facbaa88 WorkerThreadPool: Fix data race 2024-04-10 18:47:41 +02:00
Rémi Verschelde
b091162a90
Merge pull request #90488 from dalexeev/editor-fix-enum-detect-unnamed-classes
Editor: Fix enum detection for unnamed classes
2024-04-10 17:49:59 +02:00