Commit Graph

59209 Commits

Author SHA1 Message Date
dc221c50ab use venv if detected when building godot.sln
(cherry picked from commit 3f22c1bfb6)
2023-12-07 10:27:06 +01:00
21a510b5ea Restored Control layout properties you undo a parenting of a Control to a Container
(cherry picked from commit 5614e6d61c)
2023-12-07 10:27:06 +01:00
77383e63a6 Keep scene tiles even if the TileMap is invisible
(cherry picked from commit 25e927e56b)
2023-12-07 10:27:06 +01:00
b5e7b2c7a7 [Core] Fix crash when hashing empty CharString
(cherry picked from commit ca5ec6aec1)
2023-12-07 10:27:05 +01:00
6cfe17cbcf [Core] Prevent infinite recursion when printing errors
(cherry picked from commit d10617bb3b)
2023-12-07 10:27:05 +01:00
51816380b5 Fix memory corruption and assert failures in convex decomposition
This PR fixes how triangular faces are decomposed into vertices and indices. The pre-increment resulted in the indices table skipping entry 0 and potentially overrunning the end of the vertices vector.

(cherry picked from commit bf7cdc5229)
2023-12-07 10:27:05 +01:00
492b0c322a Fix Tween loop initial value
(cherry picked from commit 20aecefd9b)
2023-12-07 10:27:05 +01:00
1fcf635383 Limit window size updates on title change.
(cherry picked from commit 5dd11e8eee)
2023-12-07 10:27:05 +01:00
871d00c980 Fix AnimationPlayer seeking for Discrete keys
(cherry picked from commit 7ed7ea53e6)
2023-12-07 10:27:05 +01:00
d2d7261c1e Set ReflectionProbe frame before mapping id in mobile renderer
(cherry picked from commit 394edf8288)
2023-12-07 10:27:05 +01:00
3ba731f9e1 [RTL] Fix CharFX character offset calculation.
(cherry picked from commit 7a59efac32)
2023-12-07 10:27:05 +01:00
cc9bb3bc3f Do not consume (eat) mouse messages with no_focus Window's (Godot PopupMenu)
Window's with the no_focus flag should still process mouse events and not consume them. Otherwise all mouse pressed operations will not work inside Godot's PopupMenu.
This problem is Windows only, all other platforms do process mouse events for PopupMenu's correctly.

(cherry picked from commit 40d7320a17)
2023-12-07 10:27:05 +01:00
2786f0e43e Prevent a crash when calling AnimationMixer::restore when an invalid reference
(cherry picked from commit 937411e152)
2023-12-07 10:27:04 +01:00
cff941f138 Fix typo in BaseMaterial3D conversion from 3.x SpatialMaterial
(cherry picked from commit 70959a9c04)
2023-12-07 10:27:04 +01:00
b642489dc4 Fixed reading WAV files with odd chunk sizes.
These require a padding byte not included in the chunk size.

(cherry picked from commit 29810376b8)
2023-12-07 10:27:04 +01:00
4ddcfb5fb3 Fix issue with 3D scene drag and drop preview node
(cherry picked from commit 834ccb9698)
2023-12-07 10:27:04 +01:00
7fb0ec04c2 Only allow MeshInstance3D-inherited nodes in MultiMesh Populate Surface dialog
(cherry picked from commit dc3194f668)
2023-12-07 10:27:04 +01:00
f84ee53a9a Only allow MeshInstance3D-based nodes in particles emission shape node selector
This applies to both GPUParticles3D and CPUParticles3D, as
CPUParticles3DEditor inherits from GPUParticles3DEditorBase.

(cherry picked from commit c6a16b176e)
2023-12-07 10:27:04 +01:00
1d82ae22c0 Remove unused grip touch action from default OpenXR action map
(cherry picked from commit 3af0176e8c)
2023-12-07 10:27:04 +01:00
779414c1e8 Fix memory leak on error paths in tinyexr loader
(cherry picked from commit f912a5aa56)
2023-12-07 10:27:04 +01:00
90f7b2b8cf Fix NavigationRegion2D transform update
Fixes NavigationRegion2D transform update.

(cherry picked from commit 6fdb16af47)
2023-12-07 10:27:03 +01:00
7b9bf3df64 Fix imported track flag on sliced animations.
(cherry picked from commit 57f1e5dcdc)
2023-12-07 10:27:03 +01:00
c913a8de58 Fix memory leak in 'NavigationServer3D' involving static obstacles
(cherry picked from commit a4b3546577)
2023-12-07 10:27:03 +01:00
e4aec48bea VideoPlayer: Fix reloading translation remapped stream
Fixes #43917.

(cherry picked from commit 7d0c561e02)
2023-12-07 10:27:03 +01:00
b768561154 Fix bad parameter of rendering_method crashes Godot
Print error and default to forward plus

(cherry picked from commit b6bee1c21e)
2023-12-07 10:27:03 +01:00
2cbe02ad70 Add shadows_disabled macro in Compatibility renderer
(cherry picked from commit 716fd3edfc)
2023-12-07 10:27:03 +01:00
dbb86ed144 Fix generating terrain icon with certain image formats.
(cherry picked from commit 35c105e796)
2023-12-07 10:27:03 +01:00
bd2cad52ed Comment the shader template light function by default
This is a minor usability tweak.

The light functions replace the default ones, so even if empty
they will avoid the current shader to have proper lighting and
users will have no idea why.

