dzil123
aff93994d8
Fix variables highlighting as types
...
(cherry picked from commit 1e4f47ffe0
)
2022-09-20 10:25:27 +02:00
lawnjelly
0546d268a1
CPUParticles initialize data on set_amount
...
Fills particle data with zeroes on resize using set_amount(), to prevent garbage data including Nans being sent to VisualServer, which can corrupt the spatial partitioning.
(cherry picked from commit fdd82f4754
)
2022-09-20 10:24:56 +02:00
Haoyu Qiu
46f81a5997
Fix typo in CollisionObject documentation
...
(cherry picked from commit 4bc1ea0ac4
)
2022-09-20 10:24:44 +02:00
lawnjelly
66f519bc87
Prevent drawing MultiMesh with zero instance count
...
Issuing a driver drawcall for MultiMesh with zero instances crashes some drivers.
(cherry picked from commit a300505066
)
2022-09-20 10:24:30 +02:00
kleonc
0dad6d30ea
`SpriteFramesEditor` Reallow deselecting frame with LMB press in select frames dialog
...
(cherry picked from commit e1fb4b4f21
)
2022-09-20 10:24:09 +02:00
lawnjelly
9f646c867d
Low priority redraw request for AnimatedSprite
...
Prevents animated sprite from creating continuous redraws in vital_redraws_only mode.
(cherry picked from commit 54a939a029
)
2022-09-20 10:23:31 +02:00
lawnjelly
0a216bfec0
Portals - clarify docs VisualInstances only
...
Makes it more clear in the documentation that some debugger features are expected not to show when portals are active.
(cherry picked from commit dcf52103a6
)
2022-09-20 10:23:18 +02:00
lawnjelly
3e848096e8
Portals - Show RayCast debug helper
...
Switches the raycast helper to global portal_mode, allowing it to show when portals are active.
(cherry picked from commit 09befec1ed
)
2022-09-20 10:23:06 +02:00
Yuri Sizov
3d97e97be8
Fix parameter references in Theme documentation
...
(cherry picked from commit 9496254737
)
2022-09-20 10:22:44 +02:00
Rémi Verschelde
26a28d6bbd
i18n: Sync classref translations with Weblate (3.5 branch)
2022-09-09 14:46:33 +02:00
Rémi Verschelde
367ffd10c8
i18n: Sync editor translations with Weblate (3.5 branch)
2022-09-09 14:41:34 +02:00
lawnjelly
c7d9c3b21f
Fix uninitialized data reads in Input
...
Found by Valgrind.
(cherry picked from commit d60eae3dbc
)
2022-09-09 14:35:08 +02:00
Micky
70b55faa38
Prevent HTTPRequest from polling invalid client
...
(cherry picked from commit 9e284f68ec
)
2022-09-09 14:34:40 +02:00
Rémi Verschelde
1b48e17ab8
SCons: Fix compilation database generation with MSVC
...
Fixes #54434 .
Co-authored-by: Daniel Moody <daniel.moody@mongodb.com>
(cherry picked from commit 22381d9d07
)
2022-09-09 14:34:13 +02:00
Andres Hernandez
3ebe8eef24
Updated gamecontrollerdb.txt to latest to include new mappings for various controllers, including Xbox One, Nintendo Switch, Steam Deck, and 8BitDo
...
(cherry picked from commit 9054399900
)
2022-09-09 14:33:13 +02:00
kobewi
96f8177b42
Improve the description of follow_viewport_enabled
...
(cherry picked from commit 229e764290
)
2022-09-09 14:31:55 +02:00
Haoyu Qiu
7dfcd9d80d
Fix parsing of XML CDATA and add test cases
...
(cherry picked from commit 7ed2b09bc0
)
2022-09-09 14:31:36 +02:00
Gergely Kis
47bc0f649d
Fix UTF-8 validation in static checks
...
Use isutf8 instead of recode to detect invalid UTF-8 sequences.
Also add the necessary dependencies to run the static checks locally
using act (https://github.com/nektos/act ) with the Medium size image.
(cherry picked from commit 13d9a8c88f
)
2022-09-09 14:31:25 +02:00
Rémi Verschelde
2bb8183011
HTML5: Fix warning with Emscripten 3.1.20
...
Use version 3.1.14 for CI like for official builds.
(cherry picked from commit 5271d69909
)
2022-09-09 14:30:52 +02:00
Rémi Verschelde
5d1b579455
Changelog: Mention compat breaking removal of illegal '1f' syntax for shaders
...
Fixes #59316 .
(cherry picked from commit 968af50449
)
2022-09-09 14:30:19 +02:00
lawnjelly
be2739b1c7
Fix RayCast2DEditor uninitialized value
...
node was previously read before being set. Found by Valgrind.
(cherry picked from commit c8a39f6fb3
)
2022-09-09 14:30:08 +02:00
lawnjelly
b44d47f582
Fix GLES directional shadow uninitialized data
...
Valgrind shows directional_shadow.fbo accessed when uninitialized in directional_shadow_create.
(cherry picked from commit 9b294b298e
)
2022-09-09 14:29:55 +02:00
lawnjelly
1c6467c6e4
FlowContainer fix uninitialized data
...
This uninitialized data was finding its way into the renderer.
(cherry picked from commit fa4a325180
)
2022-09-09 14:29:43 +02:00
lawnjelly
28800cfb23
FindBar fix uninitialized results_count
...
Found by Valgrind.
(cherry picked from commit c254e97c6b
)
2022-09-09 14:29:26 +02:00
Hugo Locurcio
48bda355f0
Fix missing `import sys` in `methods.py`
...
(cherry picked from commit ea1e4bf9ac
)
2022-09-09 14:29:16 +02:00
lawnjelly
5800615be7
Batching - fix uninitialized color read
...
Valgrind was showing a read from uninitialized memory. r_fill_state.curr_batch->color is unset (for performance reasons), so can contain random data.
This actually doesn't matter in practice, since logically this uninitialized state can only occur when change_batch is set, and the only side effect is that change_batch is set. Hence why no bugs occur in practice.
This PR prevents this read from uninitialized data. It is likely free in terms of performance after optimization, and keeps the Valgrind logs clearer, so why not.
(cherry picked from commit 23fedc0d1a
)
2022-09-09 14:28:58 +02:00
Hugo Locurcio
c6461d31d2
Improve documentation related to audio input permissions
...
(cherry picked from commit ac31fac9a5
)
2022-09-05 15:47:43 +02:00
Rémi Verschelde
c4179fb179
SCons: Enforce version 4.0+ when `compiledb=yes` is used
...
Fixes #65233 .
(cherry picked from commit 6c5e085d13
)
2022-09-05 15:47:29 +02:00
BenniKane
6d9904f1a9
doc: Clarifying NavigationAgent and NavigationAgent2D velocity_computed requires avoidance_enabled to be true to emit
...
(cherry picked from commit ed5b832a81
)
2022-09-05 15:47:14 +02:00
Michael Alexsander
a65247a405
Fix some corner cases in the `Menu/OptionButton` item auto-highlight
...
(cherry picked from commit 1e80b17a8d
)
2022-09-05 15:46:06 +02:00
Michael Alexsander
4744a8a1a9
Make `Menu/OptionButton` item auto-highlight behave better
...
(cherry picked from commit 50506e19a6
)
2022-09-05 15:45:54 +02:00
kobewi
5c9ced191b
Mention that grab_focus is more reliable deferred
...
(cherry picked from commit 188d5593e1
)
2022-09-05 15:44:04 +02:00
Haoyu Qiu
293c3844b3
Fix action name completion for `Input.get_{axis,vector}`
...
(cherry picked from commit e6dd71d227
)
2022-09-01 11:09:02 +02:00
Rémi Verschelde
a027a2efaa
Mono: Show custom error explaining that UWP is not supported
...
Fixes #64490 .
(cherry picked from commit ceef056146
)
2022-09-01 11:08:18 +02:00
Fredia Huya-Kouadio
e1e03297f1
Additional fixes to the Android `get_current_dir()` implementation.
...
(cherry picked from commit 9910d4681d
)
2022-09-01 11:05:27 +02:00
Fredia Huya-Kouadio
8219a72574
Fix build failures for Android on Windows
...
The issue is caused by https://github.com/godotengine/godot/pull/64306 which makes use of a 3.7 feature while the current recommended python version is 3.5 for 3.x and 3.6 for master.
(cherry picked from commit 667f4ed742
)
2022-09-01 10:35:56 +02:00
Pedro J. Estébanez
245bcb693e
Add ability to extend the set of Git pre-commit hooks
...
(cherry picked from commit 8e2d0e1bb1
)
2022-09-01 10:35:53 +02:00
Pedro J. Estébanez
f3be5471c8
Make Git hooks work on worktrees on Windows
...
(cherry picked from commit 4bf03afe8b
)
2022-09-01 10:35:50 +02:00
Rémi Verschelde
a264b68f50
Merge pull request #65045 from akien-mga/3.5-cherrypicks
2022-08-30 14:11:26 +02:00
fabriceci
6029200662
Hack as a hot fix for Bullet's collision margin issue
...
(cherry picked from commit b3210c5cd6
)
2022-08-30 11:48:24 +02:00
Pedro J. Estébanez
5296ab8cd6
Determine ProjectSettings' resource path early
...
(cherry picked from commit 89892e4f32
)
2022-08-30 11:27:42 +02:00
bitsawer
75a3af4d3c
Fix Windows list dir handle leak
...
(cherry picked from commit 40325006b6
)
2022-08-30 11:21:31 +02:00
Michael Alexsander
08844b6143
Fix `ItemList` selection visual when the scrollbar visibility changes
...
(cherry picked from commit e298144a41
)
2022-08-30 11:21:19 +02:00
Jordan Schidlowsky
6a6d595286
workaround for angle project issue 7245, safari, iOS
...
(cherry picked from commit 1ed1a3067b
)
2022-08-30 11:20:16 +02:00
Yuri Sizov
d92b207189
Backport fixes to documentation for paths, curves and navigation servers
...
(cherry picked from commit 39f46613bb
)
2022-08-30 11:20:03 +02:00
Perrier Mathis
b5e4a3c3e0
Fix output port type mismatch for some VisualScript nodes
...
(cherry picked from commit dcacecaed0
)
2022-08-30 11:19:50 +02:00
Nathan Franke
ab5f3fcbe0
3.x: ios: force app store icon to be opaque, use proper errors, fix memory leak
...
(cherry picked from commit da3aecff01
)
2022-08-30 11:19:20 +02:00
Andy Maloney
e85c5dba23
[doc 3.x] Clarify that AnimationNode virtual methods need to be implemented rather than called directly
...
Backport of #64344
Fixes #35272
(cherry picked from commit 4ee4c7954a
)
2022-08-30 11:19:09 +02:00
Hugo Locurcio
2ac25fbcc7
Document run-time SceneTree debug property changes not working correctly
...
(cherry picked from commit 3396f45eef
)
2022-08-30 11:18:58 +02:00
Cory Petkovsek
92eab47591
Fix free(RID) abuse by various classes
...
(cherry picked from commit f7f112ab1f
)
2022-08-30 11:18:02 +02:00