Commit graph

58978 commits

Author SHA1 Message Date
Rémi Verschelde
5a5b456fca
Merge pull request #84774 from akien-mga/fix-TTR-in-ERR-WARN-prints
Don't use TTR/RTR for ERR/WARN prints
2023-11-12 22:59:38 +01:00
Rémi Verschelde
d443f127ef
Merge pull request #83708 from Guilhermev25/shaders-renames
Fix wrong shader rename
2023-11-12 16:57:00 +01:00
Rémi Verschelde
3e23755d24
Merge pull request #83430 from RandomShaper/fix_onion_audio
Fix onion skinning internals activating audio/method/animation tracks
2023-11-12 16:56:30 +01:00
Rémi Verschelde
5abeb043d0
Merge pull request #84784 from timothyqiu/recturns
Fix typo in `TextureServer.font_get_face_index()` description
2023-11-12 12:16:18 +01:00
Rémi Verschelde
87ba798cba
Merge pull request #84779 from m4gr3d/keep_android_build_window_open_on_failure
Preserve the output from the gradle build command
2023-11-12 12:15:54 +01:00
Rémi Verschelde
ef2cc1cc2b
Merge pull request #84741 from lawnjelly/bogus_shader_log
[GLES3] Protect against bogus `glGetShaderInfoLog` return values.
2023-11-12 12:15:31 +01:00
Rémi Verschelde
747bff0bff
Merge pull request #84685 from KoBeWi/TIWAGOS
Rework input actions to be reliable
2023-11-12 12:15:07 +01:00
Rémi Verschelde
bc80776618
Merge pull request #84659 from RandomShaper/fix_lambda_cross_thread
Fix lambda cross-thread dynamics
2023-11-12 12:14:42 +01:00
Rémi Verschelde
10e820a783
Merge pull request #82929 from Calinou/projectsettings-frame-delay-no-editor
Don't apply frame delay project setting to the editor
2023-11-12 12:14:18 +01:00
Rémi Verschelde
8928b2044b
Merge pull request #80281 from KoBeWi/unacceptable
Assign temporary path to preloaded resources
2023-11-12 12:13:55 +01:00
Hugo Locurcio
a63556212d
Don't apply frame delay project setting to the editor
This appears to already be the case for the Max FPS project setting.
2023-11-12 12:09:39 +01:00
Fredia Huya-Kouadio
136b7f9c52
Preserve the output from the gradle build command
Updates `EditorNode#execute_and_show_output(...)` to return the output of the executed command.
2023-11-12 12:07:04 +01:00
Rémi Verschelde
15b8185c68
Don't use TTR/RTR for ERR/WARN prints
We don't translate those, only editor strings are translated.
2023-11-12 12:00:55 +01:00
Haoyu Qiu
2717fc6c0f Fix typo in TextureServer.font_get_face_index description 2023-11-12 17:07:09 +08:00
Rémi Verschelde
89f2f7f278
Merge pull request #84768 from biswas08433/master
Fix VisualShader Texture2DParameter node filter bug
2023-11-11 23:06:47 +01:00
Rémi Verschelde
4e867b5835
Merge pull request #84762 from timothyqiu/snap-mode
Fix texture region editor not selecting restored snap mode
2023-11-11 23:06:24 +01:00
Rémi Verschelde
bfa687ae55
Merge pull request #84758 from timothyqiu/decompress
Fix crash when saving compressed image as JPG & WebP
2023-11-11 23:06:00 +01:00
Rémi Verschelde
97a102caf6
Merge pull request #84052 from SaracenOne/animtree_readonly_context
Unpress buttons in AnimationTree when switching to read-only mode.
2023-11-11 23:05:37 +01:00
Rémi Verschelde
8179ad558a
Merge pull request #82942 from timothyqiu/circulation
Explain circular references and how to break them
2023-11-11 23:05:11 +01:00
Rémi Verschelde
0625f06246
Merge pull request #82866 from Anutrix/minor-fixes-2023
Added docs for DRAW_ORDER_REVERSE_LIFETIME constant and minor XR log improvement
2023-11-11 23:04:47 +01:00
Rémi Verschelde
ba713c80df
Fix various typos with codespell
Using 2.2.7.dev51+geb4a58fe.
2023-11-11 23:01:24 +01:00
biswas08433
92fe4bb693 Fixes Texture2dParameter node filter option
This bug was appending 2 colons in the generated code.  Fixed it.
2023-11-12 01:59:53 +05:30
Haoyu Qiu
64fb22e17b Fix texture region editor not selecting restored snap mode 2023-11-12 01:41:51 +08:00
Haoyu Qiu
c07cd406cb Fix crash when saving compressed image as JPG & WebP 2023-11-12 00:15:49 +08:00
Anutrix
3c82f4a371 Added docs for DRAW_ORDER_REVERSE_LIFETIME constant and minor XR log improvement 2023-11-11 21:17:19 +05:30
lawnjelly
593cdf00ff [GLES3] Protect against bogus glGetShaderInfoLog return values.
On some buggy drivers `GL_INFO_LOG_LENGTH` returns incorrect values, which may lead to incorrectly filling in the log string. This could lead to uninitialized data being attempted to be printed and a crash.
This PR zeros the array to ensure uninitialized data is not used.
2023-11-11 06:56:46 +00:00
Haoyu Qiu
b2dcef4928 Explain circular references and how to break them
Also improves the documentation of `weakref`.
2023-11-11 10:07:48 +08:00
Rémi Verschelde
e38686f85b
Merge pull request #84723 from lawnjelly/fix_vorbis_inf_loop
Fix OGG Vorbis infinite error spam with corrupt file.
2023-11-10 21:56:59 +01:00
Rémi Verschelde
17a18fad46
Merge pull request #84720 from m4gr3d/fix_missing_gdextension_so_files
Remove Android specific abis from the export preset feature list
2023-11-10 21:56:35 +01:00
Rémi Verschelde
848f93f989
Merge pull request #84716 from YuriSizov/3d-resource-previews-are-out-to-get-you
Abort threaded preview generators on exit
2023-11-10 21:56:10 +01:00
Rémi Verschelde
96fa86f9a0
Merge pull request #84557 from TheSofox/undo-history-sync-fix
Fix for stopping the Undo History being desynchronised from actual Undo queue
2023-11-10 21:55:46 +01:00
Rémi Verschelde
313bffc205
Merge pull request #83357 from raulsntos/dotnet/ConvertCallableToNative(default)
C#: Fix converting default Callables to native
2023-11-10 21:55:22 +01:00
Rémi Verschelde
76d9521801
Merge pull request #82863 from HexagonNico/docs_get_tree
Specify the behaviour of `get_tree()` when the node is not in the scene tree
2023-11-10 21:54:56 +01:00
Rémi Verschelde
7f8edaa238
Merge pull request #82660 from coumcashier/itemlist_height_fix
Fix storing invalid item height values in `ItemList`
2023-11-10 21:54:33 +01:00
Rémi Verschelde
28ada4582e
Merge pull request #82604 from Calinou/editor-camera3d-size-property-hint
Tweak Camera3D `size` property hint to make dragging more useful
2023-11-10 21:54:10 +01:00
Rémi Verschelde
34e34f0945
Merge pull request #82478 from jsjtxietian/fix-AudioStreamRandomizer-random_volume_offset_db-not-working
Fix `AudioStreamRandomizer.random_volume_offset_db` not working
2023-11-10 21:53:45 +01:00
Rémi Verschelde
60e46cfeed
Merge pull request #81697 from nathanjf/master
Add missing documentation for `Skeleton3D` methods
2023-11-10 21:53:14 +01:00
Rémi Verschelde
61b62fc047
Merge pull request #81438 from 0xafbf/patch-2
Fix subpixel layouts in text rendering
2023-11-10 21:52:48 +01:00
Rémi Verschelde
5a0c6a8d69
Merge pull request #80185 from Sauermann/fiix-action-event-doc
Document that `Input.is_action_*` should not be used during input-handling
2023-11-10 21:52:18 +01:00
Markus Sauermann
0baebed41a
Document that Input.is_action_* should not be used during input-handling
In most cases `InputEvent.is_action*` is more appropriate during input-handling.
2023-11-10 21:34:50 +01:00
Nico
ee9c8cb296 Specify the behaviour of get_tree when the node is not in the scene tree 2023-11-10 20:24:53 +01:00
coumcashier
1533292f09 Fix storing invalid item height values in ItemList
The height of the last N items is incorrectly overwritten with
the max height of first row (N = number of columns). This happen
in the first iteration of the while loop. Moving this code inside
if (all_fit) makes sure the last rows height is only updated at
the end when max height (max_h) is calculated for the last row.
2023-11-10 19:54:31 +01:00
Nathan Frank
13e2e4e5d8 Add missing documentation for Skeleton3D methods
Adds description for get/set pose position/rotation/scale.
2023-11-10 19:07:04 +01:00
lawnjelly
188266af47 Fix OGG Vorbis infinite error spam with corrupt file.
When OGG Vorbis encountered unreadable file, it emitted infinite error spam.
This PR returns the full number of frames in the case of error, to prevent infinite loop.
2023-11-10 15:48:28 +00:00
Fredia Huya-Kouadio
dce2686e52 Remove Android specific abis from the export preset feature list
The presence of those abis cause them to be included in the set of `p_features` passed to the `gdextension_export_plugin#_export_file(...)` method, which caused them to be lumped in the `features_wo_arch` set.
When trying to find the gdextension library path, we use a predicate with the following logic:

