Commit Graph

34637 Commits

Author SHA1 Message Date
Fireflash 239b2e4bbc
Update AudioStreamGeneratorPlayback.xml
Fixed incorrect method description for `get_frames_available`.
According to [The AudioStreamGenerator source](https://github.com/godotengine/godot/blob/master/servers/audio/effects/audio_stream_generator.cpp#L132), the `get_frames_available` method should return the space remaining in the sample buffer.

(cherry picked from commit 7823ca1367)
2022-11-30 15:05:26 +01:00
Windy Darian 6997482dbf
Don't try to import unknown dependency from scan
Only import dependency we know how to import, since custom resource may have .gd in dependency list which doesn't have an importer

(cherry picked from commit 0463a445c4)
2022-11-30 14:46:20 +01:00
Rémi Verschelde d5e0e63b46
Merge pull request #69346 from DeeJayLSP/update_nanosvg
Update nanosvg to GIT (2022.11)
2022-11-30 11:32:24 +01:00
Rémi Verschelde 425b42b3f0
Merge pull request #69331 from timothyqiu/toggle-builtin-actions
[3.x] Add built-in action toggle in Input Map settings
2022-11-30 11:31:48 +01:00
Rémi Verschelde d7cb3d9366
Merge pull request #69320 from aaronfranke/3.x-gltf-def-ext-usage
[3.x] GLTF: Move shared defines into a file and only list used extensions
2022-11-30 11:31:34 +01:00
Rémi Verschelde 0693260207
Merge pull request #69304 from raulsntos/dotnet/string-extensions-3.x
[3.x] C#: Deprecate string extensions that will be removed in 4.x
2022-11-30 11:31:25 +01:00
DeeJayLSP d0386660cb Update nanosvg to GIT (2022.11) 2022-11-29 13:40:59 -03:00
Haoyu Qiu b957816736 Add built-in action toggle in Input Map settings 2022-11-29 16:53:35 +08:00
Aaron Franke f1febed469
[3.x] GLTF: Move shared defines into a separate `gltf_defines.h` file 2022-11-29 00:04:57 -06:00
Aaron Franke 8979208713
[3.x] GLTF: Only list used extensions when they're actually used 2022-11-28 17:54:30 -06:00
Raul Santos 7106905a5b
C#: Deprecate string extensions that will be removed in 4.x
- Deprecated `Length` in favor of the `string.Length` property.
- Deprecated `Insert` in favor of the existing instance method with the same signature.
- Deprecated `Erase` in favor of `StringBuilder.Remove`.
- Deprecated `ToLower` and `ToUpper` in favor of the instance methods with the same signature.
- Deprecated `BeginsWith` in favor of `string.StartsWith`.
- Deprecated `EndsWith` in favor of the instance method with the same signature.
- Deprecated `Empty` in favor of `string.IsNullOrEmpty`.
- Deprecated `OrdAt` in favor of the `string[int]` indexer.
- Deprecated `LStrip` and `RStrip` in favor of `string.TrimStart` and `string.TrimEnd`.
2022-11-28 18:23:00 +01:00
Rémi Verschelde 5240609e67
Merge pull request #67681 from m4gr3d/android_editor_polish_3x
[3.x] Android Editor: Add navigation controls to the spatial editor viewport
2022-11-28 16:32:06 +01:00
Rémi Verschelde 6f91639af2
Merge pull request #69246 from nongvantinh/3.x-check-null-for-input_event
3.x Enhance null checking for input event
2022-11-28 13:21:22 +01:00
Rémi Verschelde 5499d54fd5
Merge pull request #69285 from dzil123/v3_fix_null_bake_end_function
[3.x] BakedLightmap add null `bake_end_function` check
2022-11-28 13:21:12 +01:00
Rémi Verschelde 86d5bb7f20
Merge pull request #68858 from bruvzg/win_regen_icon3
[3.x] Windows icon export improvements.
2022-11-28 10:16:26 +01:00
dzil123 85811c2b99 [3.x] BakedLightmap add null bake_end_function check 2022-11-28 00:30:17 -08:00
Nong Van Tinh ffbaa7fff0 Enhance null checking for input event 2022-11-27 15:01:34 +07:00
lawnjelly 29d4d4105e Add readahead to VariantParser
Adds a readahead buffer to VariantParser, to prevent large numbers of freads for single bytes, which is inefficient.
2022-11-24 15:58:23 +00:00
Rémi Verschelde 4769aa4499
Merge pull request #64564 from timothyqiu/word-wrap-3.x
[3.x] Fix `String::word_wrap()` for long words
2022-11-24 16:06:52 +01:00
Rémi Verschelde 693ce99d2d
Merge pull request #68853 from Maran23/3-x-tooltip-fix
Fix Tooltips do not work properly when selecting multiple nodes (MultiNodeEdit)
2022-11-24 15:44:50 +01:00
Rémi Verschelde 429225ce55
Merge pull request #69024 from Gromph/3.x-fix-exporting-android-application_attribs
fix exporting Android APPLICATION_ATTRIBS (3.X)
2022-11-24 15:35:58 +01:00
Dan d789ad4b20 fix exporting Android APPLICATION_ATTRIBS (3.X) 2022-11-22 12:24:17 -08:00
Rémi Verschelde cb0b20be7f
Merge pull request #68990 from timothyqiu/editor-gradient-preview-plugin
[3.x] Add Gradient resource preview generator
2022-11-22 08:45:13 +01:00
Rémi Verschelde f3ed588776
Merge pull request #68988 from timothyqiu/nav-fixes
[3.x] Backport navigation crash fixes
2022-11-22 08:45:07 +01:00
Rémi Verschelde 89936c4bab
Merge pull request #68892 from Calinou/collision-exception-improve-error-message-3.x
Improve collision exception error messages for easier understanding (3.x)
2022-11-22 08:44:56 +01:00
Hendrik Brucker ea46617f12 Add Gradient resource preview generator
Co-Authored-By: Haoyu Qiu <timothyqiu32@gmail.com>
2022-11-22 13:25:54 +08:00
Haoyu Qiu 37ccdb201a Backport navigation crash fixes
Co-Authored-By: Sean <sean@geekotron.net>
2022-11-22 12:46:43 +08:00
bruvzg 44739a121e
[3.x] Windows icon export improvements.
Regenerate Windows icon on export to ensure correct icon size order.
Add support for using PNG/WebP/SVG files as an icon for Windows exports.
Allow using WebP/SVG files as icon for macOS exports.
Add option to select generated icons interpolation, and set default interpolation to Lanczos.
2022-11-20 13:02:27 +02:00
Hugo Locurcio 4c26cac0e6
Improve collision exception error messages for easier understanding 2022-11-19 17:37:42 +01:00
Rémi Verschelde ab65273087
Merge pull request #68813 from dzil123/v3_fix_fog_shader_buffer_overflow
[3.x] Fix shader compiler asan out of bounds
2022-11-19 00:43:32 +01:00
Rémi Verschelde 08a6aab661
Merge pull request #68735 from dzil123/v3_pckpacker_error_spam
[3.x] Fix PCKPacker error spam
2022-11-19 00:43:22 +01:00
Marius Hanl 6f7228e2da Fix Tooltips do not work properly when selecting multiple nodes (MultiNodeEdit)
The editor inspector will now get the edited class name from the MultiNodeEdit when it is used.
The name of the selected nodes is searched in the scene and if not found in the parent class(es).

This is a mostly clean backport from Godot 4.0.
2022-11-18 21:20:36 +01:00
dzil123 aa0b91ca52 [3.x] Fix shader compiler asan out of bounds 2022-11-17 19:24:15 -08:00
Fredia Huya-Kouadio 0803b4168d
Merge pull request #68730 from m4gr3d/fix_save_restart_3x
[3.x] Fix 'save & restart' logic for the Android Editor
2022-11-16 12:54:30 -08:00
dzil123 b3812750da [3.x] PCKPacker Fix error spam 2022-11-16 06:52:47 -08:00
Fredia Huya-Kouadio cc59e18c9b Add navigation control to the spatial editor viewport for the Android editor 2022-11-16 05:17:21 -08:00
Fredia Huya-Kouadio 5aab84befb Fix 'save & restart' logic for the Android Editor 2022-11-16 03:29:40 -08:00
Rémi Verschelde 36a8ebf882
Merge pull request #67666 from timothyqiu/editable-owner
[3.x] Fix wrong owner for editor plugin created nodes in instanced scene
2022-11-15 18:00:38 +01:00
Rémi Verschelde 1ad9992ab7
Merge pull request #67995 from YeldhamDev/how_backporting
[3.x] Stop centering clicked suggestions in the autocomplete popup
2022-11-14 23:52:00 +01:00
Rémi Verschelde 4ff9a8a0b4
Merge pull request #68625 from BleedingXiko/pick_random
[3.x] Add ability to pick random value from array
2022-11-14 23:51:53 +01:00
Rémi Verschelde 032190fb92
Merge pull request #68659 from BimDav/user_inertia
Correctly compute inverse_mass when inertia is defined by the user
2022-11-14 23:51:45 +01:00
Nonunknown eb5b297fef
add ability to pick random value from array
(cherry picked from commit 9f4dbf415d)

Co-authored-by: BleedingXiko <66162192+BleedingXiko@users.noreply.github.com>
2022-11-14 19:11:41 +01:00
BimDav de40dfaac0 Correctly compute inverse_mass when inertia is defined by user 2022-11-14 18:39:57 +01:00
Rémi Verschelde d80396db03
Merge pull request #68556 from 98teg/flow-container-alignment
Add alignment options to flow container
2022-11-14 14:35:46 +01:00
Rémi Verschelde 322bfec275
Merge pull request #68384 from cheece/expose_get_transform_for_eye
expose ARVRInterface::get_transform_for_eye to gdscript
2022-11-14 14:35:39 +01:00
Rémi Verschelde de16367404
Merge pull request #68260 from bruvzg/macos_ex_fs3
[macOS, 3.x] Disable Dock and Menu in fullscreen mode.
2022-11-14 14:35:23 +01:00
Rémi Verschelde 861943e0b6
Merge pull request #67698 from timothyqiu/skeleton-bones
[3.x] Fix error when having BoneAttachment before PhysicalBone
2022-11-14 14:35:00 +01:00
Rémi Verschelde 9af2f6400f
Merge pull request #67099 from Calinou/doc-light-no-scale-3.x
Document (Omni/Spot)Light ignoring Spatial's scale property (3.x)
2022-11-14 14:34:35 +01:00
bruvzg dbb52395bc
[macOS] Disable Dock and Menu in fullscreen mode. 2022-11-14 07:59:29 +02:00
Haoyu Qiu 3acc0779a4 Fix error when having BoneAttachment before PhysicalBone 2022-11-14 08:36:12 +08:00