Commit Graph

59705 Commits

Author SHA1 Message Date
Rémi Verschelde d534c67d91
Linux: Handle export preset forward compat with 4.3+ platform name 2024-03-01 15:50:46 +01:00
Rémi Verschelde 2fdeeead5b
Merge pull request #88916 from AThousandShips/tile_thread_fix_4_2
[4.2] Prevent threading problems in `TileMap`
2024-02-28 13:35:59 +01:00
Rémi Verschelde c44ae1fdd4
Merge pull request #88759 from AThousandShips/template_test_4_2
[4.2] Fix running tests in template builds
2024-02-28 13:35:34 +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
A Thousand Ships 36e611fa83
Prevent threading problems in `TileMap` 2024-02-27 16:02:54 +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
Rémi Verschelde 0dcadaf02a
i18n: Sync translations with Weblate
Last sync for 4.2, then moving to 4.3.
2024-02-21 15:25:20 +01:00
Rémi Verschelde 15a8022ec3
Merge pull request #88431 from vaartis/lightmap-gi-compat-docs
[4.2] Clarify that LightmapGI is not supported in compatibility renderer
2024-02-20 11:06:14 +01:00
Ekaterina Vaartis 71a6870c06 Clarify that LightmapGI is not supported in compatibility renderer 2024-02-17 13:07:20 +03:00
Rémi Verschelde 474589eb83
Merge pull request #87782 from aaronfranke/4.2-fix-crash-mesh-root
[4.2] Fix crash when previewing a scene with a mesh as the root node
2024-02-07 10:08:57 +01:00
Rémi Verschelde 991454b8bd
i18n: Sync translations with Weblate
Still tracking 4.2 translations for now.
2024-02-02 10:47:57 +01:00
Aaron Franke 424a6a6bf5
[4.2] Fix crash when previewing a scene with a mesh as the root node 2024-01-31 07:43:25 -06:00
Yuri Sizov c7fb0645af Add changelog for 4.2.2
Also bump the version year to 2024.
2024-01-25 21:02:49 +01:00
Yuri Sizov 7ecb58dfc5
Merge pull request #87589 from YuriSizov/4.2-cherrypicks
Cherry-picks for the 4.2 branch (future 4.2.2) - 2nd batch
2024-01-25 20:51:09 +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
A Thousand Ships ad57a98eb0 [Core] Fix `AABB.encloses` failing on shared upper bound
This differs from `Rect2(i)` and was fixed for those classes in the past

(cherry picked from commit b4191bf8f6)
2024-01-25 18:56:36 +01:00
A Thousand Ships 881d253897 Fix some build errors with `disable_3d=Yes`
* Some tests were incorrectly included
* SCU builds with animation
* Animation `switch`

(cherry picked from commit c6a1ae7875)
2024-01-25 18:55:00 +01:00
Alexander Hartmann 822b2b43a6 Fix 'get_window_safe_area' on Android
(cherry picked from commit d7c6ad2020)
2024-01-25 18:45:02 +01:00
Samuel Venable 6c8375b73d Fix NetBSD Executable Path
(cherry picked from commit 52da1e9b6b)
2024-01-25 18:45:02 +01:00
Gregory De Bonis ce42f8b4ec Wrong key mapping for XK_KP_Delete key
Fixes #86156

