Commit graph

34748 commits

Author SHA1 Message Date
Mark Riedesel
c15bb8147e
Handle closed splines in Collada importer
(cherry picked from commit 8f7ab02bc6)
2022-11-30 15:34:26 +01:00
Rafał Mikrut
e359ba3733
Fix exporting big templates
(cherry picked from commit 86fa3ba560)
2022-11-30 15:34:26 +01:00
jbcolli2
dd807ca5e7
Changed normal of CylinderMesh to account for slanted side.
(cherry picked from commit 491ec622f6)
2022-11-30 15:34:26 +01:00
hare_ware
4150749698
Fix Skeleton3D falsely assuming all physical bones will be children of their first bone
(cherry picked from commit 913f57f695)
2022-11-30 15:34:26 +01:00
Pedro J. Estébanez
de6b5f992b
Fix newlines not honored in Windows console
This is relevant when building with `windows_subsystem=console`.

(cherry picked from commit e14c5186e2)
2022-11-30 15:34:26 +01:00
Rémi Verschelde
9d6c3b5151
Debugger: Fix fetching source to link C++ error on GitHub
Fixes #66974.

(cherry picked from commit 4d29346a74)
2022-11-30 15:34:25 +01:00
nikitalita
e1a39d66b0
Fix DirAccessWindows::make_dir() choking on ".."
`CreateDirectoryW()` chokes on absolute paths that contain `..`
example: "C:\\workspace\\..\\games\\assets"
Simplifying the path before creating the dir fixes this.

(cherry picked from commit 0d3d5ac769)
2022-11-30 15:06:28 +01:00
kleonc
24eb91cd5b
Fix checking if script is attached to any node belonging to scene
(cherry picked from commit 7f7966e10a)
2022-11-30 15:06:13 +01:00
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
edc85d22fc Faster queue free
Calling queue_free() for large numbers of siblings could previously be very slow, with the time taken rising exponentially with number of children. This looked partly due to ordered_remove from the child list and notifications.

This PR identifies objects that are nodes, and sorts the deletion queue so that children are deleted in reverse child order. This minimizes the costs of reordering.
2022-11-25 09:53:50 +00: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