Commit Graph

4568 Commits

Author SHA1 Message Date
Aaron Franke 60d34604d5 [3.x] Fix Translated method in C# affecting the original transform
(cherry picked from commit 4d6c609e50)
2022-08-01 10:54:44 +02:00
bruvzg 3151ebbd68 [macOS, Mono] Fix "Wdeprecated-declarations" build error.
(cherry picked from commit 5d54c015b2)
2022-08-01 10:53:18 +02:00
Fabio Alessandrelli 956ab70733 Bump mbedTLS version to 2.28.0 (new LTS).
Keep applying the windows entropy patch (UWP support).
Remove no longer needed padlock patch.
Update thirdparty README to reflect changes, and new source inclusion
criteria.

(cherry picked from commit e375cbd094)
2022-07-18 15:39:43 +02:00
janglee e0fe0c3d82 GDScript: Fix autocompletetion showing class names with an underscore
Fixes #35469.

(cherry picked from commit 00c6cdd793)
2022-07-07 14:16:17 +02:00
César Izurieta aad1c39098 Fix gltf texture filename decoding
(cherry picked from commit f66200ed3c)
2022-07-07 14:13:09 +02:00
31 8cb4593eed C#: Fix debugger options missing from Project Settings
(cherry picked from commit 826415ad2f)
2022-07-07 14:09:21 +02:00
dzil123 b0822d4054 fix gridmap cursor showing the wrong mesh
(cherry picked from commit 726614ff4b)
2022-07-07 14:07:05 +02:00
Rémi Verschelde 0328664bb5 Mono: Update Newtonsoft.Json to 13.0.1
See https://github.com/advisories/GHSA-5crp-9r3c-p9vr

(cherry picked from commit 870c02143b)
2022-06-24 11:19:38 +02:00
Haoyu Qiu dda6066c33 Improve documentation of `rand_range`
(cherry picked from commit 84cc0c9c47)
2022-06-19 14:11:10 +02:00
Rémi Verschelde afe8492241 Fix typos with codespell
Using codespell 2.2-dev from current git.

Fix a couple incorrect uses of gendered pronouns.
2022-06-19 14:06:55 +02:00
Ricardo Buring f7930560c3 SpaceBullet::recover_from_penetration: skip compound shapes without child shapes
Before, this case would incorrectly get caught as an error, causing an
early return, in particular skipping other possibly relevant shapes.

(cherry picked from commit 887a5cd4f9)
2022-05-05 15:18:30 +02:00
Hugo Locurcio bfe54e4d44 Document that glTF classes are only usable in editor builds
Run-time glTF saving/loading is only available in Godot 4.0,
not Godot 3.x.

(cherry picked from commit 3a8104289d)
2022-05-05 15:13:11 +02:00
David Cambré 467c2c5d4b Fixes the copy paste issue in the visual script editor.
Moves copy and paste in their own functions so copy_nodes_request and paste_nodes_request are able to work.
Applies paste offset to the last mouse clicked position.

(cherry picked from commit fb7c23f30b)
2022-05-05 15:12:44 +02:00
Nicholas Huelin 12ca7fbfe3 Fix Visual Script's jump to function relative to zoom
When double-clicking on a function name the graph will now correctly jump to the function relative to the zoom ratio.

(cherry picked from commit e8a326a08f)
2022-04-13 12:18:45 +02:00
Ricardo Buring 3850d6db76 BulletPhysicsServer::area_get_space: null check
This is now the same as e.g. body_get_space.

(cherry picked from commit 79317f9cb1)
2022-04-13 12:18:45 +02:00
Raul Santos 3a16557642 Avoid modifying csproj globbing includes on remove
Check if the found globbing include already matches the given path on
removing scripts to avoid modifying users' csproj files.

(cherry picked from commit 3086d7c035)
2022-04-13 12:18:44 +02:00
Haoyu Qiu c594e1c0cc Fix crash when is-operator right-hand-side is null
(cherry picked from commit 871a73341b)
2022-03-13 18:14:53 +01:00
MythTitans 5c64f0d7bf Prevent non-smoothed face normals to participate to smoothed face normals
(cherry picked from commit ec2984f7c7)
2022-03-13 15:35:33 +01:00
MythTitans bd47f7aebb Fix normals computation at the 'seam' of smoothed torus shape
(cherry picked from commit 8bcbaff411)
2022-03-13 15:34:19 +01:00
hoontee 4594c96dae Revert #52647
(cherry picked from commit 9c312c486c)
2022-03-13 15:32:01 +01:00
MythTitans 5bd75bccae Fix normals computation at the 'seam' of smoothed sphere and cylinder shapes
(cherry picked from commit 509e03c821)
2022-03-07 14:39:30 +01:00
jfons 5b5b52ce1e Add sanity checks to lightmap unwrap texel size
(cherry picked from commit d0fd5fd3c7)
2022-02-24 13:31:59 +01:00
Rémi Verschelde 3b294aff20 Revert "Fix selection of CSG objects"
This reverts commit d445c14595.
2022-02-21 10:45:56 +01:00
Haoyu Qiu 9b161542dc
Fix VisualScript crash when using Set Index node
(cherry picked from commit 1262d331c0)
2022-02-17 10:42:04 +01:00
Haoyu Qiu 4ad179b75d
Fix GridMap memory leak
(cherry picked from commit 5d4a141c97)
2022-02-17 10:34:16 +01:00
Densorius fd850ace8a
Fixed opening new instances of VS 2022 while a instance is already open
(cherry picked from commit 93e2d0446f)
2022-02-17 10:32:00 +01:00
Densorius a357557282
Add Visual Studio 2022 support with fallback to 2019
(cherry picked from commit 9ea0508d35)
2022-02-17 10:31:41 +01:00
Hugo Locurcio 9766486aaf
Document performance limitations with CSG nodes, link to tutorial
(cherry picked from commit 1b505ef8ca)
2022-02-17 10:23:44 +01:00
Raul Santos e9f93155c6
Attach mono thread before getting nativeName field
In order to access the `nativeName` constant field from a C# class, the
mono scope thread must be attached or the mono domain will be null.

