9756 Commits

Author SHA1 Message Date
Lukas Tenbrink
51b3751ad8 Update links to the contributing section of the docs to the appropriate new sections.
(cherry picked from commit 4c0026b053)
2025-09-12 09:31:12 -05:00
Rémi Verschelde
0c12e633d4 Style: Apply fixes from clang-format 18.1.3 2025-04-25 15:40:13 +02:00
Rémi Verschelde
7d9ae94b20 Style: Apply fixes from codespell 2025-04-25 15:34:47 +02:00
Rémi Verschelde
35cf7b1c4d miniupnpc: Disable socket timeout on Windows, matching upstream
Fixes #88471.

(cherry picked from commit f695de7c68)
2025-04-25 14:28:56 +02:00
Aaron Franke
f70a8accdb [4.2] GLTF: Fix bad pointer to ImporterMeshInstance3D root node at runtime 2025-03-09 15:36:04 -07:00
Rémi Verschelde
369b981a75 Merge pull request #98878 from aaronfranke/4.2-gltf-preserve-visibility
[4.2] GLTF: Preserve node visibility on import
2024-12-05 01:11:08 +01:00
demolke
31017f89ce Update vertex color import to handle Blender 4.2 upwards
Blender commit 0f0a8df8a9 which is landing in 4.2 deprecated `vertex_colors` GLTF property, use `export_vertex_color` instead.

(cherry picked from commit 7864abbeec)
2024-12-05 01:03:19 +01:00
Aaron Franke
8bf8028d3b [4.2] GLTF: Preserve node visibility on import 2024-11-08 14:21:44 -08:00
Rémi Verschelde
3504c98c12 Revert "[MP] Handle cleanup of "scene cache" nodes"
This reverts commit 8544106b7e.

This caused regression #90908.
2024-07-31 22:47:02 +02:00
Rémi Verschelde
c8356fb9d4 Bump version to 4.2.3-rc 2024-04-17 16:05:28 +02:00
Zae
0b734a6371 C#: Fix return type hint for methods.
(cherry picked from commit 51c54b03d1)
2024-04-09 13:07:18 +02:00
aaronp64
6710381d9a Fix ZIPReader.get_files() error on empty zip files
Added check for empty zip file before trying to look at first file

Fixes #90388

