Commit Graph

34298 Commits

Author SHA1 Message Date
Hugo Locurcio bacda47336 Fix BackBufferCopy `rect` property appearing when not relevant in inspector
The `rect` property is only effective if `copy_mode` is Rect.

(cherry picked from commit 5115db63aa)
2022-12-12 13:39:10 +08:00
Marcel Admiraal 2b9efd768c Store Bullet total gravity, linear damp and angular damp calculations
so they can be retrieved from PhysicsDirectBodyState

(cherry picked from commit 7669f6e660)
2022-12-12 13:38:29 +08:00
Haoyu Qiu 3d0f484c57 Fix CanvasLayer visibility toggle can only run once per frame
(cherry picked from commit a6a89356b7)
2022-12-12 13:37:35 +08:00
QbieShay a945538eae added options for sorting transparent objects
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
Co-authored-by: Clay John <claynjohn@gmail.com>
(cherry picked from commit acdcbefa4e)
2022-12-12 13:33:52 +08:00
Rémi Verschelde b129ae2127 libwebp: Sync with upstream 1.2.4
Changes: https://chromium.googlesource.com/webm/libwebp/+/1.2.4/NEWS
(cherry picked from commit e5e34f21fc)
2022-12-12 13:26:32 +08:00
Micky a8c01896cc Cast between float and ints in SceneTreeTween.`tween_property()`
(cherry picked from commit 2b18a4002c)
2022-12-12 13:26:00 +08:00
Zak Grumbles c703029a28 Add note regarding RefCounted to EditorScript docs
(cherry picked from commit e5dc2ed982)
2022-12-12 13:25:19 +08:00
Hugo Locurcio ad97db2da4 Document `Array.sort()` and `sort_custom()` using unstable sorting
(cherry picked from commit 85b617a6a3)
2022-12-12 13:24:51 +08:00
Ignacio Roldán Etcheverry 6a794cf6ea Add JetBrains Fleet folder to gitignore
(cherry picked from commit 166d86ca84)
2022-12-12 13:24:25 +08:00
alex-pahdo 29c309c2da Add more info to WAV import errors
Print mismatched header contents and file size, which can provide more clues to users when debugging.

(cherry picked from commit f5d256b118)
2022-12-12 13:23:37 +08:00
Rémi Verschelde c76479727e
Merge pull request #69589 from timothyqiu/3.5-cherrypicks
Cherry-picks for the 3.5 branch (future 3.5.2) - 1st batch
2022-12-05 07:44:41 +01:00
hare_ware b012fed826 Fix Skeleton3D falsely assuming all physical bones will be children of their first bone
(cherry picked from commit 913f57f695)
2022-12-05 10:12:10 +08:00
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