(cherry picked from commit eddb99b9be)
2022-02-17 10:23:15 +01:00
Ignacio Roldán Etcheverry 6d5f8cd3ca
Mono/C#: Fix Android AAB export failing to load native libs
By default, when installing from Android App Bundles the native
libraries are not extracted. They are loaded directly from the APK.
See: https://stackoverflow.com/a/56551499

Passing only the file name to dlopen, without the location, makes it
search the native library in all locations, including inside the apk.

(cherry picked from commit c7f716e2ea)
2022-01-31 20:39:31 +01:00
Rémi Verschelde 2665fc1439
stb_vorbis: Add clearer error messages when failing to import OGG file
Fixes #56895.

(cherry picked from commit 8109902492)
2022-01-31 20:38:01 +01:00
Max Hilbrunner a59bf9a3b2
Fix GDNative docs links
(cherry picked from commit 6cecb2210e)
2022-01-25 18:49:37 +01:00
Hugo Locurcio c6ed1ef342
Improve CSGPolygon3D documentation
- Describe why polygon triangulation usually fails in the error message.

(cherry picked from commit 1e1fb145b3)
2022-01-25 18:48:30 +01:00
Raul Santos 51bcfd53b4
Fix marshaling values of generic Godot Dictionary
(cherry picked from commit e4c40efeab)
2022-01-25 18:42:08 +01:00
Rémi Verschelde 0e0ccc4adf
ImageLoader: Remove references to unsupported svgz extension
I don't see any reference to gzip/svgz supported in the nanosvg library,
and the handful of test gzip compressed svgz files I tried failed loading.

Also cleaning a couple missing includes in platform export code.

(cherry picked from commit 1ee44b2366)
2022-01-25 18:41:01 +01:00
Ignacio Roldán Etcheverry cd016ea0b1
C#: Allow configuring Mono debugger agent with cmdline args
The command line option is the same you would pass to Mono, but it
begins with `--mono-debugger-agent=` instead of `--debugger-agent=`.

This is useful for platforms where it's difficult for the user to
configure it via environment variables, like Android.

(cherry picked from commit 3b085e2665)
2022-01-25 18:40:19 +01:00
Haoyu Qiu d1c6673631
Fix crash when `is` keyword is tested against a String variable
(cherry picked from commit 8a42ab7a85)
2022-01-25 18:39:49 +01:00
GlyphTheWolf a47188f2ce
Fix for RegEx.search() memory leak on Windows
(cherry picked from commit 6556442d46)
2022-01-25 18:39:31 +01:00
Rémi Verschelde 71066cd63b
Update copyright statements to 2022
Happy new year to the wonderful Godot community!

(cherry picked from commit a627cdafc5)
2022-01-13 16:00:37 +01:00
Haoyu Qiu cf04c46a5e
Clear pending function states when reloading GDScript
(cherry picked from commit 53af7ee482)
2022-01-12 16:48:25 +01:00
K. S. Ernest (iFire) Lee 02c596a82c
Fix wrong RGBA channel mapping when saving OpenEXR.
(cherry picked from commit 08b89a95d2)
2022-01-12 16:44:54 +01:00
Arnav Vijaywargiya 596bf6bdaa
Fixed incorrect property types
(cherry picked from commit 0c46f73b5e)
2022-01-12 16:34:07 +01:00
K. S. Ernest (iFire) Lee 4fd6f6ece7
Skip Draco-compressed glTF 3d format files.
(cherry picked from commit b468104842)
2022-01-12 16:28:55 +01:00
Haoyu Qiu 68e590e1fb
Fix crash on importing FBX file
(cherry picked from commit af67e4c291)
2022-01-12 16:28:53 +01:00
SaracenOne d445c14595
Fix selection of CSG objects
(cherry picked from commit b7273b6f7a)
2022-01-12 16:17:05 +01:00
Rémi Verschelde 2e8fdd0112
Fix typos with codespell
Using codespell 2.1.0.

Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
GIRD
leapyear
lod
merchantibility
nd
numer
ois
ony
que
readded
seeked
statics
synching
te
uint
unselect
webp
EOF

$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```

(cherry picked from commit b197de6f5f)
2022-01-07 00:17:47 +01:00
bruvzg cb6d82a111
Fix multiple missing UTF-8 decoding.
(cherry picked from commit c69e0d16bc)
2022-01-06 21:30:41 +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 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
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