Windy Darian
c49ee15487
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-12-05 10:11:55 +08:00
Rémi Verschelde
4ee12fa80b
Project Manager: Fix hacky code for project rename
...
Instantiating a new ProjectSettings is *not* the way to go.
ConfigFile works just fine to read/change a single value.
Fixes memory leaks as the instantiated ProjectSettings was never freed.
Forbid doing this to prevent such problems.
Fixes #25661 .
(cherry picked from commit f21f75eb6f
)
2022-12-05 10:10:15 +08:00
Graham Pentheny
4aa84f1083
Updated Recast to 4fef044
...
In some cases Godot can generate input parameters to Recast that cause it to crash. Specifically when baking NavigationMeshes for input meshes that have axis extents less than half the NavigationMesh CellSize.
This has been fixed upstream in Recast (in 3901c5854c
). Updating Godot's Recast integration fixes this crash issue in Godot as well.
(cherry picked from commit 36de150c74
)
2022-12-05 10:10:03 +08:00
bruvzg
014525904a
[macOS] Update activation hack to work on Ventura.
...
(cherry picked from commit 153d06d79b
)
2022-12-05 10:09:54 +08:00
Abdulrahman Al Zeidi
8f01733d52
Fix static object destructors being called on gpu selection with X11
...
(cherry picked from commit 5860f81c18
)
2022-12-05 10:09:43 +08:00
dzil123
4c00e4c504
Fix Image::bump_map_to_normal_map incorrectly keeping mipmap flag
...
(cherry picked from commit 1fa8b3dd42
)
2022-12-05 10:09:31 +08:00
kleonc
f0668f5a3f
Fix checking if script is attached to any node belonging to scene
...
(cherry picked from commit 7f7966e10a
)
2022-12-05 10:08:34 +08:00
Rémi Verschelde
76f219adb6
Debugger: Fix fetching source to link C++ error on GitHub
...
Fixes #66974 .
(cherry picked from commit 4d29346a74
)
2022-12-05 10:08:05 +08:00
jbcolli2
a49a90742f
Changed normal of CylinderMesh to account for slanted side.
...
(cherry picked from commit 491ec622f6
)
2022-12-05 10:05:23 +08:00
Rafał Mikrut
52e25bc555
Fix exporting big templates
...
(cherry picked from commit 86fa3ba560
)
2022-12-05 10:05:13 +08:00
Mark Riedesel
394bfa0e02
Handle closed splines in Collada importer
...
(cherry picked from commit 8f7ab02bc6
)
2022-12-05 10:04:58 +08:00
Mark Riedesel
c9adfec386
Add buffer size check to Image.load_tga_from_buffer(). Fixes #67985
...
(cherry picked from commit 5cb07486db
)
2022-12-05 10:04:45 +08:00
kleonc
8065ac29c5
SpriteFramesEditor
Fix calculating frame index from mouse position
...
(cherry picked from commit d135957987
)
2022-12-05 10:04:38 +08:00
Alfred Reinold Baudisch
50dfb52514
Cast dragged file extension name to lowercase, closes #68104
...
(cherry picked from commit 07e367cb0b
)
2022-12-05 10:02:49 +08:00
nikitalita
5089429073
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-12-05 10:01:37 +08:00
Fireflash
4bf7695671
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-12-05 10:00:34 +08:00
kleonc
7d2701c08b
SpriteBase3D
Fix drawing AtlasTextures with vertical margins differently than in 2D
...
(cherry picked from commit 0a64c2eba5
)
2022-12-05 09:58:20 +08:00
kleonc
a9e897d2c3
Move duplicated drawing code from Sprite3D
/AnimatedSprite3D
to SpriteBase3D
...
(cherry picked from commit 0bf2b8e813
)
2022-12-05 09:58:15 +08:00
Andrew Dunai
e8a4e766ef
Fix "!script_data is true" when updating placeholder scripts for GDNative libraries
...
Co-authored-by: geekrelief <geekrelief@gmail.com>
(cherry picked from commit 1af4ba04cd
)
2022-12-05 09:56:03 +08:00
Michael Alexsander
63c3909669
Port Input.action_press/release()
changes
...
(cherry picked from commit 6f0c852c9b
)
2022-12-05 09:54:14 +08:00
Fredia Huya-Kouadio
26012ed6b6
Fix the logic used to route InputEventScreenDrag
events to Control
nodes.
...
(cherry picked from commit b28bcb4cfc
)
2022-12-05 09:47:43 +08:00
asalazar516
b07bcf5592
[3.x] Add missing argument to AnimationNodeBlendTreeEditor::_delete_nodes_request
...
(cherry picked from commit fd101d9def
)
2022-12-05 09:45:23 +08:00
Dan
d4f402b728
fix exporting Android APPLICATION_ATTRIBS (3.X)
...
(cherry picked from commit d789ad4b20
)
2022-12-05 09:44:00 +08:00
BimDav
e639cb40e9
Correctly compute inverse_mass when inertia is defined by user
...
(cherry picked from commit de40dfaac0
)
2022-12-05 09:43:13 +08:00
bruvzg
84eed3b988
[TextMesh, 3.x] Fix auto-translation and ignore control chars.
...
(cherry picked from commit efa6b01c97
)
2022-12-05 09:40:56 +08:00
Haoyu Qiu
056e99ad6e
Fix TreeItem.remove_child not updating Tree immediately
...
(cherry picked from commit 7bdbfbf822
)
2022-12-05 09:39:33 +08:00
Marius Hanl
3f3597ac0d
Update project window title when a project setting was changed
...
Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
(cherry picked from commit 9ea2ef7c44
)
2022-12-05 09:39:22 +08:00
DeeJayLSP
52d62f6e09
Update nanosvg to GIT (2022.11)
...
(cherry picked from commit d0386660cb
)
2022-12-05 09:38:10 +08:00
Haoyu Qiu
bb3cd4af45
Backport navigation crash fixes
...
Co-Authored-By: Sean <sean@geekotron.net>
(cherry picked from commit 37ccdb201a
)
2022-12-05 09:37:27 +08:00
dzil123
d6812ff7b9
[3.x] Fix shader compiler asan out of bounds
...
(cherry picked from commit aa0b91ca52
)
2022-12-05 09:36:51 +08:00
dzil123
c3210df448
[3.x] PCKPacker Fix error spam
...
(cherry picked from commit b3812750da
)
2022-12-05 09:36:18 +08:00
dzil123
0ac86df6d4
[3.x] Fix c# Array.Shuffle incorrect mono bindings
...
(cherry picked from commit bdcb1ff228
)
2022-12-05 09:35:27 +08:00
Haoyu Qiu
3898521246
Improve dragging scene into 3D viewport
...
(cherry picked from commit f32f4ec051
)
2022-12-05 09:33:52 +08:00
Haoyu Qiu
989e492a42
Clarify offset parameter behavior in RegEx methods
...
(cherry picked from commit fef0a82183
)
2022-12-05 09:33:38 +08:00
kleonc
ac40d19ac5
Docs Clarify Array.fill behavior when reference type is passed in
...
(cherry picked from commit 5f01413774
)
2022-12-05 09:33:25 +08:00
Sam Briels
1f50a0b6ca
fix: emit target_reached signal after updating state
...
(cherry picked from commit 3e186ae043
)
2022-12-05 09:32:50 +08:00
Haoyu Qiu
568401878f
Fix spatial gizmo still active when node is deselected
...
(cherry picked from commit 0025ab89c7
)
2022-12-05 09:31:52 +08:00
Haoyu Qiu
f29f387d54
Fix error when having BoneAttachment before PhysicalBone
...
(cherry picked from commit 3acc0779a4
)
2022-12-05 09:30:40 +08:00
Haoyu Qiu
15681a6761
Fix wrong owner for editor plugin created nodes in instanced scene
...
(cherry picked from commit d50cfd9f18
)
2022-12-05 09:30:25 +08:00
Hugo Locurcio
d7ae42dc8d
Document known issues with CylinderShape
...
(cherry picked from commit 14391ef344
)
2022-12-05 09:29:25 +08:00
Haoyu Qiu
485ec0d27c
Fix get_path() error when calling get_node()
...
(cherry picked from commit 5d6dc206bc
)
2022-12-05 09:28:43 +08:00
Fredia Huya-Kouadio
05cb89855e
Update the clean
task configuration
...
Running `gradlew clean` will now properly delete the generated build artifacts
(cherry picked from commit 71c76a4ff2
)
2022-12-05 09:28:00 +08:00
kobewi
422d7fafaa
Hide text of RichTextLabel if BBCode is enabled
...
(cherry picked from commit a0ad958582
)
2022-12-05 09:24:34 +08:00
smix8
5476554d5e
Fix Editor crash when MeshLibrary gets replaced while used in an open GridMap scene
...
(cherry picked from commit d6805e8c33
)
2022-12-05 09:23:37 +08:00
Hugo Locurcio
d08b312984
Document (Omni/Spot)Light ignoring Spatial's scale property
...
(cherry picked from commit d17d6d6cc4
)
2022-12-05 09:22:57 +08:00
Jason Knight
f5b2f77111
Fix null in android keyboard handling.
...
(cherry picked from commit 31fe6848e8
)
2022-12-05 09:22:16 +08:00
Rémi Verschelde
560c77b1a1
HTML5: Add missing OS::get_cursor_shape()
implementation
...
Fixes #66835 .
(cherry picked from commit 6f6c8b114b
)
2022-12-05 09:21:28 +08:00
smix8
3869ea3c21
Fix GDScript export hint for Navigation2D layer names
...
(cherry picked from commit d955d4a1c1
)
2022-12-05 09:20:45 +08:00
smix8
945991e020
Fix avoidance calculation on NO_THREADS build
...
(cherry picked from commit f15cb16b14
)
2022-12-05 09:19:56 +08:00
Haoyu Qiu
1aaaed8131
Fix crash executing MultiMesh.reset_instance_physics_interpolation
...
(cherry picked from commit f33dfe8236
)
2022-12-05 09:19:12 +08:00