Commit Graph

34208 Commits

Author SHA1 Message Date
Steve Cotton 9e6f9a451e doc: link GPUParticles2D to the 2D Particles demo
Add a comment in the link to the Dodge The Creeps demo too. That demo only uses
particles for one thing (to leave a trail when the player moves), they're not
interacting with anything else in the demo; it took me a bit of searching to
find where they were used.

(cherry picked from commit 6db9752f23)
2022-12-12 14:16:16 +08:00
Rémi Verschelde 421e10375e SCons: Fix MSVC warning LNK4042 about dupe objects in regex
(cherry picked from commit 3fd9452a8c)
2022-12-12 14:15:36 +08:00
Ricardo Buring 7ccffd6bb8 Fix typo bug in heightmap shape
(cherry picked from commit 55eceb5150)
2022-12-12 14:14:38 +08:00
Hugo Locurcio 080104b18f Fix libtheora source code being mistakenly `.gitignore`d
(cherry picked from commit ffb9f2b53f)
2022-12-12 14:14:25 +08:00
Haoyu Qiu 7decec181c Add note about GROUP_CALL_UNIQUE not considering arguments
(cherry picked from commit 3f2d6f5f6c)
2022-12-12 14:14:00 +08:00
DeeJayLSP 4c16175100 Update CA certificates to 2022.10 revision
(cherry picked from commit a81c1e8a58)
2022-12-12 14:13:34 +08:00
bruvzg d3d72268cd [MSVC] Use symbols from .pdb only, to avoid incorrect names in the backtrace when symbols are missing.
(cherry picked from commit d99c32668a)
2022-12-12 14:13:16 +08:00
ocean (they/them) 2d1b61e46e Add VS's enc_temp_folder to .gitignore
(cherry picked from commit 8ae66c143b)
2022-12-12 14:12:21 +08:00
Josh Jones f1458941f5 Add MSVC problem matcher to CI
(cherry picked from commit ed2c1d1c51)
2022-12-12 14:12:13 +08:00
Raul Santos 01ed2a8700 Add GCC problem matcher to CI
(cherry picked from commit d3641c9d0d)
2022-12-12 14:12:07 +08:00
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