(cherry picked from commit 95bcf93849)
2024-01-25 18:45:02 +01:00
Micky a92a2015f0 Fix missing autocompletion for inheriting classes
(cherry picked from commit ca2f340384)
2024-01-25 18:45:01 +01:00
Micky 873a77d8e9 Add autocompletion options for AnimatedSprite's other play methods
(cherry picked from commit d5a7c7818c)
2024-01-25 18:45:01 +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
Haoyu Qiu beadc92e4f Clear sub-resources list when no sub-resource exists
(cherry picked from commit 6e49ff91c0)
2024-01-25 18:32:37 +01:00
Mika Viskari c2d38b4388 Fix invalid frame index when Sprite2D's hframes or vframes has been changed
(cherry picked from commit 484c5b5aff)
2024-01-25 18:32:37 +01:00
Yuri Sizov eb25ef6062 Optimize scanning routines in the project manager
(cherry picked from commit 3d4b33df33)
2024-01-25 18:32:37 +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
kobewi 06a94ecc14 Load project metadata file only when needed
(cherry picked from commit 3dc47b0b84)
2024-01-25 18:32:36 +01:00
jsjtxietian a47a07d13b Fix FileAccessPack::get_buffer will update pos past the length of file
(cherry picked from commit 68a6fe81ab)
2024-01-25 18:32:36 +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
Saracen 49031b24e5 Fix setting bezier track handle mode from inspector.
(cherry picked from commit 09a4aa3ce8)
2024-01-25 18:32:36 +01:00
kobewi 1f677eb279 Properly select the newly duplicated file
(cherry picked from commit 0ae1241304)
2024-01-25 18:32:36 +01:00
Nancy Zhang 88526a23a5 Fix unable to deselect audio effects
(cherry picked from commit cf39cc985b)
2024-01-25 18:32:36 +01:00
wilto938 6a2a048753 Reset TileMap editor `drag_type` by using the _stop_dragging() function when the toolbar mode is not selected
(cherry picked from commit 5a3de5bc30)
2024-01-25 18:32:36 +01:00
detomon 4bc567d27a Fix creating and updating plugin with dot in folder name
(cherry picked from commit 46253bd9e9)
2024-01-25 18:32:36 +01:00
Yuri Sizov 5dbe105f22 Fix theme access in the Groups editor
(cherry picked from commit 0244f8318f)
2024-01-25 18:32:36 +01:00
Emily 5573f37ff3 Change suffix from m to px
(cherry picked from commit b7d5f3e984)
2024-01-25 18:32:36 +01:00
kevmorg 8633f7bcdb Hide Node dock successfully on undo/redo and deletion
Fixes #84530.

(cherry picked from commit da84489b27)
2024-01-25 18:32:35 +01:00
kleonc 6e6d49c68a Fix ColorPicker's alpha slider arrow offset
(cherry picked from commit d76d8c5f29)
2024-01-25 18:32:35 +01:00
Alistair Leslie-Hughes 6777e1b4bf Replace memory allocation point of ValueTrack correctly in AnimationMixer
When a animation track doesn't have an keys, it's possible that we leak memory due the ERR_CONTINUE_MSG macro usage.

By checking the error condition first, we avoid a allocation and thus the leak.

(cherry picked from commit ea84effb84)
2024-01-25 18:32:35 +01:00
Lasuch 8e3740d425 Expose copy_effects copy compute shader in Mobile backend
(cherry picked from commit 608d41a969)
2024-01-25 18:32:35 +01:00
Zach Coleman 9609df181d Make screen_get_refresh_rate() respect iOS Low Power Mode
(cherry picked from commit 6a8f6bae4c)
2024-01-25 18:32:35 +01:00
Dominic 93fd5da49c Add wireframe for compatibility mode
(cherry picked from commit bae6f86257)
2024-01-25 18:32:35 +01:00
Aitor Guevara 43d24379a5 Trigger zoom from pan gestures when pressing ctrl
Enables zooming using pan + ctrl on macOS trackpads / Magic Mouse.
Windows and Linux don't emit pan gesture events, so shouldn't be
affected. Not tested on Android.

(cherry picked from commit 6b45694836)
2024-01-25 18:32:35 +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
BlueCube3310 2fe886f3a5 Fix squish RGTC_R decompression corruption
(cherry picked from commit 433a2a6ea2)
2024-01-25 18:08:46 +01:00
Aaron Franke 3a8c04ea3c Add PackedRealArray as an alias for Vector<real_t>
(cherry picked from commit 3f469ee485)
2024-01-25 18:08:46 +01:00