Commit Graph

59468 Commits

Author SHA1 Message Date
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
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
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
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
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
Aaron Franke a8dc34b8f0
Rename ImportSettings dialogs to have "Dialog" in the name 2023-11-26 22:59:01 -06:00
Silc Lizard (Tokage) Renew d3a429962f Make AnimationPlaybakTrack keep state when stopping 2023-11-27 12:14:25 +09:00
Alex Drozd 8f2b701892 Fix order of operations for macos template check 2023-11-26 23:26:32 +01:00
Alex Drozd 3f22c1bfb6 use venv if detected when building godot.sln 2023-11-26 23:25:13 +01:00
A Thousand Ships d10617bb3b [Core] Prevent infinite recursion when printing errors 2023-11-26 18:53:28 +01:00
A Thousand Ships ca5ec6aec1 [Core] Fix crash when hashing empty `CharString` 2023-11-26 17:35:27 +01:00
Rémi Verschelde 5df9867967
Merge pull request #85357 from mhilbrunner/fix-generate-vsproj
Fix generating vsproj with SCons 4.6.0+
2023-11-26 00:03:35 +01:00
Silc Lizard (Tokage) Renew c36200b9a1 Check the seek process immediately after playback as a special case 2023-11-26 07:32:34 +09:00
bruvzg 7a59efac32
[RTL] Fix CharFX character offset calculation. 2023-11-26 00:07:46 +02:00
Max Hilbrunner 72110134d6 Fix generating vsproj with SCons 4.6.0+ 2023-11-25 21:27:18 +01:00
Yuri Sizov d9677be0ca Make sure `Window`'s title is respected before we compute the size
Also removes some suspicious and outdated code that forced this particular
dialog to change size when the warning message changed.
2023-11-24 16:31:41 +01:00
oeelis 834ccb9698 Fix issue with 3D scene drag and drop preview node 2023-11-24 15:44:51 +02:00
Rémi Verschelde 1ba920fada
Merge pull request #85308 from YuriSizov/editor-fix-animation-backup-copy-crash
Fix a crash when trying to restore uncopyable animation tracks
2023-11-24 14:43:04 +01:00
Yuri Sizov 671c04f89f Fix a crash when trying to restore uncopyable animation tracks 2023-11-24 14:20:30 +01:00
HolonProduction bf45d3ae24 X11: Send IME update notification deferred 2023-11-24 13:18:50 +01:00
Rémi Verschelde d6a1db2b07
Merge pull request #85302 from RandomShaper/copy_constr_avb
Perform safe copies in `AnimatedValuesBackup::get_cache_copy()`
2023-11-24 11:56:18 +01:00
Rémi Verschelde 8d43168fd7
Merge pull request #85279 from RandomShaper/enhance_change_scene_docs
Enhance `SceneTree.change_scene*()` methods' docs
2023-11-24 11:56:11 +01:00
Pedro J. Estébanez fbb931df8c Perform safe copies in AnimatedValuesBackup::get_cache_copy() 2023-11-24 11:38:59 +01:00
Pedro J. Estébanez ab01dc5a48 Enhance SceneTree.change_scene*() methods' docs 2023-11-24 11:25:21 +01:00
Rémi Verschelde 066e7d483a
Merge pull request #85284 from Sauermann/fix-enter-hide
Fix crash when hiding a Control during mouse-entering
2023-11-24 00:01:15 +01:00
Rémi Verschelde 4247244071
Merge pull request #85280 from bruvzg/custom_call_read_after_free
Prevent read-after-free in the queued CallableCustomStaticMethodPointer.
2023-11-24 00:00:52 +01:00
Rémi Verschelde e6c8d40d10
Merge pull request #85266 from KoBeWi/copy_more_RAM
Fix TrackCache memory crash
2023-11-24 00:00:23 +01:00
Markus Sauermann 3de9afc4a9 Fix crash when hiding a Control during mouse-entering
gui.mouse_over can be set to `nullptr` in the `NOTIFICATION_MOUSE_ENTER`-
user-callback a few lines above. This case was previously not handled.
2023-11-23 23:25:00 +01:00
Rémi Verschelde ce3bac5f55
Merge pull request #85249 from clayjohn/SUT-cleanup
Suppress surface upgrade warnings when showing SurfaceUpgradeTool warning
2023-11-23 22:57:53 +01:00
Rémi Verschelde 070ac8dfcd
Merge pull request #85248 from RandomShaper/fix_gdlamb_doublefree_2
Fix lambda cross-thread dynamics (take 2)
2023-11-23 22:57:25 +01:00
bruvzg eb81e8b2dc
Prevent read-after-free in the queued CallableCustomStaticMethodPointer. 2023-11-23 23:22:08 +02:00
kobewi 1c0a0f5fdd Fix TrackCache memory crash 2023-11-23 20:26:03 +01:00
Pedro J. Estébanez bfe66ab7cd Fixup thread-owned lambda bookkeeping on thread exit (take 2) 2023-11-23 18:50:20 +01:00
bruvzg 54747fab72
Force ANGLE on all pre GCN 4th gen. AMD/ATI GPUs. 2023-11-23 19:15:25 +02:00