Commit Graph

59619 Commits

Author SHA1 Message Date
Aaron Franke 7d5b902838
Add a descriptive error message when creating a mesh surface from arrays 2023-12-02 00:44:59 -06:00
clayjohn 394edf8288 Set ReflectionProbe frame before mapping id in mobile renderer 2023-12-01 16:52:50 -07:00
Malcolm Nixon bf7cdc5229 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.
2023-12-01 16:38:08 -05:00
Pedro J. Estébanez 208c1020f5 Add 'u' format modifier for unsigned int/hex 2023-12-01 16:42:26 +01:00
Pedro J. Estébanez cba15cd625 Add WorkerThreadPool::get_thread_index() 2023-12-01 16:42:26 +01:00
Pedro J. Estébanez 72bf8dfecf Remove superfluous locking in RID owners in Vulkan RD 2023-12-01 16:12:21 +01:00
Pedro J. Estébanez 4964d9a083 Remove redundant explicit clears in the Vulkan RD 2023-12-01 16:11:59 +01:00
jsjtxietian 926e22d2ab Fix SnapGrid is almost invisble in light theme 2023-12-01 18:51:45 +08:00
Silc Lizard (Tokage) Renew 7ed7ea53e6 Fix AnimationPlayer seeking for Discrete keys 2023-12-01 05:26:21 +09:00
Silc Lizard (Tokage) Renew c380b1296a Make unstore AnimationLibrary if AnimationTree is assigned Player 2023-12-01 04:50:58 +09:00
Frying☆Pan de59872db8 fix documentation for `icon_and_font_color` editor setting 2023-11-30 14:00:07 -05:00
bruvzg 33ce138b9b
[iOS one-click] Add support for Xcode 15 devicectl. 2023-11-30 20:28:47 +02:00
bruvzg 5dd11e8eee
Limit window size updates on title change. 2023-11-30 16:04:00 +02:00
Steve Tibbett 86db8f921d Fix for Cmd-B conflict on macOS, where Cmd-B was
both "Build Project" and "Go to Next Bookmark".
2023-11-30 06:58:52 -05:00
DmitriySalnikov 8cdbec0434 Update cached singletons when reloading GDScripts 2023-11-30 04:07:21 +03:00
Rémi Verschelde d76c1d0e51
Bump version to 4.3-dev
The essential doesn't change.

-- Samuel Beckett, Waiting for Godot
2023-11-29 23:00:27 +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
Ershn fce16b6662 Make target_desired_distance affect the navigation of NavigationAgent2D/3D
When the target is reachable, stop the navigation only when the target is reached.
2023-11-29 23:48:54 +09: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
HolySkyMin 5962e5278c Fix IME key event being erased in macOS
Fixes Korean IME behavior which calls insertText and setMarkedText at the same time.
2023-11-29 18:17:57 +09:00
Paul Joannon decf3b21ae
Fix property groups overriding real properties 2023-11-28 21:34:18 +01:00
George Marques 39e8cf891d
GDScript: Make annotations register statically in parser
So it only register the annotations once per run instead of doing it
every time a script is parsed.
2023-11-28 17:16:21 -03:00
Marius Hanl 40d7320a17 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.
2023-11-28 19:43:07 +01:00
Mika Viskari 187bb61e7b Fix horizontal mouse wheeling in 2D editor view 2023-11-28 17:36:02 +02:00
kobewi f8f8fe0615 Improve message about resources in use at exit 2023-11-28 14:01:08 +01: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
Sandy Gutierrez 11e63d244e Do not use travel cost for minimum when re-selecting end point 2023-11-28 07:23:58 -05: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
jsjtxietian 937411e152 Prevent a crash when calling AnimationMixer::restore when an invalid reference 2023-11-28 12:54:06 +08: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
BleedingXiko 971b0a7bda
fix typo in tile_map_editor.cpp 2023-11-27 16:40:38 -08:00
smix8 cd07e73812 Remove GridMap navigation_layers leftover
Removes GridMap navigation_layers leftover.
2023-11-28 00:05:50 +01: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