Commit graph

58413 commits

Author SHA1 Message Date
smix8
2f1668804c Fix missing NavigationLink property updates in constructor
Fixes missing NavigationLink property updates in constructor.
2023-10-23 01:43:55 +02:00
Rémi Verschelde
8c25a98fdf
Merge pull request #83768 from programneer/incorrect-physics-jitter
ProjectSettings: Fix description of physics jitter
2023-10-22 12:13:52 +02:00
Rémi Verschelde
9fb3c42850
Merge pull request #83760 from Calinou/2d-shadows-add-property-hint
Add property hint for 2D shadow size project setting
2023-10-22 12:13:28 +02:00
Rémi Verschelde
d7d3ae6d85
Merge pull request #83756 from dsnopek/gpu-particles-quest
Fix `GPUParticles3D` on the Meta Quest 2 with OpenGL renderer
2023-10-22 12:13:04 +02:00
Rémi Verschelde
8942b88f09
Merge pull request #83740 from smix8/ships_racing_akiens
Solve race condition between AThousandShips and Akien
2023-10-22 12:12:40 +02:00
Rémi Verschelde
542f6e10eb
Merge pull request #83734 from MarioLiebisch/fix-extension-load-error
GDExtension: Fixed error on loading extensions
2023-10-22 12:12:17 +02:00
Rémi Verschelde
14913f178b
Merge pull request #83434 from Chubercik/optimize_triangulate_delaunay
Update `triangulate_delaunay()` to avoid needless reallocations
2023-10-22 12:11:53 +02:00
Rémi Verschelde
6bf936c4cc
Merge pull request #82667 from kleonc/canvas-item-editor-drag-moving-transforms-fix
Fix transform calculations for drag-moving CanvasItems in editor
2023-10-22 12:11:28 +02:00
Rémi Verschelde
c78dbca581
Merge pull request #81437 from Rindbee/fix-folder-duplicate-to
Fix unexpected behaviors of using Duplicate To on folders
2023-10-22 12:11:00 +02:00
Kacper Gibas
c724368b7d Fix description of physics jitter 2023-10-22 11:12:21 +02:00
Hugo Locurcio
0012478ecb
Add property hint for 2D shadow size project setting
Previously, it was possible to use zero or negative values, which are
invalid.

This also prevents crashing the engine by setting a shadow size of
0 or lower from a script.
2023-10-22 00:28:19 +02:00
风青山
90768f1f7f Fix unexpected behaviors of using Duplicate To on folders
Fix folder not being copied when empty.
Fix Keep Both would generate wrong paths when copying folders.
2023-10-22 06:22:38 +08:00
David Snopek
58775a6c67 Fix GPUParticles3D on the Meta Quest 2 with OpenGL renderer 2023-10-21 16:49:24 -05:00
smix8
b7be45279d Solve race condition between AThousandShips and Akien
Solves race condition between AThousandShips and Akien.
2023-10-21 19:04:41 +02:00
Mario Liebisch
f2bcd7d61f
GDExtension: Fixed error on loading extensions
Previously, before loading an extension, the editor just tried to
retrieve the extension by path to test if it's been loaded already.

While this is handled gracefully, it ignored an error thrown inside
`GDExtensionManager::get_extension()`, that would essentially still
report a not yet loaded extension to the engine's log:

```
ERROR: Condition "!E" is true. Returning: Ref<GDExtension>()
   at: GDExtensionManager::get_extension (core\extension\gdextension_manager.cpp:165)
```

This change actively checks whether the extension path is known and only
then proceeds to actually return the already loaded extension or loads
and returns the new one otherwise.
2023-10-21 17:00:18 +02:00
Rémi Verschelde
f71f4b80e3
Merge pull request #83721 from Faless/mbedtls/2.18.5
mbedTLS: Update to version 2.18.5
2023-10-21 15:54:14 +02:00
Rémi Verschelde
7d695160c8
Merge pull request #83720 from Faless/web/fix_ecmascript_bigint
[Web] Fix closure compiler builds using BIGINT
2023-10-21 15:52:40 +02:00
Rémi Verschelde
f22c3ff33b
Merge pull request #83709 from smix8/navlink_enabled_4.x
Fix NavigationLink enabled toggle
2023-10-21 15:52:17 +02:00
Rémi Verschelde
d2cd907e28
Merge pull request #83705 from smix8/agent_y_velocity_.4x
Fix NavigationAgent3D stored y-axis velocity and make it optional
2023-10-21 15:51:53 +02:00
Rémi Verschelde
0dc915b480
Merge pull request #83701 from smix8/obstacle_height_4.x
Fix NavigationObstacle3D height
2023-10-21 15:51:30 +02:00
Rémi Verschelde
918da63797
Merge pull request #82593 from smix8/navobstacle_debug_transform_4.x
Fix NavigationObstacle3D debug being affected by rotation and scale
2023-10-21 15:51:02 +02:00
Fabio Alessandrelli
5333365593 mbedTLS: Update to version 2.18.5 2023-10-21 14:34:58 +02:00
Fabio Alessandrelli
e9df955e39 [Web] Fix closure compiler builds using BIGINT
When using proxy_to_pthread we add BIGINT support (to support exchanging
64 bits integers between wasm and JS).

Bigint though, is part of ECMAScript 2020, and the closure compiler was
using ECMAScript 6 instead.

