Commit graph

62134 commits

Author SHA1 Message Date
Juan Linietsky
43b78cd2ad Add interactive music support
This PR adds 3 types of audio streams used for interactive music support.

* AudioStreamInteractive: Allows setting several sub-streams and transition between them with many options.
* AudioStreamPlaylist: Allows sequential or shuffled playback of a list of streams.
* AudioStreamSynchronized: Allows synchronous playback of several streams, the volume of each can be controlled.

Theese three stream types can be combined to create complex, layered interactive music and transitions between them, similar to software such as WWise.
2024-03-12 21:54:59 +01:00
Rémi Verschelde
810f127022
Merge pull request #89365 from Repiteo/scons/run_in_subprocess-to-env.Run
SCons: Convert remaining `run_in_subprocess` to `env.Run`
2024-03-10 21:13:22 +01:00
Rémi Verschelde
53701a0234
Merge pull request #89361 from Repiteo/scons/with-statement
SCons: Ensure `with` statement where applicable
2024-03-10 21:13:18 +01:00
Rémi Verschelde
af527e53c4
Merge pull request #89352 from lyuma/gltf_export_float_snap
GLTF export: Remove snapping and fix validation
2024-03-10 21:13:14 +01:00
Rémi Verschelde
c973c9ff8d
Merge pull request #89351 from bruvzg/angle_fb_check
[Windows] Disable fallback to ANGLE logic when compiled w/o ANGLE support.
2024-03-10 21:13:11 +01:00
Rémi Verschelde
5af16b4bbd
Merge pull request #89348 from bruvzg/ios_li_dep_rep
[iOS] Restore backward compatibility with old export templates.
2024-03-10 21:13:08 +01:00
Rémi Verschelde
4f39768402
Merge pull request #89337 from akien-mga/thorvg-0.12.7
thorvg: Update to 0.12.7
2024-03-10 21:13:04 +01:00
Rémi Verschelde
54f2916cf1
Merge pull request #89311 from Mickeon/label_3d_is_a_mess
Fix Label3D, TextMesh & Font not following project default theme in editor
2024-03-10 21:13:01 +01:00
Rémi Verschelde
ba062e1f46
Merge pull request #89298 from Mickeon/CanvasItem-error-clean-as-hell
Make CanvasItem's "drawing outside of NOTIFICATION_DRAW" error a macro
2024-03-10 21:12:57 +01:00
Rémi Verschelde
1d6403323f
Merge pull request #88426 from Rindbee/fix-inherited-scenes-produce-errors
Fix inherited scenes produce errors in editor when `editable_children` is true
2024-03-10 21:12:54 +01:00
Rémi Verschelde
7515549c35
Merge pull request #87610 from Mickeon/documentation-MultiplayerAPI-peer-id
Mention Multiplayer.`get_remote_sender_id`'s 0 after await
2024-03-10 21:12:48 +01:00
Rémi Verschelde
f5c01821bb
Merge pull request #79183 from aaronfranke/viewport-group-2d
Organize 2D audio, camera, and physics in Viewport
2024-03-10 21:12:38 +01:00
Aaron Franke
c1e9842afb Organize 2D audio, camera, and physics in Viewport 2024-03-10 13:10:13 -07:00
Thaddeus Crews
8116d70d4b
SCons: Convert remaining run_in_subprocess to env.Run 2024-03-10 14:01:23 -05:00
Thaddeus Crews
fb299d0fb1
SCons: Ensure with statement where applicable 2024-03-10 12:57:57 -05:00
Lyuma
fd2aa564ab gltf export: Remove snapping and fix validation
Round min/max correctly in accessors
Include correct target in vertex and indices bufferViews
Avoid use of Math::snapped
Normalize vertex weights.
2024-03-10 06:07:46 -07:00
bruvzg
620e194727
[Windows] Disable fallback to ANGLE logic when compiled w/o ANGLE support. 2024-03-10 13:18:03 +02:00
bruvzg
2cd4a4e7e2
[iOS] Restore backward compatibility with old export templates. 2024-03-10 11:04:26 +02:00
风青山
4d57da4d01
Fix inherited scenes produce errors in editor when "editable_children" is true
Since the same argument is used, `SceneState::get_node_deferred_nodepath_properties()`
should use similar logic to `SceneState::get_property_value()`.