Code was changed to have the shader function commented by default,
indicating that uncommenting replaces the default function.

(cherry picked from commit c430ff2396)
2023-12-07 10:27:03 +01:00
fc7cc46b02 Fix missing NavigationLink property updates in constructor
Fixes missing NavigationLink property updates in constructor.

(cherry picked from commit 2f1668804c)
2023-12-07 10:27:02 +01:00
dfcfc79e3f Fix missing NavigationRegion property updates in constructor
Fixes missing NavigationRegion property updates in constructor.

(cherry picked from commit 25bf20d7a5)
2023-12-07 10:27:02 +01:00
ece0c0c4a4 Fix missing NavigationAgent property updates in constructor
Fixes missing NavigationAgent property updates in constructor.

(cherry picked from commit 9640179f93)
2023-12-07 10:27:02 +01:00
5c709cfc7b Fix missing NavigationObstacle property updates in constructor
Fixes missing NavigationObstacle property updates in constructor.

(cherry picked from commit 618d9492d9)
2023-12-07 10:27:02 +01:00
ffe935815e Fix UV editor not using texture transform
(cherry picked from commit d7e5c25e4a)
2023-12-07 10:27:02 +01:00
0478c7c1cc Enable scrolling of output with UI scale changes
(cherry picked from commit a7b2e090ad)
2023-12-07 10:27:02 +01:00
a813176bb3 Fix buffer updates going to the wrong cmd buffer if barriers were 0
From what I could see only SSAO & SSIL were affected when they both
call:

int zero[1] = { 0 };
RD::get_singleton()->buffer_update(ssao.importance_map_load_counter, 0,
sizeof(uint32_t), &zero, 0);

int zero[1] = { 0 };
RD::get_singleton()->buffer_update(ssil.importance_map_load_counter, 0,
sizeof(uint32_t), &zero, 0);

Also documented what setup_command_buffer & draw_command_buffer are for.

(cherry picked from commit c9ec1f7727)
2023-12-07 10:27:02 +01:00
54c799f1ca Improve and clarify texture filtering documentation
- Mention the Use Nearest Mipmap Filter project setting.
- Fix nearest mipmap claiming to always use bilinear filtering
  (it uses trilinear filtering by default, like linear mipmap).

(cherry picked from commit 47cadda3ad)
2023-12-07 10:27:02 +01:00
8d9d58b9b7 Automatically ensure correct normals in Compatibility renderer
(cherry picked from commit f31371c04e)
2023-12-07 10:27:01 +01:00
289472db89 Merge pull request #85665 from Sauermann/fix-4.2-subviewport-physics-picking
[4.2] Fix SubViewport physics picking
2023-12-05 15:13:27 +01:00
17888fb170 Merge pull request #85779 from mihe/godot-jolt-crash
[4.2] Fix crash when using incompatible versions of Godot Jolt
2023-12-05 14:52:19 +01:00
013c119100 Fix crash when using incompatible versions of Godot Jolt 2023-12-05 12:31:55 +01:00
ab7b662353 Fix SubViewport physics picking for 4.2
Apply the logic of `handle_input_locally` for physics picking.
2023-12-03 23:35:17 +01:00
0bf12956a1 Bump version to 4.2.1-rc
And update CI base branch to 4.2.
2023-11-30 09:35:35 +01:00
46dc277917 Bump version to 4.2-stable \o/
This has been another successful short release cycle for Godot 4, with
more than 1850 commits authored by over 350 contributors in 5 months!

We managed to publish 3 feature releases (4.0, 4.1, and 4.2) in a year,
for the first time ever. Despite the short development cycle, both 4.1
and 4.2 have been absolutely feature packed! We're happy with that
development pace overall, and ready to start planning our 2024 releases
with a similar workflow.

Thanks to all the contributors for your amazing work, and to the
Godot community at large for your incredible support <3
4.2-stable
2023-11-29 22:45:33 +01:00
b8e92d1a03 Merge pull request #85510 from akien-mga/changelog-4.2
Add changelog for Godot 4.2
2023-11-29 19:02:12 +01:00
f89890b69b Merge pull request #85517 from YuriSizov/editor-revert-some-enhancements
Disable a prohibitively slow code branch when reparenting nodes
2023-11-29 18:55:36 +01:00
3c8efca57d Merge pull request #85509 from akien-mga/minizip-fix-CVE-2023-45853
minizip: Backport patch to fix CVE-2023-45853
2023-11-29 18:55:20 +01:00
01ac245a9c Add changelog for Godot 4.2
We're changing the format of the changelog as the previous one based on
Keep a Changelog required too much manual work to maintain.

We now link to relevant resources, notably our online interactive
changelog, and copy the grouped changelog generated by this tool.

It's a bit less curated than before, as we used to remove entries which
aren't that relevant to end users, and sort them under Added/Changed/
Removed/Fixed, but this was done manually and thus a huge chore.

Past changelogs are also removed and replaced with links to the
changelogs in their respective feature branches.
2023-11-29 18:08:07 +01:00
3a67eb2675 Disable a prohibitively slow code branch when reparenting nodes 2023-11-29 17:39:39 +01:00
c17d73f140 i18n: Sync translations with Weblate 2023-11-29 17:21:35 +01:00
c8dee05bf0 minizip: Backport patch to fix CVE-2023-45853 2023-11-29 15:16:26 +01:00