Paweł Fertyk
00c346b325
Fix get_visible_line_count in RichTextLabel with newlines
...
Fixed #59359 .
(cherry picked from commit 32cdf9fad2
)
2022-12-12 14:43:48 +01:00
ray90514
f1231a7c7e
Fix Script editor completion doesn't suggest members of a script for type hints
...
(cherry picked from commit 7afbd5904e
)
2022-12-12 14:43:37 +01:00
Hugo Locurcio
eb100cbddb
Only support XDG directory path configuration on Linux
...
This also harmonizes the server code to be consistent with Linux desktop
(with warnings printed for relative XDG paths).
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit 06c266f231
)
2022-12-12 14:43:22 +01:00
Hugo Locurcio
5dc2a60c64
Document debanding only affecting 3D rendering by default
...
(cherry picked from commit 4475a93736
)
2022-12-12 14:43:07 +01:00
Rémi Verschelde
3b833bfaf1
Revert "RID: Change comparison operators to use RID_Data id instead of address"
...
(cherry picked from commit c404cc0e58
)
2022-12-12 14:42:52 +01:00
Jordan Schidlowsky
894e302d9a
expose additional global enums in 3.x which are available in master
...
(cherry picked from commit dc5226ecfd
)
2022-12-12 14:42:05 +01:00
Rémi Verschelde
a94af65daa
Merge pull request #69944 from timothyqiu/3.5-cherrypicks
...
Cherry-picks for the 3.5 branch (future 3.5.2) - 2nd batch
2022-12-12 08:59:33 +01:00
Hugo Locurcio
87947110b8
Document print_stack()
and get_stack()
requiring a debugger connection
...
(cherry picked from commit 530e31d4a3
)
2022-12-12 14:56:39 +08:00
nyanpasu64
62be3b3a9b
Fix burning CPU with udev disabled on Flatpak
...
Fixes #67355 .
(cherry picked from commit 0cbd1c85a9
)
2022-12-12 14:42:47 +08:00
Pedro J. Estébanez
0e0550a83a
Fix newlines not honored in Windows console
...
This is relevant when building with `windows_subsystem=console`.
(cherry picked from commit e14c5186e2
)
2022-12-12 14:40:39 +08:00
smix8
2ead966f87
Add detail to NavigationPolygon outline error msg
...
Adds additional information to the error msg when the convex partition fails due to invalid outline arrays.
(cherry picked from commit f30ebacbe8
)
2022-12-12 14:20:08 +08:00
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