```
[features_wo_arch, arch_tag](String p_feature) { return features_wo_arch.has(p_feature) || (p_feature == arch_tag); }
```

For a `gdextension` config file like the one below, this causes the first android entry (`android.armeabi-v7a = ...`) to always be returned regardless of archs since it always satisfies the predicate.

```
[configuration]

entry_symbol = "example_library_init"
compatibility_minimum = 4.1

[libraries]
linux.x86_64 = "res://libgdexample.so"

android.armeabi-v7a = "res://libgdexample.android.template_release.armeabi-v7a.so"
android.arm32 = "res://libgdexample.android.template_release.armeabi-v7a.so"
android.x86 = "res://x86/libgdexample.android.template_release.x86.so"
android.x86_32 = "res://x86/libgdexample.android.template_release.x86.so"
android.x86_64 = "res://libgdexample.android.template_release.x86_64.so"
android.arm64-v8a = "res://libgdexample.android.template_release.arm64-v8a.so"
android.arm64 = "res://libgdexample.android.template_release.arm64-v8a.so"
```
2023-11-10 07:32:59 -08:00
Rémi Verschelde
bdd9034ad0
i18n: Sync translations with Weblate 2023-11-10 16:30:40 +01:00
Rémi Verschelde
8ebb3c7f85
Merge pull request #84717 from akien-mga/ci-web-emscripten-3.1.39
CI: Pin Emscripten to 3.1.39
2023-11-10 16:02:21 +01:00
Rémi Verschelde
a6807f8f7d
Merge pull request #84709 from YuriSizov/docs-fix-overridden-reference
Fix a property reference in `EditorSpinSlider` documentation
2023-11-10 16:01:58 +01:00
Yuri Sizov
e90ea87b42 Abort threaded preview generators on exit 2023-11-10 15:31:43 +01:00
Yuri Sizov
d9c980f1cf Fix a property reference in EditorSpinSlider 2023-11-10 15:30:16 +01:00