Dario
29bcc51734
Add half-pixel offset to lightmapper rasterization.
...
Add half-pixel offset to lightmapper to fix issues where the ray would be generated from the wrong spot corresponding to the pixel and causing light leaks. Fixes Issue #69126 .
(cherry picked from commit ddc3126bbf
)
2023-09-21 14:57:13 +02:00
Danil Alexeev
102f93b8b8
GDScript: Fix conflict between property and group names
...
(cherry picked from commit bf8f996212
)
2023-09-21 14:09:19 +02:00
Rémi Verschelde
269b115d9c
SCons: Disable C++ exception handling
...
Upon investigating the extremely slow MSVC build times in #80513 , I noticed
that while Godot policy is to never use exceptions, we weren't enforcing it
with compiler flags, and thus still included exception handling code and
stack unwinding.
This is wasteful on multiple aspects:
- Binary size: Around 20% binary size reduction with exceptions disabled
for both MSVC and GCC binaries.
- Compile time:
* More than 50% build time reduction with MSVC.
* 10% to 25% build time reduction with GCC + LTO.
- Performance: Possibly, needs to be benchmarked.
Since users may want to re-enable exceptions in their own thirdparty code
or the libraries they compile with Godot, this behavior can be toggled with
the `disable_exceptions` SCons option, which defaults to true.
(cherry picked from commit 3907e53ff6
)
2023-09-20 22:44:05 +02:00
Rémi Verschelde
8be838481d
Allow unbundling OpenXR (for Linux distros)
...
Copy XrMatrix4x4f_CreateProjectionFov to our OpenXRUtil, instead of relying
on a private header.
(cherry picked from commit 34a07b81ae
)
2023-09-20 22:44:05 +02:00
William Edwards
9332a2b387
Fix dumping of signal API parameters
...
(cherry picked from commit 188132884d
)
2023-09-20 22:44:04 +02:00
clayjohn
2c9901af36
Remove GPU readback from NoiseTexture3D.get_format
...
(cherry picked from commit 60d5571d6c
)
2023-09-20 22:44:04 +02:00
Lyuma
6fa4270d71
Use image index instead of texture index for source_images
...
(cherry picked from commit f67b6c158c
)
2023-09-20 22:44:04 +02:00
A Thousand Ships
d5c246bbd3
Ensure OpenXR classes are declared properly
...
Co-authored-by: Bastiaan Olij <mux213@gmail.com>
(cherry picked from commit c23bd8b143
)
2023-09-20 22:44:03 +02:00
Septian
5360058d1c
Fix documentation for consistency
...
(cherry picked from commit 377cbaba43
)
2023-08-31 20:19:31 +02:00
Geoffroy Warin
da5cf99a34
Add missing useModelFront parameter to GodotSharp Basis and Transform
...
To LookAt methods.
Also adds Vector3 Model constants.
These were not added after #76082 was merged.
(cherry picked from commit 6c6e5c482c
)
2023-08-31 20:19:30 +02:00
Matt Diener
88f5f815e6
C# Fix deserialization of delegates that are 0-parameter overloads
...
Co-authored-by: Raul Santos <raulsntos@gmail.com>
(cherry picked from commit 783facf60b
)
2023-08-31 20:19:30 +02:00
smix8
663f45ba4e
Add more hints to navigation map cell size errors
...
Adds more hints to navigation map cell size errors.
(cherry picked from commit 90e2d9fa7e
)
2023-08-31 20:19:30 +02:00
Bastiaan Olij
ed9216d1d8
Fix issue with accessing hand tracking without timing info
...
(cherry picked from commit 72bd997fe8
)
2023-08-31 20:19:30 +02:00
George Marques
01511caaf1
GDScript: Properly track extents of constants and patterns
...
Even in the case of errors.
(cherry picked from commit cbfe2b61b6
)
2023-08-31 19:48:16 +02:00
Rémi Verschelde
fc63a8d349
libpng: Enable intrinsics on x86/SSE2, ppc64/VSX, and all arm/NEON
...
(cherry picked from commit 2c9b7fc7a8
)
2023-08-31 19:26:49 +02:00
bruvzg
9ed12c884a
FreeType: Update to version 2.13.1
...
(cherry picked from commit 008d3de1e9
)
2023-08-31 19:26:48 +02:00
Yuri Sizov
6884be6b17
Bump version to 4.1.2-rc
2023-07-17 15:36:23 +02:00
Rémi Verschelde
29b4ee3d97
Change explicit 'Godot 4.0' references to 'Godot 4'
...
Fixes #79276 .
(cherry picked from commit 8a06ec979e
)
2023-07-10 18:09:58 +02:00
smix8
0d51fec22b
Fix closest possible navigation path position
...
Fixes closest possible navigation path position.
(cherry picked from commit e5c24f7118
)
2023-07-10 18:09:57 +02:00
RedworkDE
3f334cb144
C#: Fix command line exporting
...
(cherry picked from commit f3f3365abd
)
2023-07-10 17:46:09 +02:00
Ivan Shakhov
c9b1d99cae
Update the RiderPathLocator to support the JetBrains Toolbox 2.0
...
(cherry picked from commit bf3af9fd48
)
2023-07-10 17:46:08 +02:00
RedworkDE
69948f7489
C#: Add null check before calling `UnregisterGodotObject`
...
(cherry picked from commit 693e6e036b
)
2023-07-10 17:26:14 +02:00
ocean (they/them)
a0366f1cea
Fix regression with enum descriptions now showing up in documentation.
...
(cherry picked from commit d48636c3bf
)
2023-07-10 17:26:14 +02:00
Raul Santos
80105226c2
C#: Compare symbol names without null flow state
...
(cherry picked from commit 671a5b4ea5
)
2023-07-10 17:26:13 +02:00
RedworkDE
ce5c6151fc
C#: Automatically generate version defines
...
(cherry picked from commit fe7c27b086
)
2023-07-05 22:16:02 +02:00
Rémi Verschelde
529a55bab2
Bump version to 4.1.1-rc
2023-07-05 22:14:15 +02:00
Ignacio Roldán Etcheverry
22aad32c69
C#: Fix NodePaths completion error for not calling from main thread
...
The node API we use for code completion changed and no longer allows
being called from threads other than the main one.
2023-07-02 03:48:15 +02:00
Rémi Verschelde
d0c1dd16ee
Revert "Update RVO2 to git 2022.09"
...
This reverts commit c920881105
.
Fixes #78826 .
2023-06-29 12:50:49 +02:00
RedworkDE
60b9eb169e
C# Fix reloading of non-tool scripts
2023-06-28 11:46:43 +02:00
Rémi Verschelde
5e2f03fc99
Merge pull request #78711 from groud/explain_rpc
...
Explain a bit more RPCs options
2023-06-27 23:01:24 +02:00
Gilles Roudière
538c4b62b7
Explain a bit more RPCs options
2023-06-27 11:25:15 +02:00
Rémi Verschelde
8321e0355e
mbedtls: Improve X509 certificate load error handling
...
Positive numbers shouldn't be treated as a hard failure:
> For CRTs in PEM encoding, the function parses permissively:
> if at least one certificate can be parsed, the function
> returns the number of certificates for which parsing failed
> (hence \c 0 if all certificates were parsed successfully).
> If no certificate could be parsed, the function returns
> the first (negative) error encountered during parsing.
Fixes #77994 .
2023-06-26 19:17:17 +02:00
Rémi Verschelde
3aaa787094
Merge pull request #78709 from Faless/mp/4.x_fix_delta_again
...
[MP] Fix delta variables index decoding.
2023-06-26 14:57:12 +02:00
Fabio Alessandrelli
91004df875
[MP] Fix delta variables index decoding.
2023-06-26 12:33:30 +02:00
smix8
4ae5dcca45
Fix NavObjects map assignments
...
Fixes NavObject map assignments.
2023-06-25 12:22:42 +02:00
Rémi Verschelde
731df52084
Merge pull request #77532 from dsnopek/text_server_adv_gdextension
...
Fix text_server_adv compiling as a GDExtension
2023-06-23 17:23:29 +02:00
Rémi Verschelde
fa7f8e34f2
Merge pull request #78135 from BastiaanOlij/fix_openxr_passthrough
...
Fix OpenXR Passthrough mode
2023-06-23 11:59:16 +02:00
Ninni Pipping
982ca52e4c
Fix `MultiplayerSpawner` documentation
2023-06-23 10:26:33 +02:00
Fabio Alessandrelli
2d19cec174
Merge pull request #78409 from AThousandShips/spawn_func_fix
...
Do not serialize `MultiplayerSpawner.spawn_function`
2023-06-23 10:13:11 +02:00
Rémi Verschelde
fee49f4f9d
Merge pull request #78596 from smix8/navmes_old_poly_clear_4.x
...
Fix NavigationMesh not clearing old polygons
2023-06-23 08:49:06 +02:00
Rémi Verschelde
1d41ce76ca
Merge pull request #78550 from BastiaanOlij/fix_openxr_depth_buffer
...
Fix incorrect depth buffer option in OpenXR
2023-06-23 08:47:32 +02:00
smix8
ea96f5259f
Fix NavigationMesh not clearing old polygons
...
Fixes NavigationMesh not clearing old polygons.
2023-06-23 02:53:09 +02:00
Rémi Verschelde
f9fc77bbe4
Merge pull request #77545 from aaronfranke/gltf-no-skeleton
...
Fix exporting MeshInstances without a Skeleton in the GLTF module
2023-06-23 00:10:00 +02:00
Rémi Verschelde
af16013905
Merge pull request #78571 from MewPurPur/include-extension-info
...
Document file extensions of GDScript, CSharpScript, and Shader
2023-06-22 18:32:25 +02:00
MewPurPur
8848c395b6
Add information about file extension to GDScript, CSharpScript, and Shader
2023-06-22 18:56:08 +02:00
Rémi Verschelde
18bc912bc0
Merge pull request #78543 from 3dnikita/fix-svg-in-ot-tag-closing
...
Fix SVG tag closing for OT font glyphs
2023-06-22 18:31:14 +02:00
Ninni Pipping
9159208ed1
Ensure `RID`, `Callable`, and `Signal` are stored as strings
...
Prevents parser errors in `.tscn` and `.tres` files where the assignment
would otherwise be empty.
2023-06-22 17:01:08 +02:00
3dnikita
1247c9e64f
Fix SVG tag closing for OT font glyphs
...
Prevent ThorVG "Failed to create SVG canvas" errors
by self-closing empty SVG tags in OpenType fonts,
so the glyphs are renderred correctly in Controls.
Fixes #78374
2023-06-22 17:50:24 +03:00
Yuri Sizov
e74bf831c2
Merge pull request #78549 from dalexeev/gds-fix-prop-list-name-check
...
GDScript: Remove unnecessary name check in `_get_property_list()`
2023-06-22 12:51:03 +02:00
Yuri Sizov
57e61db115
Merge pull request #75533 from RedworkDE/net-no-reload-noncollectible
...
C#: Fix editor integration breaking and causing error spam when reloading assemblies fails
2023-06-22 12:45:02 +02:00