Commit Graph

9723 Commits

Author SHA1 Message Date
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
Martin Capitanio
08772e3fd3 ThorVG: update from v0.11.6 to v0.12.0
https://github.com/thorvg/thorvg/releases/tag/v0.12.0

Godot-related SVG bug fixes:

+ [SwEngine] Fixed a linear filling scaling issue.
      thorvg/thorvg#1834
+ [SwEngine] Path data not invalid even though
      it doesn't start with MoveTo.
      thorvg/thorvg#1848

Fixes #86128 Gradient issue.

(cherry picked from commit e090b112ef)
2024-01-25 17:53:49 +01:00
Haoyu Qiu
4a036b5fe7 Fix ZIPPacker storing file permissions unexpectedly
(cherry picked from commit 7a833c9b2e)
2024-01-25 17:19:41 +01:00
S.V.I. Vilcrow
89fd2c30e1 Fix the autocomplete function for the 'self' keyword.
(cherry picked from commit c8fc824608)
2024-01-25 17:19:41 +01:00
HolonProduction
7c22d5444a Fix regression when autocompleting subscript on get node
(cherry picked from commit 5f72254d4d)
2024-01-25 17:19:41 +01:00
Lyuma
80bf0cff65 gltf: fix three bugs which prevented extracted textures from being refreshed.
1. Extracted texture paths in `GLTFDocument::_parse_image_save_image` at the project root started with res:/// which broke cache invalidation
2. md5 hashes were not being written to generator_parameters for new imports, which led Godot to think the file was manually created.
3. `EditorFileSystem::reimport_append` must emit the `resources_reimported` signal in order for the resource cache to be updated.

(cherry picked from commit fea4165ca8)
2024-01-24 16:38:28 +01:00
BlueCube3310
90a29fb844 Fix BasisUniversal ETC RA_AS_RG transcoding
(cherry picked from commit 51ad937532)
2024-01-24 16:29:32 +01:00
Fabio Alessandrelli
240f7dc21e [MP] Fix complete_auth notifying the wrong peer
The SceneMultiplayer complete_auth method was not configuring the
multiplayer peer correctly, causing it to potentially send the
notification to the wrong peer, on the wrong channel, and/or with an
incorrect transfer mode.

(cherry picked from commit 4826c14d20)
2024-01-24 15:57:58 +01:00
LunaticInAHat
26fa8d13eb Support unspecified linear size in DDS files
Not all exporters choose to populate that (optional) header field.

(cherry picked from commit a344d7f906)
2024-01-24 15:57:49 +01:00
rune-scape
4d4ec47690 GDScript: Lambda hotswap fixes 2024-01-05 17:18:46 -08:00
Rémi Verschelde
d5064a7d44
Bump version to 4.2.2-rc 2023-12-12 11:03:21 +01:00
Haoyu Qiu
5db5f0b52b
Set language encoding flag when using ZIPPacker
When non-ASCII filenames are used, this indicates that the encoding is
UTF-8. Programs like ZIPReader can then parse the filename correctly.

(cherry picked from commit 08b1354b36)
2023-12-07 10:27:08 +01:00
HolonProduction
6f8cc1b8de
Improve autocompletion with get_node
(cherry picked from commit c8889a7fe7)
2023-12-07 10:27:08 +01:00
HolonProduction
0ba32ac384
Filter groups and categories from autocompletion
(cherry picked from commit e253250814)
2023-12-07 10:27:08 +01:00
DmitriySalnikov
2b3a8f060a
Update cached singletons when reloading GDScripts
(cherry picked from commit 8cdbec0434)
2023-12-07 10:27:07 +01:00
MewPurPur
bcf09f1d9e
Remove exp hint of a few properties
(cherry picked from commit 09270f9624)
2023-12-07 10:27:07 +01:00
Yuri Sizov
4564a8513a
Correctly check scripts that must inherit EditorPlugin
Also updates some error messages related to this kind of check
across the codebase.

(cherry picked from commit bc1949d797)
2023-12-07 10:27:06 +01:00
Bastiaan Olij
1d82ae22c0
Remove unused grip touch action from default OpenXR action map
(cherry picked from commit 3af0176e8c)
2023-12-07 10:27:04 +01:00
Alistair Leslie-Hughes
779414c1e8
Fix memory leak on error paths in tinyexr loader
(cherry picked from commit f912a5aa56)
2023-12-07 10:27:04 +01:00
Pawel Lampe
c913a8de58
Fix memory leak in 'NavigationServer3D' involving static obstacles
(cherry picked from commit a4b3546577)
2023-12-07 10:27:03 +01:00
Rémi Verschelde
0bf12956a1
Bump version to 4.2.1-rc
And update CI base branch to 4.2.
2023-11-30 09:35:35 +01:00
Pedro J. Estébanez
cfa7e72057 Fix GDScript thread-exit routine assuming thread-enter was called 2023-11-27 13:01:37 +01:00
Pedro J. Estébanez
bfe66ab7cd Fixup thread-owned lambda bookkeeping on thread exit (take 2) 2023-11-23 18:50:20 +01:00
Pedro J. Estébanez
f26328e9a3 Revert recently added approach to cross-thread lambda survival
Commits reverted:
- 1ed6919148
- 271511726b
2023-11-22 20:07:01 +01:00