Commit graph

10442 commits

Author SHA1 Message Date
Rémi Verschelde
8c474ddd49
Merge pull request #90710 from m4gr3d/fix_jstring_leaks
Fix leakage of JNI object references
2024-04-22 12:52:16 +02:00
Rémi Verschelde
bffaa98b13
Merge pull request #90645 from Malcolmnixon/unified-xr-trackers
Rework XR Trackers to have a common ancestor
2024-04-22 12:52:07 +02:00
Rémi Verschelde
1a6e4ce906
Merge pull request #90002 from raulsntos/dotnet/expose-property-accessors
C#: Make internal properties and property accessors public (but hidden)
2024-04-22 12:51:42 +02:00
Rémi Verschelde
fba6803486
Merge pull request #90876 from smix8/source_geometry_callback
Add navigation mesh source geometry parsers and callbacks
2024-04-19 16:28:30 +02:00
Rémi Verschelde
81f08c396c
Merge pull request #90837 from paulloz/dotnet/callable-deserialization-order
Change order of operation for C# types reloading
2024-04-19 16:27:49 +02:00
Rémi Verschelde
931f878390
Merge pull request #88899 from AThousandShips/gdscript_clean
[GDScript] Clean up some unused code
2024-04-19 16:26:58 +02:00
smix8
58593d1bb7 Add navigation source geometry parser callbacks
Adds navigation source geometry parser callbacks so that externals can hook their own geometry into the navigation mesh baking process.
2024-04-19 12:10:57 +02:00
Malcolm Nixon
823ae7b3fa Rework XR Trackers to have a common ancestor. Allow creation of XRNode3D to drive node positions and visibility. 2024-04-18 20:04:01 -04:00
Rémi Verschelde
2efbc6bfb3
Merge pull request #90848 from BlueCube3310/lightmapper-dir-seam-fix
LightmapGI: Fix seam blending with directional lightmaps
2024-04-18 15:17:21 +02:00
Rémi Verschelde
978d206f34
Merge pull request #90794 from vnen/gdscript-no-unused-constant-warning-with-underscore
GDScript: Suppress unused constant warning with underscore
2024-04-18 15:17:13 +02:00
George Marques
a3b3a20ac0
GDScript: Suppress unused constant warning with underscore
The warning message mentions that local constants prefixed with `_` does
not generate the warning. This commit actually implements this warning
suppression.
2024-04-18 09:58:23 -03:00
BlueCube3310
f1b758022a LightmapGI: Fix seam blending with directional lightmaps 2024-04-18 14:21:29 +02:00
Rémi Verschelde
c295f18955
Merge pull request #90789 from lyuma/fix_skeleton_root
Fix FBX and glTF when root nodes are skeleton bones
2024-04-18 12:24:47 +02:00
Rémi Verschelde
d06cb2e57d
Merge pull request #90761 from dsnopek/openxr-composition-layers-experimental
Mark `OpenXRCompositionLayer` and its children as experimental
2024-04-18 12:24:40 +02:00
Paul Joannon
1627287586
Change order of operation for C# types reloading
We now deserialize callables before reloading property states, in case a property is doing anything with the callable in its getter and/or setter.
2024-04-18 09:38:58 +02:00
Lyuma
d3706488d9 Fix FBX and glTF when root nodes are skeleton bones
Set p_scene_parent to the skeleton to guarantee BoneAttachment3D nodes are added as a child of the active skeleton.
Use get_owner() to go all the way up when calculating the root node in generate_scene
2024-04-17 22:10:05 -07:00
Rémi Verschelde
36bdab4ddd
Merge pull request #90759 from dsnopek/openxr-hand-revert
Revert `OpenXRHand` to its pre-`SkeletonModifier3D` state
2024-04-17 10:59:10 +02:00
David Snopek
a094ff377d Mark OpenXRCompositionLayer and its children as experimental 2024-04-16 11:02:44 -05:00
David Snopek
dfca388d75 Revert OpenXRHand to its pre-SkeletonModifier3D state 2024-04-16 10:36:43 -05:00
George Marques
f9048fcd7d
GDScript: Warn when enum variable has no default
The default will always be set to `0`, so if it's not a valid value in
the enum, the warning is shown.
2024-04-16 11:46:59 -03:00
A Thousand Ships
c070c12ddd
[GDScript] Clean up some unused code 2024-04-16 15:59:38 +02:00
Aaron Franke
77e35cf781
Move NavigationMeshSourceGeometryData(2D/3D) to the 2D/3D subfolders 2024-04-15 18:40:43 -07:00
Fredia Huya-Kouadio
f291a4ed3a Fix leakage of JNI object references
Fixes https://github.com/godotengine/godot/issues/87548
2024-04-15 10:30:18 -07:00
Rémi Verschelde
8a3195ef56
Merge pull request #90678 from raulsntos/dotnet/StringExtensions.Match
C#: Fix ExprMatch for case sensitive matching
2024-04-15 18:14:45 +02:00
Rémi Verschelde
684e7aa37a
Merge pull request #89472 from dalexeev/gds-fix-bin-tokenizer-continuation-lines
GDScript: Fix continuation lines in `GDScriptTokenizerBuffer`
2024-04-15 18:14:38 +02:00
Raul Santos
509d4f5302
C#: Fix ExprMatch for case sensitive matching
We were accidentally stopping the recursion when matching in the case sensitive scenario.

