Rémi Verschelde
2d74ee0e5b
Update changelog for 4.0.3
2023-04-27 08:51:08 +02:00
George Marques
21bb5b9c0e
GDScript: Don't fail when freed object is return
...
This is check is a bit too eager. The user should be able to handle the
return value even if it's a freed object.
(cherry picked from commit abbdf80643
)
2023-04-27 08:49:29 +02:00
George Marques
aff0340486
GDScript: Fix wrong increment for disassembly of lambda
...
(cherry picked from commit 5b49382d38
)
2023-04-27 08:49:29 +02:00
Pedro J. Estébanez
908325c29e
Fix unsupported sampler filter used for voxel GI
...
(cherry picked from commit 09aa1bbdb3
)
2023-04-27 08:43:30 +02:00
Pedro J. Estébanez
a5779ff281
Fix breakages of volumetric fog on voxel GI changes
...
(cherry picked from commit 2beed0d5dc
)
2023-04-27 08:43:23 +02:00
kobewi
37c89f78ac
Improve reliability of 2D shape editor redrawing
...
(cherry picked from commit d8e39912f8
)
2023-04-27 08:42:54 +02:00
bitsawer
a0a95c7bc7
Fix Shader Preprocessor line numbering when disabled
...
(cherry picked from commit 34896d8e89
)
2023-04-27 08:41:43 +02:00
George Marques
ee9a268fd7
GDScript: Use default path in test generator if not provided
...
Since it's almost always used with the same path, assume it is running
from the Godot source root.
(cherry picked from commit 221deb1cc1
)
2023-04-27 08:41:36 +02:00
Devin
1b74572377
Updated GDScript example to use clear_surfaces() and C Sharp example to use ClearSurfaces() instead of non-existent surface_remove() and SurfaceRemove()
...
(cherry picked from commit 3b615ed789
)
2023-04-27 08:41:23 +02:00
Rémi Verschelde
ba004ea1c3
Merge pull request #76476 from YuriSizov/4.0-cherrypicks
...
Cherry-picks for the 4.0 branch (future 4.0.3) - 3rd batch
2023-04-26 17:57:45 +02:00
Yuri Sizov
e7f4af0913
Update the changelog for 4.0.3
2023-04-26 15:50:20 +02:00
VolTer
7f09c3d2fc
Provide an example on how to use ImmediateMesh
...
(cherry picked from commit 4eabad6c26
)
2023-04-26 14:51:01 +02:00
Yuri Sizov
56110a354c
Err when trying to build the editor without its required modules
...
(cherry picked from commit a145194268
)
2023-04-26 14:51:01 +02:00
Winston
b9e75e50dc
Document automatic center mode using shape origins
...
(cherry picked from commit 7b30d7da51
)
2023-04-26 14:51:01 +02:00
Ninni Pipping
08ec4a82bd
Add information about how `Engine.time_scale` affects Timers
...
(cherry picked from commit 16a1465380
)
2023-04-26 14:51:00 +02:00
Fredia Huya-Kouadio
d327bb7a45
Fix issue with resizing the display on Android when using the compatibility renderer.
...
(cherry picked from commit b438b4a490
)
2023-04-26 14:51:00 +02:00
Eoin O'Neill
5120afc236
Fix crash caused by invalid mix_rate assignment due to bogus
...
project settings.
We'll default to a sensible value in the case that a user has
somehow managed to modify the configuration file incorrectly.
Closes 69819
(cherry picked from commit 5a08091168
)
2023-04-26 14:51:00 +02:00
Rindbee
4b4556179e
Fix the uid field of the tscn/res file is lost when the external dependency is updated
...
(cherry picked from commit 41ac40c44c
)
2023-04-26 14:51:00 +02:00
Roman Vasilyev
b711b45870
ios splash screen rotation fix
...
(cherry picked from commit 8fcca194a1
)
2023-04-26 14:50:59 +02:00
VolTer
7b59361637
Document why Gradient.reverse() doesn't reverse constant gradients
...
(cherry picked from commit f21d13600e
)
2023-04-26 14:50:59 +02:00
sodaJar
0132c29953
Fix wrong file on function call error
...
(cherry picked from commit 464a299d2e
)
2023-04-26 14:50:59 +02:00
Haoyu Qiu
389045c691
Fix inconsistent file dialog settings usage
...
* Project Manager ignores display mode settings.
* EditorFileDialog's default display mode and show hidden files settings
are not updated when corresponding editor settings change.
(cherry picked from commit 2ccc9e1456
)
2023-04-26 14:48:18 +02:00
Pedro J. Estébanez
4c8946c080
Fix issues with Vulkan layout transitions
...
(cherry picked from commit 882b869220
)
2023-04-26 14:48:18 +02:00
Yuri Sizov
289d551fbb
Create an "Editor-only" section in the online class reference
...
This helps to find such classes without digging
through the rest of the class reference.
Editor-only classes can still be found under
your normal "Node" and "Resource" types.
This also fixes a typo and a missed case from the recent platform docs PR.
(cherry picked from commit 3ae282b452
)
2023-04-26 14:47:56 +02:00
Rindbee
112677c39e
Fix `line_spacing` in code editor will not take effect immediately on change
...
Previously, in CodeTextEditor, `line_spacing` was forgotten to update
when the editor setting property changed.
(cherry picked from commit 23d6225c1e
)
2023-04-26 14:32:22 +02:00
VolTer
75a33fd647
Add missing PhysicalBone2D icon
...
(cherry picked from commit 048f94f662
)
2023-04-26 14:32:22 +02:00
Adam Scott
e03ee06d74
Fix GDScript LSP variable rename
...
(cherry picked from commit 10fe6f14bb
)
2023-04-26 14:32:22 +02:00
Samuele Panzeri
12969aadbd
Fix editor spin slider remaining editable if set read_only during an edit and fix related animation player crash
...
(cherry picked from commit b6abb34759
)
2023-04-26 14:32:21 +02:00
Haoyu Qiu
7f1b1e1c1b
Fix TouchScreenButton not redrawn when texture changes
...
(cherry picked from commit a15126915d
)
2023-04-26 14:32:21 +02:00
Haoyu Qiu
9336866de0
Fix layout list not resizing in editor layout dialog
...
(cherry picked from commit dfc628bc54
)
2023-04-26 14:32:21 +02:00
Fredia Huya-Kouadio
01014a7475
Make tab's close button responsive to touch taps
...
(cherry picked from commit 7325ffdd46
)
2023-04-26 14:32:21 +02:00
Fredia Huya-Kouadio
bceb910f3a
Make `EditorPropertyLayersGrid` responsive to touch taps
...
(cherry picked from commit aa7a4d56f0
)
2023-04-26 14:32:20 +02:00
Fredia Huya-Kouadio
eae3d61d7f
Downgrade android gradle plugin to version 7.2.1.
...
Version 7.3.0 changes the build layout which causes updates to the generated shared libraries to not be picked up.
(cherry picked from commit 4507d3a38c
)
2023-04-26 14:32:20 +02:00
kobewi
82aab2b0ea
Fix invalid global position when read outside tree
...
(cherry picked from commit 727a4ed79a
)
2023-04-26 14:32:20 +02:00
clayjohn
c8ed59ba41
Validate renderer selection in project manager and change default renderer editor setting to expose an enum to users
...
(cherry picked from commit 48ebae7812
)
2023-04-26 14:31:53 +02:00
Hugo Locurcio
f5721ca61a
Document custom mouse cursors larger than 128×128 potentially having issues
...
(cherry picked from commit 92730fb07d
)
2023-04-26 14:29:27 +02:00
Paweł
c4655010d0
Fix lerp error message
...
(cherry picked from commit 899da22002
)
2023-04-26 14:29:27 +02:00
MistMage
4d38529284
Fix for mixed tabs and spaces in gdscript
...
(cherry picked from commit fecbc12d17
)
2023-04-26 14:29:27 +02:00
Rémi Verschelde
c893968b33
CI: Fix checks fallback logic when changed files listing is missing
...
The file would be one byte (newline) so the check with '-s' failed.
(cherry picked from commit 39d24ee80b
)
2023-04-26 14:18:39 +02:00
Rémi Verschelde
82a17d028d
CI: Fixup failure to get changed files on merge
...
The checkout might be too shallow so the before commit isn't available.
The logic was already written to take this into account (it then generates
an empty 'changed.txt' which falls back to testing everything), but the
error code would still force terminate the job.
Hopefully we can find a way to make the logic work for merge events too in
the future, but for now this is a quick fix.
(cherry picked from commit 9063e907a7
)
2023-04-26 14:18:38 +02:00
Rémi Verschelde
f241b17804
CI: Speed up static checks by checking only changed files
...
- file_format, header_guards and clang-format benefit from this short list.
- dotnet-format, Python and JS checks don't, but they're only relevant for
PRs changing a specific set of files, so we skip them when those files
aren't modified.
The logic to get changed files only works reliably for:
- Pull request events
- Non-force pushed push events
So when force pushing a branch in your fork, or creating a new branch,
it will still scan all files as fallback.
Upgraded CI runner to Ubuntu 22.04 so we get clang-format 14 out of the box,
so we don't need to install a custom version (saves ~15 s). We also cache
the APT dependencies to speed up the build and avoid flaky Ubuntu/Microsoft
repos.
(cherry picked from commit 068f893072
)
2023-04-26 14:18:38 +02:00
kleonc
fcdd7eda26
Fix expected argument count in Callable call error text
...
(cherry picked from commit 7a871212ed
)
2023-04-26 14:14:08 +02:00
Rémi Verschelde
878367b3ac
mbedtls: Update to upstream version 2.28.3
...
Rediff patch from PR 1453, lstrlenW is no longer used upstream so
that part of the patch was dropped.
(cherry picked from commit 1fde2092d0
)
2023-04-26 14:14:07 +02:00
Samuele Panzeri
a27dd86755
Fix editor lock on sdf collision bake on error
...
(cherry picked from commit a2be742f97
)
2023-04-26 14:14:07 +02:00
bruvzg
46e7f334fb
[Windows] Cleanup COM library initialization/uninitialization.
...
(cherry picked from commit 83dc545ea2
)
2023-04-26 14:14:07 +02:00
kobewi
cce2ffda1b
Remove wrong Ctrl from 2D editor tooltip
...
(cherry picked from commit 75f2d7f5c4
)
2023-04-26 14:14:06 +02:00
smix8
f1505fe98b
Fix NavigationMesh baking for HeightMapShape
...
Fixes NavigationMesh baking for HeightMapShape.
(cherry picked from commit 71c453a426
)
2023-04-26 14:14:06 +02:00
bruvzg
10547deb3d
[Windows TTS] Fix queuing utterances in rapid succession.
...
(cherry picked from commit a9d326db60
)
2023-04-26 14:14:06 +02:00
bruvzg
357e2ec05d
[Image Font] Fix fractional ascent for font with odd height.
...
(cherry picked from commit 41f7bb2025
)
2023-04-26 14:14:06 +02:00
HolonProduction
769daf79e2
Fix multi-line string highlighting with single quotes.
...
(cherry picked from commit bdb7045e2c
)
2023-04-26 14:14:05 +02:00