Commit Graph

31864 Commits

Author SHA1 Message Date
Lertsenem e807d2e6f0
Fix error in Vector2.reflect() description
The description was probably copied from Vector3.reflect(), and
unfortunately did not match the 2D behaviour (where n is apparently the
direction vector of the symmetry line, not the normal).

(cherry picked from commit e1bf428cdc)
2022-01-06 00:58:33 +01:00
bruvzg 0868f6af62
Fix decoding UTF-8 filenames on unzipping.
(cherry picked from commit d2573c1636)
2022-01-06 00:58:32 +01:00
Max Hilbrunner 2927494d7e
Fix docs links in 3.x after docs reorg
(cherry picked from commit 717801c9cb)
2022-01-06 00:58:32 +01:00
Hugo Locurcio 02b549e9ea
Document keyboard ghosting caveats in Input and InputEvent
This also adds recommendations for choosing between
`is_physical_key_pressed()` and `is_key_pressed()`.

(cherry picked from commit d01e22f187)
2022-01-06 00:58:32 +01:00
Hugo Locurcio dd0206c5ad
Improve the CameraServer and CameraFeed class documentations
This closes https://github.com/godotengine/godot-docs/issues/3255.

(cherry picked from commit 73ec2c6ece)
2022-01-06 00:58:32 +01:00
Brian Semrau 50178ea5c3
Fix GPU particles transform feedback for WebGL 2
(cherry picked from commit 2c60c29340)
2022-01-06 00:58:32 +01:00
Hugo Locurcio a954c212eb
Improve `lerp()`, `lerp_angle()` and `inverse_lerp()` documentation
This clarifies that `lerp()` can be used both for interpolation
and extrapolation.

(cherry picked from commit a6db1c758a)
2022-01-06 00:58:32 +01:00
Marcel Admiraal ecb283009e
Fix tablet tilt values returning bad values
(cherry picked from commit 913855926d)
2022-01-06 00:58:32 +01:00
RedMser 48c90cb905
Fix glTF scene export crash on null normal texture
Also removes a redundant get_texture call directly below
the modified code block.

Fixes #56379

(cherry picked from commit 0e36d5e782)
2022-01-06 00:58:31 +01:00
Hugo Locurcio 575b2a23fa
Document the expected format of anisotropy flowmaps in SpatialMaterial
(cherry picked from commit 9937f7f50d)
2022-01-06 00:58:31 +01:00
SaracenOne 721bbfd4c8
Clean preview_node of all none VisualInstances
(cherry picked from commit 5935cee298)
2022-01-06 00:58:31 +01:00
skyace65 2ebe0e48b9
Add warning to only use convex hull points when setting the point property for convex polygon shape
(cherry picked from commit 6b18614de7)
2022-01-06 00:58:31 +01:00
Cnidarias 39cdd57114
Fix http limitation for large "content-length"
When a request was issued to a server that returned "content-length" header
whose value was greater than that of an "int" we ran into overflow
problems. The fix for this was rather simple by increasing the data
type to `int64_t`

(cherry picked from commit 69a532414c)
2022-01-06 00:58:31 +01:00
Yuri Sizov 1908e3fe9e
Make the theme editor correctly stop updating after it was hidden
(cherry picked from commit b32acc57f3)
2022-01-06 00:58:31 +01:00
Raul Santos 99353a2aee
Fix getting properties state when reloading C#
When reloading C# classes and keep their properties values they are
retrieved and stored in a state list.
Retrieving the properties was only getting the fields of the C# class
and not inherited fields so those properties values were lost on reload.
Now we also try to find the field in the parent classes.

(cherry picked from commit 907e709f9d)
2022-01-06 00:58:31 +01:00
skyace65 51f99586ee
State that get static memory usage only works in debug
(cherry picked from commit 32b4edbe4e)
2022-01-06 00:58:30 +01:00
kobewi f054563bf4
Improve docs about plugin registration
(cherry picked from commit 4fc795194b)
2022-01-06 00:58:30 +01:00
Haoyu Qiu 702bff0b42
Use tool instead of at-tool in 3.x documentation
(cherry picked from commit 7b83b5ea3c)
2022-01-06 00:58:30 +01:00
Haoyu Qiu 6bbfec2e9d
Alpha channel indicates opacity, not transparency
(cherry picked from commit bb1eb84da4)
2022-01-06 00:58:30 +01:00
skyace65 f726bf49dd
Improve mouse input event class reference
(cherry picked from commit 37dfe5c706)
2022-01-06 00:58:30 +01:00
kobewi 0c2e919567
Fix TabContainer not setting layout immediately
(cherry picked from commit a7a41a3431)
2022-01-06 00:58:30 +01:00
Kodi febc1aa7d2
add missing emit_changed() to set update mode function
(cherry picked from commit 51db86d789)
2022-01-06 00:58:30 +01:00
Raul Santos b096c4b05f
Fix `KeyValuePairAt` memory leak
(cherry picked from commit 1fdfc379b6)
2022-01-06 00:58:30 +01:00
Omar El Sheikh 6b0b5d2093
Fix Blend Shapes when Octahedral Compression is Used
Blend shapes did not take into account octahedral compressed vertex
attribute layouts and this resulted in incorrect lighting on the
resulting blended mesh

Now make the blend_shapes shader octahedral compression aware!

(cherry picked from commit 50ed674ec2)
2022-01-06 00:58:29 +01:00
belzecue 3adc308254
Update CharFXTransform: explain "relative index"/"absolute index" (previously identical)
Confusingly, these two properties had identical descriptions even though they measure different things.

