Commit graph

59220 commits

Author SHA1 Message Date
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
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
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
Max Hilbrunner
72110134d6 Fix generating vsproj with SCons 4.6.0+ 2023-11-25 21:27:18 +01: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
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
Rémi Verschelde
bb63963486
Merge pull request #85254 from TokageItLab/bind-reset-animedit
Bind `_reset`/`_restore` in AnimationMixer
2023-11-23 15:35:15 +01:00
Rémi Verschelde
1524972aa5
Merge pull request #85221 from TokageItLab/clear-seek-flg
Clear seeked/started flag after seeking/advancing in AnimationPlayer
2023-11-23 15:34:46 +01:00
Silc Lizard (Tokage) Renew
f66224dd2d Bind _reset/_restore in AnimationMixer 2023-11-23 22:47:52 +09:00
QbieShay
a879e59581 Fixed radial inwards velocity clamping incorrectly (regression from 83488) 2023-11-23 10:32:56 +01:00
clayjohn
549a83eee2 Suppress surface upgrade warnings when showing SurfaceUpgradeTool warning
Also ensure the EditorProgress dialogue shows correct numbers
2023-11-22 15:35:50 -07:00
Rémi Verschelde
fa4a65387e
Merge pull request #85227 from KoBeWi/when_two_IDs_fight_the_editor_suffers
Fix crash caused by conflicting menu option IDs
2023-11-22 21:57:14 +01:00
Rémi Verschelde
ee14dc6ce5
Merge pull request #85222 from YuriSizov/lord-have-mercy
Rework the surface upgrade tool to inform users without blocking
2023-11-22 21:56:50 +01:00
Rémi Verschelde
bd74d92ef7
Merge pull request #84957 from BastiaanOlij/fix_msaa2d_when_no_2d
Ensure 2D MSAA resolve is performed when 3D content but no 2D content in scene
2023-11-22 21:56:23 +01:00
Pedro J. Estébanez
f26328e9a3 Revert recently added approach to cross-thread lambda survival
Commits reverted:
- 1ed6919148
- 271511726b
2023-11-22 20:07:01 +01:00
Yuri Sizov
10b70e2498 Rework the surface upgrade tool to inform users without blocking
This removes the immediate confirmation dialog and insteads prints the
message to the editor log (and it also appears as a toast). The immediate dialog
is a devil's plaything, and it cannot be used in this scenario (if it can be used
anywhere at all). The condition that triggers the SUT can happen during any
attempt by the rendering server to read a mesh. This means it will conflict
with a number of editor processes, like loading, importing, preview
generation, export, CLI mode, etc.

So while this is less on the nose as far as informing users goes, it's also
our best option to use the log and the toaster.
2023-11-22 19:03:14 +01:00
kobewi
c6fec68a3e Fix crash caused by conflicting menu option IDs 2023-11-22 17:28:40 +01:00
Silc Lizard (Tokage) Renew
9c3104292d Clear seeked/started flag after seeking/advancing in AnimationPlayer 2023-11-22 23:40:53 +09:00
Rémi Verschelde
923ef2b46a
Merge pull request #85216 from bruvzg/ios_fix_extension_init_realloc
[iOS] Fix GDExtension init callback array reallocation.
2023-11-22 15:05:18 +01:00
Rémi Verschelde
f824a670fd
Merge pull request #85208 from RandomShaper/fix_mingw_clang
Avoid conflict between mingw-std-threads and Clang's own
2023-11-22 15:05:10 +01:00
Pedro J. Estébanez
205066ad3a Avoid conflict between mingw-std-threads and Clang's own 2023-11-22 14:56:38 +01:00
bruvzg
8e06a1084d
[iOS] Fix GDExtension init callback array reallocation. 2023-11-22 15:15:25 +02:00
Rémi Verschelde
a34814b0b6
Merge pull request #85205 from jsjtxietian/grab-focus
Set some window in visual shader editor to be exclusive
2023-11-22 13:59:50 +01:00
Rémi Verschelde
ca245295ae
Merge pull request #85193 from TokageItLab/fix-seek-mixer
Fix seeking bug in AnimationPlayerEditor
2023-11-22 13:59:45 +01:00
Rémi Verschelde
51bca1b586
Merge pull request #85154 from KoBeWi/yo_dawg_I_heard_you_like_saving_scen-JUST_STOP_IT
Avoid saving scene while already saving the scene
2023-11-22 13:59:37 +01:00
jsjtxietian
b7ba667dcf Set some window in visual shader editor to be exclusive 2023-11-22 17:58:18 +08:00
Rémi Verschelde
1faf2f5bfe
Merge pull request #85194 from clayjohn/XR-pipeline-bug
Enable non-multiview advanced shader group whenever advanced shaders are requested
2023-11-22 10:48:21 +01:00
Rémi Verschelde
fafc5c2e56
Merge pull request #85184 from RandomShaper/switch_scene_better
Let scene replacement benefit from certain late pieces of frame logic
2023-11-22 10:48:14 +01:00
clayjohn
e2a5d2bf46 Enable non-multiview advanced shader group whenever advanced shaders are requested
This is needed because xr_enabled does not guarantee that we won't use the non-multiview variants
2023-11-21 15:16:25 -07:00
Silc Lizard (Tokage) Renew
21833f3dfd Fix seeking bug in AnimationPlayerEditor 2023-11-22 06:43:26 +09:00