Commit Graph

34175 Commits

Author SHA1 Message Date
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
Haoyu Qiu 0fdda75fdc Fix NavigationObstacle not estimating radius
(cherry picked from commit acf86efebc)
2022-12-05 09:18:43 +08:00
Haoyu Qiu f8eed6372c Fix NavigationObstacle not registering to default navigation map
(cherry picked from commit fba5a4ab9a)
2022-12-05 09:18:12 +08:00
Hugo Locurcio c7c8cc399c Fix debanding strength being affected by environment adjustments
(cherry picked from commit 6d0d9037cd)
2022-12-05 09:17:37 +08:00
bruvzg a0f1eac3e9 [Windows, 3.x] Fix WM_CHAR processing code using Unicode char instead of Virtual key.
(cherry picked from commit 77fc88e9a6)
2022-12-05 09:17:08 +08:00
Marcus Elg 108e3196ea Improve %f formatting for inf and nan
(cherry picked from commit e9cbe9517b)
2022-12-05 09:16:08 +08:00
Haoyu Qiu 52ab4ef0d2 Fix String::word_wrap() for long words
(cherry picked from commit 51fd1c27aa)
2022-12-05 09:15:57 +08:00
bruvzg d368b55a53
[iOS] Fix build with warnings=extra.
(cherry picked from commit 987723b386)
2022-11-03 18:33:21 +01:00
Rémi Verschelde 0fd48f02f5 Bump version to 3.5.2-rc 2022-09-28 13:12:34 +02:00
Rémi Verschelde 6fed1ffa31 Bump version to 3.5.1-stable 2022-09-28 00:03:35 +02:00
Rémi Verschelde 3e186bfdc0 Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@81ddc73d17

(cherry picked from commit b33460c6ca)
2022-09-27 23:50:15 +02:00
Rémi Verschelde 8dbd40db65 i18n: Sync classref translations with Weblate (3.5 branch) 2022-09-27 23:50:14 +02:00