Commit graph

65778 commits

Author SHA1 Message Date
Fredia Huya-Kouadio
8f7dc86223 Enable restart_if_changed for the touchscreen editor settings
The alternative was to regenerate the theme which caused the Android Editor to freeze while the regeneration was ongoing.
2024-07-17 02:30:30 -07:00
Mickey Ordog
6651a511c8
Fix unclear PROPERTY_USAGE_STORAGE/EDITOR description 2024-07-17 11:30:13 +02:00
jsjtxietian
3859817614 Make shaderLanguage's parser recognize sampler passed in from array 2024-07-17 16:52:44 +08:00
bruvzg
9f714bfde5 [Windows] Add libSynchronization to link flags. 2024-07-17 10:58:03 +03:00
Bastiaan Olij
9e658e29d2 Fixed creating default action map 2024-07-17 12:04:06 +10:00
Thaddeus Crews
8039500f93
Revert "CI: Pin Python 3.12.3 to workaround GHA issue"
This reverts commit 4fd7b2fc0f.
2024-07-16 11:46:52 -05:00
kit
f8df6b1c70 Fix ScriptEditor scrolling horizontally on reopen 2024-07-16 11:19:58 -04:00
Hilderin
a1ef54fd3b Fix removing a folder that contains a file is not removed from the FileSystem Dock 2024-07-16 08:52:39 -04:00
Mark DiBarry
1a1d0d6cc6 Add tutorial link to Parallax2D doc 2024-07-16 08:25:29 -04:00
Pedro J. Estébanez
5b5cdf2414 Fixup recent changes to threading concerns
ResourceLoader:
- Fix invalid tokens being returned.
- Remove no longer written `ThreadLoadTask::dependent_path` and the code reading from it.
- Clear deadlock hazard by keeping the mutex unlocked during userland polling.

WorkerThreadPool:
- Include thread call queue override in the thread state reset set, which allows to simplify the code that handled that (imperfectly) in the ResourceLoader.
- Handle the mutex type correctly on entering an allowance zone.

CommandQueueMT:
- Handle the additional possibility of command buffer reallocation that mutex unlock allowance introduces.
2024-07-16 11:03:02 +02:00
Fredia Huya-Kouadio
5b327aee96 Fix issue preventing enabling the remote button for Android
https://github.com/godotengine/godot/pull/92032 updated the logic to enable / disable the remote debug button, and in doing so added a `can_export` check.

However, no events / notifications are dispatched when the value of the `can_export` check changes, which in turn prevents the logic used to enable / disable the remote debug button from running again.

The fix consists then in removing the `can_export` check, so that the remote debug button shows as `enabled` when a preset is present and is runnable.
2024-07-16 00:25:16 -07:00
Silc Lizard (Tokage) Renew
98dbd869c5 Handle internal seek on AnimationPlayer to process discrete correctly 2024-07-16 14:49:25 +09:00
Ricardo Buring
b41ec93d63 Fix physics tick count in Input.action_press and Input.action_release
The physics tick count was not yet updated there.
2024-07-16 00:31:44 +02:00
Riteo
84f26a629d Wayland: check for suspended flag when unsuspending
Before, we would only check for the frame flag, which is unreliable on
newer suspension-aware compositors.
2024-07-16 00:11:22 +02:00
yds
326e51750b Fix error when exporting files without import parameters 2024-07-15 18:24:12 -03:00
clayjohn
999c7e0392 Restore default clear color after displaying boot splash
On Android the boot splash can be shown at a different time, so the clear color restore needs to happen within the `setup_boot_logo` function
2024-07-15 14:00:05 -07:00
Jan Haller
b2a9ea6d22 GDExtension docs: advise bindings to use uint64_t for bitfields 2024-07-15 22:37:33 +02:00
Riteo
a852e76196 Wayland: commit surface on window creation
This is needed for initializing xdg_surfaces when not using libdecor.
Now the pure xdg_shell code path should work again.
2024-07-15 22:11:24 +02:00
Alvin Wong
1d542257e5 Windows: Fix wrong initial size passed to rendering driver 2024-07-16 03:30:44 +08:00
BlueCube3310
a20960bce4 Fix texture compression descriptions in RenderingDevice docs 2024-07-15 15:19:02 +02:00
Bastiaan Olij
9442eb8194 Expose more state in RenderSceneBuffersRD 2024-07-15 22:04:10 +10:00
RTTEXFile
d696a3c8a6
Fix typo in AABB docs
A single letter
2024-07-15 14:35:12 +03:00
Pedro J. Estébanez
10b543f8a7 WorkerThreadPool: Fix wrong sync logic breaking task map integrity 2024-07-15 12:15:25 +02:00
Pedro J. Estébanez
62d9ce6445 Re-add resource thread-safety measures
These deferring measures were added to aid threaded resource loading in being safe.