Took the opportunity to also rename the private method to follow the Core method naming more closely so it's easier to compare the implementations in the future.

Also, the private method now uses `ReadOnlySpan<char>` to avoid allocating strings on each recursion.
2024-04-15 03:15:28 +02:00
Rémi Verschelde
d00734053f
Merge pull request #90635 from bqqbarbhg/texture-path-fix
Fix FBX texture path resolving
2024-04-14 14:39:17 +02:00
Rémi Verschelde
122054cf7a
Merge pull request #90573 from timothyqiu/svg-image
Fix error when loading SVG imported as Image
2024-04-14 14:39:11 +02:00
bqqbarbhg
2a757e4897 Fix FBX texture path resolving 2024-04-13 20:28:12 +03:00
Rémi Verschelde
3a57f10dd5
Merge pull request #90602 from smix8/bsfmod
Use fmod for navigation mesh border size warning
2024-04-13 11:30:47 +02:00
Rémi Verschelde
c9a595afb5
Merge pull request #90580 from vnen/gdscript-allow-enum-to-int-cast
GDScript: Allow casting enum to int
2024-04-13 11:30:34 +02:00
Rémi Verschelde
8e1b50045a
Merge pull request #90554 from bqqbarbhg/fbx-color-fixes
FBX: Fix material colors
2024-04-13 11:30:31 +02:00
smix8
8a0f1f1995 Use fmod for navigation mesh border size warning
Uses fmod for checking that navigation mesh border size matches the cell size as a multiple of cell size is also valid.
2024-04-13 03:39:53 +02:00
bqqbarbhg
659597b290 Enable FBX albedo factor when textures are bound 2024-04-13 03:12:03 +03:00
George Marques
030995c10d
GDScript: Allow casting enum to int
An enum value is always an integer so the cast is valid. The code here
now consider this case to avoid giving an error message.
2024-04-12 11:49:21 -03:00
Haoyu Qiu
66a3a944e2 Fix error when loading SVG imported as Image 2024-04-12 18:01:58 +08:00
Rémi Verschelde
4a4d6df04e
Merge pull request #90508 from smix8/thread_bake
Use threads for baking navigation mesh inside editor
2024-04-12 11:16:50 +02:00
Rémi Verschelde
fcca9b330d
Merge pull request #90434 from smix8/path_simplify
Add navigation path simplification
2024-04-12 11:16:47 +02:00
Rémi Verschelde
da0e993959
Merge pull request #90373 from bitwise-aiden/ba-fix-mutliline-match
Fix multiline array/dictionary match statements
2024-04-12 11:16:44 +02:00
Rémi Verschelde
42ab525aa2
Merge pull request #86144 from jsjtxietian/disable-mesh-compression-for-2d
Disable mesh compression if vertex `position.z` is always 0
2024-04-12 11:16:33 +02:00
Aiden Storey
74177d79c9
Fix multiline array/dictionary match statements
Currently array and dictionary expressions cannot be spread over
multiple lines in match statements.

Adding mutliline push/pop while parsing the pattern for bracket and
brace enables the ability for these to be multiline. This enables more
complex patterns to be matched without exceeding line limits.

Fixes #90372
2024-04-12 10:59:28 +02:00
bqqbarbhg
5e52db5c93 Fix FBX orthographic camera size 2024-04-12 04:02:50 +03:00
bqqbarbhg
d238b0ef57 Fix FBX emission_texture copy-paste issue 2024-04-12 03:52:57 +03:00
bqqbarbhg
a998f0a482 Convert FBX material colors from linear to sRGB 2024-04-12 03:52:46 +03:00
smix8
1c134f4a3d Add navigation path simplification
Adds navigation path simplification for NavigationServer and NavigationAgent.
2024-04-11 12:32:21 +02:00
Rémi Verschelde
2e5d2333b7
Merge pull request #90505 from aaronp64/gltfdocument_crash
Fix `GLTFDocument.append_from_scene` crash on null node
2024-04-11 11:02:57 +02:00
Rémi Verschelde
e911fcda1b
Merge pull request #90503 from rburing/gridmap_has_it_rough
GridMap: Fix `physics_material` property
2024-04-11 11:02:50 +02:00
Rémi Verschelde
58f8a227b9
Merge pull request #90482 from Faless/mbedtls/3.6.0-tls
mbedTLS: Update to new LTS v3.6.0
2024-04-11 11:02:46 +02:00
Rémi Verschelde
b70450871e
Merge pull request #89124 from wheatear-dev/test-json-rpc
Add unit tests for JSONRPC
2024-04-11 11:02:34 +02:00
smix8
2bc2b52bd1 Use threads for baking navigation mesh inside editor
Enables threaded navigation mesh baking inside the editor.
2024-04-11 03:53:26 +02:00