Commit Graph

59190 Commits

Author SHA1 Message Date
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
smix8 90f7b2b8cf
Fix NavigationRegion2D transform update
Fixes NavigationRegion2D transform update.

(cherry picked from commit 6fdb16af47)
2023-12-07 10:27:03 +01:00
Saracen 7b9bf3df64
Fix imported track flag on sliced animations.
(cherry picked from commit 57f1e5dcdc)
2023-12-07 10:27:03 +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 e4aec48bea
VideoPlayer: Fix reloading translation remapped stream
Fixes #43917.

(cherry picked from commit 7d0c561e02)
2023-12-07 10:27:03 +01:00
jsjtxietian 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
jsjtxietian 2cbe02ad70
Add shadows_disabled macro in Compatibility renderer
(cherry picked from commit 716fd3edfc)
2023-12-07 10:27:03 +01:00
Saracen dbb86ed144
Fix generating terrain icon with certain image formats.
(cherry picked from commit 35c105e796)
2023-12-07 10:27:03 +01:00
Juan Linietsky 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
smix8 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
smix8 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
smix8 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
smix8 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
aXu-AP ffe935815e
Fix UV editor not using texture transform
(cherry picked from commit d7e5c25e4a)
2023-12-07 10:27:02 +01:00
Roy Berube 0478c7c1cc
Enable scrolling of output with UI scale changes
(cherry picked from commit a7b2e090ad)
2023-12-07 10:27:02 +01:00
Matias N. Goldberg 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
Hugo Locurcio 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
BlueCube3310 8d9d58b9b7
Automatically ensure correct normals in Compatibility renderer
(cherry picked from commit f31371c04e)
2023-12-07 10:27:01 +01:00
Rémi Verschelde 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
Yuri Sizov 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
Mikael Hermansson 013c119100 Fix crash when using incompatible versions of Godot Jolt 2023-12-05 12:31:55 +01:00
Markus Sauermann 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
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
Rémi Verschelde 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
2023-11-29 22:45:33 +01:00
Rémi Verschelde 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
Yuri Sizov 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
Yuri Sizov 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
Rémi Verschelde 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
Yuri Sizov 3a67eb2675 Disable a prohibitively slow code branch when reparenting nodes 2023-11-29 17:39:39 +01:00
Rémi Verschelde c17d73f140
i18n: Sync translations with Weblate 2023-11-29 17:21:35 +01:00
Rémi Verschelde c8dee05bf0
minizip: Backport patch to fix CVE-2023-45853 2023-11-29 15:16:26 +01:00
Rémi Verschelde 4c5a148452
Merge pull request #85500 from bruvzg/arm_uint8
Add unsigned char cast ifdef.
2023-11-29 12:28:07 +01:00
bruvzg ec052cd38a
Add unsigned char cast ifdef. 2023-11-29 11:59:18 +02:00
Rémi Verschelde a0d7649192
Merge pull request #85463 from akien-mga/tilemap-fix-cell_quadrant_size-compat
TileMap: Fix compatibility code for old `cell_quadrant_size` property name
2023-11-28 13:37:32 +01:00
Rémi Verschelde 83ae2b158f
Merge pull request #85461 from akien-mga/AnimationMixer-validate-object-before-blend
AnimationMixer: Validate ObjectID before blend in case the object was freed
2023-11-28 13:37:06 +01:00
Rémi Verschelde efe5c856b8
TileMap: Fix compatibility code for old `cell_quadrant_size` property name
Fixes #85423.
2023-11-28 12:44:07 +01:00
Rémi Verschelde a363269479
AnimationMixer: Validate ObjectID before blend in case the object was freed
Works around #85365, but it's likely only a partial fix.
The proper fix would be to remove the Object pointer from the TrackCache
and always go back to the ObjectID before doing operations like this.
2023-11-28 12:27:23 +01:00
Rémi Verschelde f82bf35a03
Merge pull request #85457 from m4gr3d/fix_android_editor_restart_loop
Fix an issue causing the running project window to loop-restart when closed
2023-11-28 09:14:11 +01:00
Fredia Huya-Kouadio 7cd604132b Fix an issue causing the running project window to loop-restart when closed with the back button 2023-11-27 23:43:19 -08:00
Rémi Verschelde a008a85443
Merge pull request #85411 from TokageItLab/fix-animpbtrack-stop
Make AnimationPlaybackTrack keep state when stopping
2023-11-28 08:28:25 +01:00
Rémi Verschelde d6dd1de644
Merge pull request #85454 from m4gr3d/fix_android_freeze_on_close
Fix issue causing Godot Android apps / games to freeze on close
2023-11-28 08:22:14 +01:00
Fredia Huya-Kouadio 1e4af5269f Fix issue causing Godot Android apps / games to freeze on close
The issue occurred because during the 'close' event, the logic was trying to terminate the native engine on the UI thread instead of doing on the render thread.
2023-11-27 18:24:36 -08:00
Rémi Verschelde eda44bfe10
Merge pull request #85252 from QbieShay/qbe/fix-radial-inwards-velocity
Fix radial inwards velocity clamping incorrectly (regression from #83488)
2023-11-27 21:25:58 +01:00
Rémi Verschelde 03c251e659
Merge pull request #85427 from bruvzg/ed_restore_mode
[Editor] Save and restore previous window mode when toggling full-screen.
2023-11-27 19:42:38 +01:00
Rémi Verschelde b3a0e077eb
Merge pull request #85432 from RandomShaper/fix_gds_exit_crash_lower
Fix GDScript thread-exit routine assuming thread-enter was called
2023-11-27 16:01:55 +01:00
Rémi Verschelde a807d4bfa7
Merge pull request #85418 from bruvzg/fix_crash_on_late_enterexit
Fix crash on late mouse enter/exit event arrival.
2023-11-27 16:01:30 +01:00
Rémi Verschelde b20ecc91e4
Merge pull request #85366 from TokageItLab/more-stable-seek-discrete
Check the seeking if it is processed immediately after playback as a special case
2023-11-27 16:01:03 +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
bruvzg 27ca31f359 [Editor] Save and restore previous window mode when toggling full-screen. 2023-11-27 12:44:30 +02:00
bruvzg bf19ced15d
Fix crash on late mouse enter/exit event arrival. 2023-11-27 08:47:43 +02:00