Make `SceneState::get_property_value()` to return whether the property is deferred.
2024-03-10 07:37:47 +08:00
Rémi Verschelde
6fa77e0f14
thorvg: Update to 0.12.7 2024-03-09 23:58:59 +01:00
Micky
e08fb19bd1 Make CanvasItem's "drawing outside of NOTIFICATION_DRAW" error a macro 2024-03-09 22:47:54 +01:00
Rémi Verschelde
0ace0a1292
Merge pull request #89333 from Repiteo/enforce-eol-python
Enforce `\n` eol for Python writes
2024-03-09 22:20:23 +01:00
Rémi Verschelde
7d6ae138fa
Merge pull request #89332 from Riteo/werror-never-changes
Fix compiler warning when highlighting codeblocks in editor help
2024-03-09 22:20:19 +01:00
Rémi Verschelde
f45207bbf2
Merge pull request #89329 from TokageItLab/fix-flag-discrete
Fix wrong line of making flag to discrete in AnimationMixer
2024-03-09 22:20:16 +01:00
Rémi Verschelde
2cb884bdbd
Merge pull request #89328 from Riteo/wayland-cursor-frame-opt
Wayland: Setup next cursor frame callback only if animated
2024-03-09 22:20:12 +01:00
Rémi Verschelde
30d08f0e13
Merge pull request #89327 from pohy/fix/mac-vulkan-build
Fix MoltenVK detection
2024-03-09 22:20:09 +01:00
Rémi Verschelde
8cc3216c75
Merge pull request #89320 from Calinou/editor-fogvolume-use-gizmo-helper
Use 3D editor gizmo helper for FogVolume to allow dragging individual faces
2024-03-09 22:20:05 +01:00
Rémi Verschelde
b2b7ea21ff
Merge pull request #89318 from Calinou/doc-test-move-keywords
Add keywords to `PhysicsBody{2D,3D}.test_move()` for easier discoverability
2024-03-09 22:20:02 +01:00
Rémi Verschelde
611ae19de3
Merge pull request #89317 from paulloz/dotnet/almost-there-with-the-warnings
C#: Fix warnings in GodotSharp
2024-03-09 22:19:58 +01:00
Rémi Verschelde
0322436a93
Merge pull request #89315 from nongvantinh/fix-regression-89295
Fix ScriptCreateDialog so it does not select the file extension when it's opened
2024-03-09 22:19:55 +01:00
Rémi Verschelde
9d80488b22
Merge pull request #89314 from Chubercik/libpng-1.6.43
libpng: Update to 1.6.43
2024-03-09 22:19:52 +01:00
Rémi Verschelde
3ca230df25
Merge pull request #89307 from alesliehughes/wayland_usage
Wayland: Stop possible Null pointer dereferences
2024-03-09 22:19:48 +01:00
Rémi Verschelde
43fd1f6bbd
Merge pull request #89306 from alesliehughes/wayland_warning
Wayland: Stop unreachable warning
2024-03-09 22:19:45 +01:00
Rémi Verschelde
ecc4649ea8
Merge pull request #89280 from AThousandShips/arr_order_doc
[Doc] Clarify `bsearch(_custom)` behavior
2024-03-09 22:19:42 +01:00
Rémi Verschelde
92343030f3
Merge pull request #89049 from Mickeon/documentation-meta-underline-begone
Use `META_UNDERLINE_ON_HOVER` in built-in class reference
2024-03-09 22:19:38 +01:00
Rémi Verschelde
5c1b926610
Merge pull request #88045 from Malcolmnixon/optimize-collider-regeneration
Optimize when colliders are regenerated for imported meshes
2024-03-09 22:19:34 +01:00
Riteo
4f61d42a00 Fix compiler warning when highlighting codeblocks in editor help
It's more verbose but it should do the trick.
2024-03-09 22:00:35 +01:00
Thaddeus Crews
d9fa40f2df
Enforce \n eol for Python writes
• Ensure utf-8 encoding if previously unspecified
2024-03-09 14:29:24 -06:00
pohy
f65f480617 Fix MoltenVK detection 2024-03-09 21:05:51 +01:00
Silc Lizard (Tokage) Renew
9ae3f79ecb Fix wrong line of making flag to discrete in AnimationMixer 2024-03-10 04:33:37 +09:00
Riteo
120936f78c Wayland: Setup next cursor frame callback only if animated
Before, the cursor kept updating for no good reason really.

It's also a bit neater and it ever-so-slightly makes `WAYLAND_DEBUG`
logs easier to read, although they're still spammed by the window's
frame logic (which is needed).
2024-03-09 20:32:54 +01:00
Hugo Locurcio
72002a77de
Use 3D editor gizmo helper for FogVolume to allow dragging individual faces 2024-03-09 18:03:01 +01:00
Micky
ba867042a2 Fix Label3D, TextMesh & Font not following project default theme in editor 2024-03-09 17:35:48 +01:00
Hugo Locurcio
f8dd9844e5
Add keywords to PhysicsBody{2D,3D}.test_move() for easier discoverability
`sweep` is the term used in Unity for collision checks without
moving anything.
2024-03-09 17:33:04 +01:00
Paul Joannon
7290e7d7a5
C#: Fix warnings
- Fix most CS0108 in generated glue
- Suppress CA1001 on `Variant`
2024-03-09 17:05:23 +01:00
Nông Văn Tình
a13b755b60 Fix ScriptCreateDialog to avoid selecting the file extension upon opening
Fixes: #89295

This is a regression from commit 2bd714e34e
2024-03-09 22:33:43 +07:00
Jakub Marcowski
41268d7faa
libpng: Update to 1.6.43 2024-03-09 15:10:17 +01:00
Micky
3a0d056180 Use META_UNDERLINE_ON_HOVER in built-in class reference 2024-03-09 13:22:59 +01:00
A Thousand Ships
06df4abcd3
[Doc] Clarify bsearch(_custom) behavior
* Added an example for the effect of `before`
* Clarified the arguments to the custom callable can be either order
2024-03-09 13:09:29 +01:00
Alistair Leslie-Hughes
82a052a008 wayland: Stop possible Null pointer dereferences 2024-03-09 21:50:55 +11:00