Commit Graph

59219 Commits

Author SHA1 Message Date
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
Pedro J. Estébanez 8bebabda18 Let scene replacemnent benefit from certain late pieces of frame logic 2023-11-21 18:32:49 +01:00
Rémi Verschelde 7022271291
i18n: Sync translations with Weblate 2023-11-21 16:08:36 +01:00
Rémi Verschelde c2f8fb3015
Merge pull request #85039 from RandomShaper/mingwthreads
Use mingw-std-threads in MinGW builds
2023-11-21 15:44:18 +01:00
Rémi Verschelde fa259a77cd
Codestyle: Fix some comment issues 2023-11-21 15:26:53 +01:00
Rémi Verschelde f732717d73
Update DONORS list with Dev Fund 2023-11-21 15:26:20 +01:00
Rémi Verschelde 9f5111e928
Merge pull request #85170 from RandomShaper/fix_lambda_leak
Fix leak in the bookkeeping of GDScript lambdas
2023-11-21 15:07:19 +01:00
Rémi Verschelde 9c0692f30e
Merge pull request #85169 from jsjtxietian/fix-project-name-overriden
Fix project name being overwritten everytime `show_dialog` is called
2023-11-21 15:06:55 +01:00
Rémi Verschelde 132554badd
Merge pull request #85168 from bruvzg/ios_xc_check
[iOS] Check if Xcode is installed in one-click deploy code.
2023-11-21 15:06:32 +01:00
Rémi Verschelde 0e33036d19
Merge pull request #85150 from KoBeWi/savasavas
Add Save As... option to EditorResourcePicker
2023-11-21 15:06:03 +01:00
Pedro J. Estébanez 1ed6919148 Fix leak in the bookkeeping of GDScript lambdas 2023-11-21 12:52:55 +01:00
jsjtxietian b8d7a43f73 Fix project name being overwrite everytime `show_dialog` is called 2023-11-21 19:50:01 +08:00
Rémi Verschelde b5779cc5c0
Merge pull request #85121 from jsjtxietian/return-early-nv
Prevent crash in  `_nvapi_disable_threaded_optimization` when attached to renderdoc
2023-11-21 10:44:27 +01:00
Rémi Verschelde 1e6b41660c
Merge pull request #85073 from Rindbee/fix-wrong-path-when-make-rst
Fix translation po file not found when `make rst LANGARG=zh_CN`
2023-11-21 10:43:58 +01:00
bruvzg eceaaea2fe
[iOS] Check if Xcode is installed in one-click deploy code. 2023-11-21 11:43:29 +02:00
kobewi d84ba48d8f Avoid saving scene while already saving the scene 2023-11-20 21:57:21 +01:00
Rémi Verschelde fa1fb2a53e
Merge pull request #85147 from RandomShaper/fix_gfx_dbg_labels
Fix potential double-close of draw command label
2023-11-20 21:20:54 +01:00
kobewi 2c72558ad0 Add Save As... option to EditorResourcePicker 2023-11-20 21:05:17 +01:00
Pedro J. Estébanez 5c25fa4c78 Fix potential double-close of draw command label 2023-11-20 18:59:06 +01:00
Rémi Verschelde dfd61cdac6
Merge pull request #85138 from YuriSizov/rendering-borked-meshes-dont-bork-the-editor
Avoid division by zero in the fix surface compatibility routine
2023-11-20 18:36:26 +01:00
Rémi Verschelde 3794b7347c
Merge pull request #85136 from YuriSizov/editor-surface-upgrade-on-demand-and-off
Prevent the surface upgrade tool from running during export
2023-11-20 18:36:03 +01:00
Rémi Verschelde 3eb7277424
Merge pull request #85083 from KoBeWi/vestiges_of_scene_corruption
Provide more context when scene fails to load
2023-11-20 18:35:36 +01:00
Yuri Sizov 98011e032d Avoid division by zero in the fix surface compatibility routine 2023-11-20 16:22:58 +01:00
Yuri Sizov fdaee9ee89 Prevent the surface upgrade tool from running during export
Also add an explicit way to trigger the tool manually
at user's will.
2023-11-20 15:36:45 +01:00
kobewi c6c872ba34 Provide more context when scene fails to load 2023-11-20 14:57:00 +01:00
Rémi Verschelde ac29e8e3fe
Merge pull request #85086 from clayjohn/shaders-amount-ratio
Make `AMOUNT_RATIO` constant in the shader language specification.
2023-11-20 14:14:46 +01:00
Rémi Verschelde 83493023df
Merge pull request #85009 from Yagich/graphedit-connection-layer-internal
Add GraphEdit connection layer child as internal
2023-11-20 14:14:18 +01:00
jsjtxietian a3f44cd67e Check nullptr in `_nvapi_disable_threaded_optimization` to prevent crash
update outdated link
2023-11-20 19:31:14 +08:00
clayjohn 8a95b2956f Make AMOUNT_RATIO constant in the shader language specification.
Writing to it doesn't do anything and will crash the compatibility backend.
2023-11-19 14:36:26 +01:00