Commit Graph

9746 Commits

Author SHA1 Message Date
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
Danil Alexeev
c35e05e7b1 GDScript: Fix accessing static function as Callable in static context
(cherry picked from commit 10dcb21d8b)
2024-01-25 18:45:01 +01:00
Danil Alexeev
ee1034d355 GDScript: Fix POT generator skips some nodes
(cherry picked from commit 1aa242f7c4)
2024-01-25 18:32:37 +01:00
jsjtxietian
bce0ada5f4 Prompt require editor restart to user when gizmo color changed
(cherry picked from commit b0ccd5c84f)
2024-01-25 18:32:37 +01:00
eldidou
b34af3aa5a Speed up GDScript::get_must_clear_dependencies()
get_must_clear_dependencies() has a N^3*log(N) time complexity, and this can very quickly slow down the quitting process as more gdscripts are added in a project.
This change improves it to N^2*log(N).
Instead of using all the inverted dependencies, we do the same with all (non-inverted) dependencies, which is N times faster.

Fixes #85435

(cherry picked from commit 0d77c3e092)
2024-01-25 18:32:36 +01:00
Yuri Sizov
9f10aedb17 Correctly register editor-only module classes with the API
(cherry picked from commit 0f8c955c1a)
2024-01-25 18:08:46 +01:00
BlueCube3310
5f3bd68cfe Fix squish DXT5 RA-As-RG channel swapping
(cherry picked from commit 1224129c50)
2024-01-25 18:08:46 +01:00
zinefer
89f22518dc Bugfix: Replace // with \\ before sending path to Blender
On Windows, Blender treats //fileshare/assets/model.blend as a relative
path which will not be found. Instead, replace the first two chars with
`\\` which when escaped becomes `\\\\`.

(cherry picked from commit 72d18d50a4)
2024-01-25 18:08:46 +01:00
Sofox
cd29fb22a0 Fixed RegEx search_all for zero length matches/lookahead/lookbehind
(cherry picked from commit 7b2fd342e3)
2024-01-25 18:08:45 +01:00
Fabio Alessandrelli
8544106b7e [MP] Handle cleanup of "scene cache" nodes
Make sure we delete the relevant ObjectID from the cache when the nodes
are removed from tree.

(cherry picked from commit 853df2895a)
2024-01-25 18:08:45 +01:00
HolonProduction
571cb746f9 Improve sorting of enum autocompletion
(cherry picked from commit 76fd7ec394)
2024-01-25 18:08:44 +01:00