They were removed as seemingly unneeded, but it seems they are needed so resources involved in threaded loading interact with others only after "sync points".
2024-07-15 12:15:22 +02:00
bruvzg
3afe1e7481 [Winink] Check pointer button states, fix drag and double-click. 2024-07-15 12:23:07 +03:00
HolonProduction
06e732c3ed GDScript: Restore support for Token::UNDERSCORE in identifiers 2024-07-15 10:04:11 +02:00
Pedro J. Estébanez
a8adb2bbc3 D3D12: Avoid enabling depth bounds test if unsupported 2024-07-15 09:49:34 +02:00
Pedro J. Estébanez
76bfe8e0fd Make errors on RefCounted.free() more accurate 2024-07-15 08:51:42 +02:00
bruvzg
dc98e432e5
[macOS] Fix code completion list scrolling with trackpad. 2024-07-15 08:12:19 +03:00
Mai Lavelle
16eea2c837
Fix to restore library_path as absolute path 2024-07-14 20:37:38 -04:00
smix8
9dd05964d5 Fix NavigationPolygon not updating consistently on rebakes
Fixes that NavigationPolygon did not update in all cases because the internal NavigationMesh was not always unref and freed which blocked creating a new mesh later if nothing else freed it.
2024-07-14 22:01:11 +02:00
kobewi
1ec176d6cc Some improvements to TileSetScenesCollectionSource docs 2024-07-14 20:04:49 +02:00
kobewi
a5d86c1327 Don't attempt to re-import broken files if they didn't change 2024-07-14 19:51:29 +02:00
kobewi
a0824735a0 Make sure that selected tile source is remembered 2024-07-14 19:07:17 +02:00
Adriaan de Jongh
5488fef3af Clarify that Resource.duplicate(true) doesn't duplicate subresources inside Array or Dictionary properties 2024-07-14 16:32:08 +02:00
Silc Lizard (Tokage) Renew
9c1f23c3db Re-add Skeleton3D::animate_physical_bones 2024-07-14 14:24:25 +09:00
kobewi
4b2ffdd208 Clarify is_visible_in_tree() in CanvasItem 2024-07-14 01:16:25 +02:00
kobewi
8904764a6c Clarify clipboard_get_image() 2024-07-13 21:34:39 +02:00
A Thousand Ships
32f8292679
[CI] Upload build cache before running tests
This improves turnaround time on large PRs where compilation is
successful but unit testing or similar fails, forcing recompilation of
unchanged code
2024-07-13 17:45:37 +02:00
BlueCube3310
60a255a0d0 Lightmapper: Prevent infinite loop when blitting lightmaps into an atlas 2024-07-13 13:10:04 +02:00
Silc Lizard (Tokage) Renew
7cdeac94d1 Fix StateMachine process when transition to end & optimize StringName 2024-07-13 17:32:31 +09:00
Silc Lizard (Tokage) Renew
b326a35747 Reset position to 0 after animation selected on AnimationPlayerEditor 2024-07-13 14:27:01 +09:00
clayjohn
4cbc967f50 Use a spec constant to control whether the MultiMesh branch is used in the vertex shader.
This works around a bug on the Quest3 and slightly improves performance on all mobile devices at the cost of increased pipeline count.
2024-07-12 15:44:06 -07:00
Mert Kasar
56ed2cb6d1 Fix SSR orientation issues when using orthogonal camera
- Use negative clip space values to fix reversed rotations in reflections
- Use constant -z view vector when raymarching to fix perspective in reflections
2024-07-12 21:56:31 +03:00
clayjohn
8ce4f655f4 Only print physics sync warning on dev builds to avoid warning spam from using move_and_slide
The check should be restored once we implement move_and_slide in a way that doesn't sync the physics thread
2024-07-12 10:52:30 -07:00
Yuri Rubinsky
d375b99acf Add SwitchVector4D shortcut to visual shader members 2024-07-12 18:44:48 +03:00
Yuri Rubinsky
92aa01f937 Add few new outputs to the visual shaders 2024-07-12 17:12:22 +03:00
Anni Ryynänen
a9c91f4eef
Fix container minimum size with hidden parent 2024-07-12 16:21:05 +03:00
CrazyRoka
6c86268fdd Decorate rare !data.inside_tree condition with unlikely 2024-07-12 13:38:41 +01:00
Martin Capitanio
bf444545be ThorVG: Update to 0.14.2
+ Fixes SVG: Graphical objects stored in <defs> shouldn't be rendered directly.
2024-07-12 12:37:42 +02:00