Commit Graph

34124 Commits

Author SHA1 Message Date
Rémi Verschelde 55050205a0 Update AUTHORS and DONORS list
New contributors added to AUTHORS:
asmaloney, MewPurPur, Mickeon, MinusKube, RedMser

Thanks to all contributors and donors for making Godot possible!

(cherry picked from commit 28cba04cd2)
2022-09-27 23:50:13 +02:00
Rémi Verschelde da0aebcce7
Merge pull request #66499 from akien-mga/3.5-changelog 2022-09-27 21:28:23 +02:00
Rémi Verschelde 24ef0888c2 Add changelog for Godot 3.5.1 2022-09-27 17:07:42 +02:00
smix8 3b9355be3f Fix TileMaps with origin offset placing NavPolygons wrong without a Navigation2D node
The legacy navigation was positioning baked TileMap navpolygons relative to the current Navigation2D node assuming that it is usually one of the parent nodes.

Without the deprecated Navigation2D node the default navigation map of the world_2d is used. This navigation map has no relative Node2D so it needs to use the global_transform of the TileMap to place navregions with the correct offset in case the TileMap is moved from the origin.

(cherry picked from commit 881e49c375)
2022-09-22 20:37:48 +02:00
Hugo Locurcio 1a385e1bad Document Mesh vertex color compression clamping overbright/HDR colors
(cherry picked from commit 811f814f45)
2022-09-22 20:37:29 +02:00
Rémi Verschelde b193713612 Style: Ensure consistent formatting with clang-format 15
(cherry picked from commit f9b91d8d24)
2022-09-21 13:35:34 +02:00
Ricardo Buring 553c9aba6f Document behavior of areas with concave shapes
(cherry picked from commit be5d18163d)
2022-09-21 13:35:17 +02:00
Rémi Verschelde ea5d5704d6 Merge pull request #66149 from akien-mga/3.5-cherrypicks
Cherry-picks for the 3.5 branch (future 3.5.1) - 3rd batch
2022-09-20 10:45:12 +02:00
Rémi Verschelde 831d126d41 libpng: Update to upstream 1.6.38
(cherry picked from commit 0f2dc5c5e1)
2022-09-20 10:29:38 +02:00
kobewi fdf76bbcef Fix crash when playing Tween right after finishing
(cherry picked from commit 1a462bc84e)
2022-09-20 10:28:14 +02:00
smix8 729d7b2b42 Exclude disabled CollisionShapes from Navigationmesh baking
Excludes disabled CollisionShapes from the geometry parsing for the NavigationMesh baking.

(cherry picked from commit 534ff93b05)
2022-09-20 10:28:11 +02:00
Voylin f3d1629061 Fixes doc/Makefile fails if path contains spaces
(cherry picked from commit 0fd29f76a2)
2022-09-20 10:28:05 +02:00
Ted Spikes 6025d4ae2e Check for ios_simulator when building for x86_64
(cherry picked from commit 21f7bd0723)
2022-09-20 10:28:01 +02:00
Martin Liska dbcd83c7c2 Fix building VHACD with GCC 13.
Fixes the following error:
thirdparty/vhacd/inc/vhacdICHull.h:46:31: error: 'uint32_t' does not name a type
   46 |     ICHullError Process(const uint32_t nPointsCH, const double minVolume = 0.0);
      |                               ^~~~~~~~

Note the upstream version of the third party library is not affected.

(cherry picked from commit a648d831a9)
2022-09-20 10:27:56 +02:00
Michael Alexsander 6cc1dc309f Shrink shader editor's oversized borders
(cherry picked from commit c2553f530b)
2022-09-20 10:27:52 +02:00
dzil123 26f7c0f1df Ignore node rename if already exited blend tree
(cherry picked from commit f9bee90994)
2022-09-20 10:27:08 +02:00
Rémi Verschelde eae3689153 VCS plugin: SSH key dialog defaults to HOME
Fixes #65691.

(cherry picked from commit fc227ea919)
2022-09-20 10:27:02 +02:00
kobewi 92f1f815c6 Add more clarifications about Tween processing
(cherry picked from commit 038cb677cb)
2022-09-20 10:26:56 +02:00
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