(cherry picked from commit 2dad2fbce2)
2024-04-08 23:07:16 +02:00
Haoyu Qiu
7d1c5125a0 Fix node config warning not updating for Multiplayer{Spawner,Synchronizer}
(cherry picked from commit 6feb43200b)
2024-04-08 15:48:31 +02:00
A Thousand Ships
3bb74adc45 [Doc] Document loading behavior with relative paths
(cherry picked from commit 2508c2e309)
2024-04-08 15:48:31 +02:00
Raul Santos
d2433970c9 C#: Use get_instance_binding instead of set
(cherry picked from commit a351c4bbe3)
2024-04-08 15:48:30 +02:00
kleonc
a8851277d2 [C#] Fix Transform3D.InterpolateWith applying rotation before scale
(cherry picked from commit e2ed63b313)
2024-04-08 15:48:29 +02:00
Danil Alexeev
d81e6e951c Update @GDScript documentation
(cherry picked from commit 0c48845247)
2024-04-08 15:48:28 +02:00
Zae
1b90b9ad05 C#: Fix issues for StringName reference in CSharpInstanceBridge.Get.
(cherry picked from commit 1e14503715)
2024-03-12 17:02:19 +01:00
Max Hilbrunner
61f4d6252b Fix removing connected peer during disconnection
(cherry picked from commit bd8380db55)
2024-03-11 23:29:11 +01:00
A Thousand Ships
4e5b545c04 [GDScript] Prevent running String number functions on invalid literal
Prevents printing excessive errors.

(cherry picked from commit 66d55e62f0)
2024-03-11 23:26:36 +01:00
Aaron Franke
16d154e8fd Fix GLTF exporting invalid meshes and attempting to export gizmo meshes
(cherry picked from commit 2d38c980ee)
2024-03-11 23:25:27 +01:00
Aaron Franke
7513a79555 Fix crash when importing a GLTF file with a skeleton as the root
(cherry picked from commit 4c8d69f264)
2024-03-11 23:25:13 +01:00
Fabio Alessandrelli
0b03a281e1 [MP] Fix remote net ID cleanup
Synchronizers for spawned nodes were not correctly keeping track of the
net ID assigned by the remote, preventing the replication from
performing the proper cleanup.

This resulted in errors being thrown when sync messages were received
after despawn (which is possible due to their unreliable nature).

(cherry picked from commit 89dacb88ec)
2024-03-11 23:21:59 +01:00
Fabio Alessandrelli
1dfd92797e [MP] Fix spawned nodes not working after reset
Ensures that spawnable nodes (i.e. spawned nodes over which the local
instance has authority) always have a network ID, since they may lose it
after the multiplayer is reset (e.g. when changing the multiplayer peer).

(cherry picked from commit cb08f2a968)
2024-03-11 23:21:51 +01:00
Fabio Alessandrelli
966e1a3d71 [MP] Fix auth not waiting for confirmation in some cases
The auth implementation was treating any received packet as a remote
confirmation after the peer was confirmed locally.

It now correctly awaits for the remote confirmation packet before
admitting new peers.

(cherry picked from commit 754036f82f)
2024-03-11 23:08:35 +01:00
nikitalita
360543361b fix next_ogg_packet never returning false
(cherry picked from commit 86a914575f)
2024-03-11 23:06:28 +01:00
Jovan Gerodetti
9f4eac82a2 GDScriptAnalyzer is unaware of properties from other Languages
Co-authored-by: K. S. Ernest (iFire) Lee <fire@users.noreply.github.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
(cherry picked from commit 030aa41a99)
2024-03-11 23:06:00 +01:00
Sofox
b3b961247f Fix for RegEx.sub truncating string when 'end' is used
(cherry picked from commit 46b420f7ee)
2024-03-11 17:57:00 +01:00
Thaddeus Crews
d0a36f8111 C#: Match Core implementation of BinToInt & HexToInt
(cherry picked from commit 48428bd087)
2024-03-11 17:39:20 +01:00
Paul Joannon
f546d40367 Delay fs update when populating path bimap
(cherry picked from commit 999180d5b5)
2024-03-11 17:37:14 +01:00
Michael Wörner
167b4c071c Fixed ~CSharpScript() holding on to a mutex longer than necessary, creating potential for a deadlock.
(cherry picked from commit 9d50a486bf)
2024-03-11 17:36:44 +01:00
Zae
587d689c5f C#: Fix not assigning runtime_initialized when initializing with AOT.
(cherry picked from commit e868a9f577)
2024-03-11 17:36:20 +01:00
Mikael Klasson
bbc90d8c8a fix: use correct number in GD0103 link
(cherry picked from commit a2b183067c)
2024-03-11 17:35:25 +01:00
Ivan Shakhov
b1b5cb9d6f Bump Rider.PathLocator nuget version, which provides a fix for detecting Rider installations
(cherry picked from commit 703c34a788)
2024-03-11 17:28:54 +01:00
Ivan Shakhov
76055c4268 bump the PackageReference "JetBrains.Rider.PathLocator" to 1.0.8
(cherry picked from commit 7f63f4a6bf)
2024-03-11 17:28:54 +01:00
Nông Văn Tình
ae6079dbdf Fix incorrect condition for error filtering
Fixes: #87643

The original condition stopped immediately after checking for 'searchText' in the 'Message' field, resulting in premature termination of subsequent checks. This fix ensures that all relevant conditions are appropriately evaluated before determining the filtering outcome.

Additionally, accompanying changes include improved code readability for better comprehension. This adjustment enhances the maintainability of the error filtering mechanism, contributing to a more robust codebase overall.

(cherry picked from commit d81c9c32c5)
2024-03-11 16:39:27 +01:00
Danil Alexeev
8f0966982d GDScript: Fix POT generator skips some nodes (part 2)
(cherry picked from commit e07ec89bdf)
2024-03-11 16:23:38 +01:00
A Thousand Ships
63c13e77e4 [C#] Fix typo in Color documentation
(cherry picked from commit 5aadb8660b)
2024-03-11 15:22:02 +01:00
A Thousand Ships
50a240916a [Doc] Fix some incorrect uses of "children"
(cherry picked from commit 9b5cd8e240)
2024-03-11 15:18:58 +01:00
clayjohn
abde3b53da Fix wrong indexing when generating dummy tangents in GLTF import
(cherry picked from commit 14c776f798)
2024-03-11 15:00:43 +01:00
clayjohn
6ba9c6bf6d Avoid singularity when generated tangents and validate that tangents are good enough when using compression
(cherry picked from commit 781cd27fe4)
2024-03-11 15:00:43 +01:00
David Snopek
4142e57082 Fix crash when using OpenXR extension wrappers from GDExtension
(cherry picked from commit 713ea0629a)
2024-03-11 15:00:43 +01:00
clayjohn
d5ac4564b0 Remove workaround in GLTF exporter that double converts ra textures to rg
(cherry picked from commit 4f41b94943)
2024-03-11 15:00:43 +01:00
Mikael Hermansson
fc78f766d1 Allow LSP to process multiple messages per poll
(cherry picked from commit e2485044a1)
2024-03-11 15:00:42 +01:00
Rémi Verschelde
fe45b36d52 basis_universal: Unbundle jpgd, use our newer copy
(cherry picked from commit 48ed0474e2)
2024-03-11 15:00:42 +01:00
mxaddict
e45579fcc6 Added proper timeout for blender rpc connection
(cherry picked from commit 857586b7ae)
2024-03-11 15:00:41 +01:00
A Thousand Ships
c17688fa6c Fix running tests in template builds
Also fixes some errors with 3D disabled
2024-02-27 16:03:18 +01:00
Pedro J. Estébanez
d8cbaa3a8b Fix warning in MSVC
(cherry picked from commit fe8c217b7c)
2024-02-27 15:59:48 +01:00
Michael Wörner
7ca66462ac Fixed an issue that could cause a crash when encountering a zero-length packet in an OGG stream.
A zero-length memcpy into a null pointer itself does not fail, but for gcc with optimizations, this can cause incorrect code to be generated further down the line since the pointer is then assumed to be non-null.
Now stripping zero-length packets and pages without packets from the OggPacketSequence during import. This prevents various warning and error messages for files that end on a zero-length packet.

(cherry picked from commit a4db4ae658)
2024-02-27 15:45:39 +01:00
A Thousand Ships
e070bbc77e [C#] Fix Encloses failing on shared upper bound for AABB and
`Rect2(I)`

(cherry picked from commit 227a165ce4)
2024-01-25 18:56:36 +01:00