"relative_index" measures character count from the custom effect's bbcode opening tag.
"absolute_index" measures character count from the start of the bbcode text that includes the custom effect.

See the code author's own explanation here: https://github.com/godotengine/godot/pull/23658

NOTE: Doco for CharFXTransform.xml has changed significantly in 4.0, where terminology has changed to "glyph".  Therefore, proposing this change for 3.x branch only.
(cherry picked from commit 89cebd79e8)
2022-01-06 00:58:29 +01:00
snailrhymer 94ef24dd88
Fix descriptions of set_cell and set_cellv in TileMap.xml
Swap the first lines of the descriptions for set_cell and set_cellv to correctly describe which accepts x and y as separate arguments and which accepts a Vector2.

Fix not relevant to master branch due to changes to TileMap.

(cherry picked from commit 73f4531c97)
2022-01-06 00:58:29 +01:00
Bastiaan Olij 150eb3533b
Fix issue with external textures being freed by Godot
(cherry picked from commit 5fbc24f3e0)
2022-01-06 00:58:29 +01:00
kleonc a5d7d6ff29
EditorAtlasPacker Fix incorrectly deducing zero height in some cases
(cherry picked from commit 46eebf11ca)
2022-01-06 00:58:29 +01:00
Hugo Locurcio 08256e0e16
Improve the CanvasItem class documentation
(cherry picked from commit ccd8cdc363)
2022-01-06 00:58:29 +01:00
Nick Swoboda 56e06648ab
Improve error messages related to failing to open files
(cherry picked from commit bf8f763524)
2022-01-06 00:58:22 +01:00
Rémi Verschelde b4d7d87666
Bump version to 3.4.3-rc 2021-12-22 13:12:53 +01:00
Rémi Verschelde 45eaa2daf1
Bump version to 3.4.2-stable 2021-12-21 12:57:28 +01:00
Rémi Verschelde 8ac75669c1
Add changelog for Godot 3.4.2 2021-12-21 12:56:18 +01:00
Rémi Verschelde eb4816ee13
i18n: Sync classref translations with Weblate 2021-12-21 12:23:51 +01:00
Rémi Verschelde dbfe36728e
i18n: Remove line numbers from classref PO files
It's useful context for translators but it generates very spammy diffs whenever
a line is added or removed, changing the comments for hundreds or thousands of
msgids needlessly.

We still have the file names so it's relatively easy to search in file to find
the location of the source string.
2021-12-21 12:23:45 +01:00
Rémi Verschelde 0fe94ee6e5
i18n: Sync editor translations with Weblate 2021-12-21 12:23:20 +01:00
Marcel Admiraal fbf32c1ea2
Revert "[3.x] Fixed event spam when using the Nintendo Switch controller"
(cherry picked from commit 9f250e8370)
2021-12-21 12:23:20 +01:00
Zae d55deabae7
[3.x]Fix BaseButton's localization for tooltip text with shortcut
(cherry picked from commit 23aaf78391)
2021-12-21 12:23:20 +01:00
Fabio Alessandrelli 3dd3f2211b
Bump mbedtls to 2.16.12
Remove upstreamed patches.
Re-apply padlock and uwp patches.

NOTE: We could replace our padloack patch with mbedtls 3452.
(cherry picked from commit 36d316876b)
2021-12-21 12:23:19 +01:00
Raul Santos 9520c6b953
Check a csproj exists before trying to edit it
When folders are moved/removed from the file system, the `.csproj`
may need to be edited to update the path of C# scripts or remove them.
If a C# solution has not been created, the `.csproj` file does not exist
and therefore there is no need to edit it.

(cherry picked from commit cf98ff248a)
2021-12-21 12:23:19 +01:00
Bastiaan Olij b47fa3f348
Fix size issue for ARVR managed viewport
(cherry picked from commit 4e4de3430e)
2021-12-21 12:23:19 +01:00
Lucas Ângelo 29dcb7a0d2
Trunc shader function fixed
the 'trunc' function was comparing integers with floats using the '>' operator, which is not supported in Android. This issue is now gone.

(cherry picked from commit 9f68b4fea3)
2021-12-21 12:23:19 +01:00
Rémi Verschelde 786c2ed7fa
Merge pull request #56122 from bruvzg/macos_gl_off_ctx34 2021-12-21 12:15:09 +01:00
bruvzg 8d83e58b37
[macOS] Fix OpenGL flickering.
Remove kCGLCEMPEngine, which is causing flicker.
Disable window redraw during resize, when rendering in the separate thread.
2021-12-21 11:23:00 +02:00
Rémi Verschelde f28771b7a8
Bump version to 3.4.2-rc 2021-12-17 23:14:50 +01:00
Rémi Verschelde 0a87e218e3
Bump version to 3.4.1-stable 2021-12-17 11:09:41 +01:00
Rémi Verschelde aa1b958894
Update AUTHORS and DONORS list
New contributors added to AUTHORS:
Gallilus, Listwon, zaevi

Thanks to all contributors and donors for making Godot possible!

(cherry picked from commit 58712e96ae)
2021-12-17 10:38:52 +01:00
Rémi Verschelde 7ca4270c1b
Add changelog for Godot 3.4.1 2021-12-17 00:20:42 +01:00
Rémi Verschelde 60c0e8299d
Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@265b43b789.

(cherry picked from commit ed395c6b99)
2021-12-17 00:15:03 +01:00
Sam Lantinga 31f5b20d0f
Fixed detecting the Valve Streaming Gamepad
Fixed the GUID, and compare the contents of the GUID, not just the pointers

(cherry picked from commit 8df0baf6f5)
2021-12-17 00:05:21 +01:00