This commit update the CC configuration to use ECMAScript 2020 instead.
2023-10-21 14:02:22 +02:00
smix8
ade4d3cf28 Fix NavigationLink enabled toggle
Fixes NavigationLink enabled toggle.
2023-10-21 03:11:37 +02:00
smix8
4771431b28 Fix NavigationAgent3D stored y-axis velocity and make it optional
Fixes NavigationAgent3D stored y-axis velocity and makes it optional.
2023-10-21 01:11:26 +02:00
smix8
b30b672649 Fix NavigationObstacle3D height
Fixes NavigationObstacle3D height.
2023-10-21 00:08:50 +02:00
Rémi Verschelde
6543495b49
Merge pull request #83686 from bruvzg/short_ver_fb
Use "version" project setting as macOS/iOS "short_version" fallback.
2023-10-20 22:03:38 +02:00
Rémi Verschelde
46efe48386
Merge pull request #83683 from YuriSizov/random-cleanup
Clean up some Editor, OpenXR, VideoStream code
2023-10-20 22:03:14 +02:00
Rémi Verschelde
f68fa0fedf
Merge pull request #83681 from dsnopek/gdextension-iter-get
GDExtension: Fix `variant_iter_get()` actually calling `iter_next()`
2023-10-20 22:02:51 +02:00
Rémi Verschelde
b075c61662
Merge pull request #83486 from dalexeev/gds-fix-call-non-static-in-static-var-lambda
GDScript: Fix non-static call is allowed in static var lambda body
2023-10-20 22:02:28 +02:00
Rémi Verschelde
e6e9b04aab
Merge pull request #81322 from johnnyw/android_fix_joypad_trigger_range
Android: Fix joypad trigger value range
2023-10-20 22:02:00 +02:00
John Watson
d413a02079 Android: Fix joypad trigger value range
`Input::joy_axis` converts trigger values to be between 0.0f to 1.0f by default. This is not needed for Android, as values are already within that range, as per Android documentation: https://developer.android.com/reference/android/view/MotionEvent#AXIS_RTRIGGER

This patch prevents this conversion on Android, which caused L2 and R2 triggers to get stuck pressed. https://github.com/godotengine/godot/issues/79263
2023-10-20 11:30:20 -07:00
Danil Alexeev
7f4721a941
GDScript: Fix non-static call is allowed in static var lambda body 2023-10-20 20:43:07 +03:00
bruvzg
e45cc9c72b
Use "version" project setting as macOS/iOS "short_version" fallback. 2023-10-20 19:31:08 +03:00
Yuri Sizov
cd31407cb3 Clean up some Editor, OpenXR, VideoStream code
- EditorNode has excessive and pointless checks for Input singleton.
- EditorNode initialization order is a bit awkward.
- OpenXR binds a method that doesn't need that (for call deferred).
- VideoStream has a formatting error.
2023-10-20 17:54:39 +02:00
David Snopek
b14f359c94 GDExtension: Fix variant_iter_get() actually calling iter_next() 2023-10-20 10:07:46 -05:00
Rémi Verschelde
f333e4acf5
Merge pull request #83672 from mihe/6dof-suffixes
Fix unit suffixes for `Generic6DOFJoint`
2023-10-20 15:14:13 +02:00
Rémi Verschelde
78e47a4523
Merge pull request #83663 from jsjtxietian/prevent-invalid-gltf-crash-godot
Prevent godot crash from importing a certain kind of invalid gltf
2023-10-20 15:13:50 +02:00
Rémi Verschelde
365507fcf3
Merge pull request #83659 from aXu-AP/uv-edit-transform-points-undo
Fix Polygon2D undo on transforming vertices
2023-10-20 15:13:26 +02:00
Rémi Verschelde
dd6afa6609
Merge pull request #83656 from capnm/thorvg_0.11.2
ThorVG: update to v0.11.2
2023-10-20 15:13:03 +02:00
Rémi Verschelde
2a995c09ac
Merge pull request #83639 from stoofin/frustum-buffer-size
Fix shadow map debug visualization camera frustum index buffer size
2023-10-20 15:12:34 +02:00
Rémi Verschelde
68a183a2d9
Merge pull request #83626 from YuriSizov/control-less-is-more-as-in-less-excessive-notifications-is-more-performance
Add bulk change guards to successive theme overrides in Editor and GUI
2023-10-20 15:12:11 +02:00
Rémi Verschelde
55fc347efd
Merge pull request #83620 from clayjohn/particles-material-emission
Fix typo in particles process material when using emission color texture
2023-10-20 15:11:48 +02:00
Rémi Verschelde
a63bff4ce4
Merge pull request #83619 from YuriSizov/core-our-vessel-only-has-one-node-left
Fix StringName leaks in VariantParser
2023-10-20 15:11:24 +02:00
Rémi Verschelde
7065e2ea47
Merge pull request #83618 from akien-mga/scons-no-exceptions-CXXFLAGS
SCons: Use CXXFLAGS to disable exceptions, it's only for C++
2023-10-20 15:11:01 +02:00
Rémi Verschelde
d99285db6a
Merge pull request #83609 from k0T0z/fix-csharp-syntax-error-in-web-doc
Fix Object class C# syntax error
2023-10-20 15:10:38 +02:00
Rémi Verschelde
37d3cb1b04
Merge pull request #83604 from SaracenOne/orphaned_node_crashfix
Fix crash on recovered orphaned nodes.
2023-10-20 15:10:14 +02:00
Rémi Verschelde
34e3fa5ec7
Merge pull request #83602 from copytime/patch-1
Doc: Change return type of `_Set` method from `void` to `bool` in C# code example
2023-10-20 15:09:51 +02:00
Rémi Verschelde
01a8064760
Merge pull request #83583 from anrp/anrp/gdvirtboth
Allow coexistence of GDScript and GDExtension virtual methods in the same object
2023-10-20 15:09:27 +02:00
Rémi Verschelde
7270da76ba
Merge pull request #83540 from mattbork/get_shallow_script_fix
Fix `GDScriptCache::get_full_script` eating parsing errors because of early exit
2023-10-20 15:09:04 +02:00