Commit Graph

9702 Commits

Author SHA1 Message Date
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
Rémi Verschelde c2f8fb3015
Merge pull request #85039 from RandomShaper/mingwthreads
Use mingw-std-threads in MinGW builds
2023-11-21 15:44:18 +01:00
Rémi Verschelde fa259a77cd
Codestyle: Fix some comment issues 2023-11-21 15:26:53 +01:00
Pedro J. Estébanez 1ed6919148 Fix leak in the bookkeeping of GDScript lambdas 2023-11-21 12:52:55 +01:00
Pedro J. Estébanez fe4850c0d0 Use mingw-std-threads in MinGW builds 2023-11-18 11:56:05 +01:00
bruvzg a92511fec3
[iOS] Fix dotnet export. 2023-11-16 15:05:44 +02:00
Rémi Verschelde c455cb6555
Merge pull request #84897 from raulsntos/dotnet/callp-when-invalid
C#: Fail `callp` silently if script is not valid
2023-11-14 19:31:55 +01:00
Raul Santos 3936871077
C#: Fail `callp` silently if script is not valid 2023-11-14 16:56:16 +01:00
Rémi Verschelde 70ec97aadf
Merge pull request #84844 from Calinou/doc-runtime-loading-image
Link to runtime loading/saving tutorial and improve Image documentation
2023-11-14 12:17:31 +01:00
Hugo Locurcio e5270c0db2
Link to runtime loading/saving tutorial and improve Image documentation 2023-11-14 12:05:54 +01:00
smix8 3f26191d16 Fix NavigationObstacle height
Fixes NavigationObstacle height.
2023-11-13 21:32:22 +01:00
smix8 fc4cc27e66 Fix NavigationObstacle elevation
FixesNavigationObstacle elevation.
2023-11-13 06:55:31 +01:00
Rémi Verschelde 5a5b456fca
Merge pull request #84774 from akien-mga/fix-TTR-in-ERR-WARN-prints
Don't use TTR/RTR for ERR/WARN prints
2023-11-12 22:59:38 +01:00
Rémi Verschelde bc80776618
Merge pull request #84659 from RandomShaper/fix_lambda_cross_thread
Fix lambda cross-thread dynamics
2023-11-12 12:14:42 +01:00
Rémi Verschelde 8928b2044b
Merge pull request #80281 from KoBeWi/unacceptable
Assign temporary path to preloaded resources
2023-11-12 12:13:55 +01:00
Rémi Verschelde 15b8185c68
Don't use TTR/RTR for ERR/WARN prints
We don't translate those, only editor strings are translated.
2023-11-12 12:00:55 +01:00
Rémi Verschelde bfa687ae55
Merge pull request #84758 from timothyqiu/decompress
Fix crash when saving compressed image as JPG & WebP
2023-11-11 23:06:00 +01:00
Rémi Verschelde ba713c80df
Fix various typos with codespell
Using 2.2.7.dev51+geb4a58fe.
2023-11-11 23:01:24 +01:00
Haoyu Qiu c07cd406cb Fix crash when saving compressed image as JPG & WebP 2023-11-12 00:15:49 +08:00
Rémi Verschelde e38686f85b
Merge pull request #84723 from lawnjelly/fix_vorbis_inf_loop
Fix OGG Vorbis infinite error spam with corrupt file.
2023-11-10 21:56:59 +01:00
Rémi Verschelde 313bffc205
Merge pull request #83357 from raulsntos/dotnet/ConvertCallableToNative(default)
C#: Fix converting default Callables to native
2023-11-10 21:55:22 +01:00
Rémi Verschelde 61b62fc047
Merge pull request #81438 from 0xafbf/patch-2
Fix subpixel layouts in text rendering
2023-11-10 21:52:48 +01:00