1dbecc3ff1
Add C# compat members for 4.2 changes
2023-10-03 19:34:39 +02:00
3a5d524287
Merge pull request #82614 from m4gr3d/openxr_eye_gaze_interaction
...
Add support for the OpenXR Eye gaze interaction extension
2023-10-03 17:25:52 +02:00
e41582f42f
Merge pull request #82547 from dalexeev/gds-fix-unsafe-call-arg-variant-constructors
...
GDScript: Fix `UNSAFE_CALL_ARGUMENT` warning for `Variant` constructors
2023-10-03 17:25:28 +02:00
2af3229ce7
Merge pull request #82516 from dalexeev/gds-improve-hl-types
...
GDScript: Improve highlighting of types
2023-10-03 17:24:32 +02:00
9af1983af2
Merge pull request #82475 from bruvzg/ts_spacing_var
...
[TextServer] Store font extra spacing variations without making a full copy of font.
2023-10-03 17:23:43 +02:00
6de06138c0
Merge pull request #79425 from vnen/gdscript-load-classes-for-debug-tests
...
GDScript: Load global classes when running debug tests
2023-10-03 17:11:01 +02:00
e750c59cf8
GDScript: Improve highlighting of types
2023-10-03 17:32:27 +03:00
9e56e7a3ce
Add support for the OpenXR Eye gaze interaction extension
...
Co-authored-by: Bastiaan Olij <mux213@gmail.com >
2023-10-02 14:02:23 -07:00
74c937079c
Add type_string() utility
2023-10-02 17:41:20 +02:00
6bebd9c961
Merge pull request #82664 from hackerzhuli/master
...
Fixed an error in `Vector3.BezierDerivative` in mono module
2023-10-02 13:17:02 +02:00
3cf17679ca
Merge pull request #81194 from rcorre/blend-import-76338
...
Update blender export flags for 3.6.
2023-10-02 13:16:11 +02:00
e95b7e84a4
Merge pull request #80844 from dalexeev/fix-callable-expected-argc
...
Fix expected argument count for `Callable` call errors
2023-10-02 13:15:53 +02:00
7588e3ff0d
Merge pull request #80225 from ettiSurreal/rotate-toward
...
Add `rotate_toward` and `angle_difference` methods.
2023-10-02 13:15:49 +02:00
bceba81b54
Fixed an error in Vector3.BezierDerivative in mono module
2023-10-02 15:00:05 +08:00
3a39de4e2f
Add rotate_toward and angle_difference to GDScript and C#
2023-10-01 22:19:42 +02:00
36ff0591f2
Add build option for MP1/MP2 audio format support.
...
Enabling this adds 3.5k to the template size (Win/64bits).
Co-authored-by: Riteo <riteo@posteo.net >
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com >
2023-09-30 21:46:59 +02:00
7e64c6c399
Update blender export flags for 3.6.
...
Fixes #76338 .
Blender 3.6 imports fail with:
```
TypeError: Converting py args to operator properties: : keyword "export_nla_strips" unrecognized
```
The `export_nla_strips` flag was removed and replaced with `export_animation_mode`.
In 3.6.0-3.6.21, this option does not exist at all and causes the failure above.
In 3.6.22, this option was re-added, but does nothing.
See 96a73cb664 .
We now need to check the blender version to determine what flags to use.
This adds an additional shell command before every import.
We might consider caching the version, but we'd have to invalidate the cache if the blender version or path changes.
As an aside, the "group animations" setting in Godot does the opposite of what I'd expect.
When `group_tracks=true`, each animation is exported individually.
When `group_tracks=false`, all animations are exported as a single track.
This seems backwards, but I've kept the 3.6 behavior consistent with 3.5.
From https://docs.blender.org/api/3.6/bpy.ops.export_scene.html :
> ACTIONS Actions – Export actions (actives and on NLA tracks) as separate animations.
> ACTIVE_ACTIONS Active actions merged – All the currently assigned actions become one glTF animation.
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com >
2023-09-30 11:32:21 -04:00
ba96d4f631
GDScript: Fix UNSAFE_CALL_ARGUMENT warning for Variant constructors
2023-09-30 13:57:09 +03:00
2566cbec5c
Merge pull request #82542 from capnm/update_godot4.2_tip_from_0.10.7_revision_to_thorvg_0.11.0_release
...
ThorVG: update to v0.11.0 release.
2023-09-30 11:03:32 +02:00
aab650f2ef
ThorVG: update to v0.11.0 release.
...
See https://github.com/thorvg/thorvg/releases/tag/v0.11.0
+ Infrastructure
Repository folder structure was make it more intuitive and coherent.
"thorvg/src/lib" -> "thorvg/src/common"
(providing essential common functionalities
used internally among the renderer and sub-modules)
"thorvg/src/lib" -> "thorvg/src/renderer"
(for vector drawing features)
+ SVG related
Fix stroke regression https://github.com/thorvg/thorvg/issues/1670
Support stroke dash offset function https://github.com/thorvg/thorvg/issues/1591#issuecomment-1681319321
Support Focal property in Radial Gradient https://github.com/thorvg/thorvg/issues/1558
2023-09-29 19:50:19 +02:00
dd3dda797c
Merge pull request #82533 from DarioSamo/no-dilate-before-denoise
...
Make the lightmapper not dilate before denoising.
2023-09-29 19:47:29 +02:00
aff767ef07
Fix expected argument count for Callable call errors
2023-09-29 20:00:10 +03:00
ac90ca714c
Make the lightmapper not dilate before denoising.
...
Dilating noisy data caused issues for the denoiser. Fixes #82526 .
2023-09-29 12:36:36 -03:00
d6d640f158
Disable lightmapper_rd module in non-editor builds (and in Android editor)
...
This is consistent with `xatlas_unwrap`, which isn't enabled in non-editor
builds and the Android editor either. There is currently no way to
use the lightmapper in a non-editor build anyway, as it doesn't expose
any methods (and even if there was, there would be no way to perform
UV2 unwrapping in the exported project).
This reduces binary size of a stripped Linux x86_64 export template
build by ~164 KB.
This also moves the PrimitiveMesh texel size project setting
so that it's defined when the module is disabled,
and adds a property hint to it.
2023-09-29 11:30:15 +02:00
7bd894ba7a
Fix skeletons when generating multiple Godot scenes from one GLTF
2023-09-28 17:48:33 -05:00
b25f1f9c79
Merge pull request #82477 from dalexeev/gds-covariance-and-contravariance
...
GDScript: Add return type covariance and parameter type contravariance
2023-09-28 20:04:37 +02:00
4c95ebddd6
Merge pull request #82291 from bitsawer/fix_occlusion_culling_leak
...
Fix RaycastOcclusionCull World3D scenario memory leak
2023-09-28 20:04:25 +02:00
78483a1df2
Merge pull request #82186 from dalexeev/gds-fix-property-duplication
...
GDScript: Fix duplication of inherited script properties
2023-09-28 20:04:18 +02:00
73252669b1
Merge pull request #82030 from dalexeev/gds-make-for-loop-array-literal-typed
...
GDScript: Make array literal typed if `for` loop variable type is specified
2023-09-28 20:04:12 +02:00
813cd1dfc8
Merge pull request #80085 from vnen/gdscript-pattern-guards
...
GDScript: Implement pattern guards for match statement
2023-09-28 20:03:57 +02:00
cb8b89fd95
GDScript: Add return type covariance and parameter type contravariance
2023-09-28 12:27:36 +03:00
4a167fc740
[TextServer] Store font extra spacing variations without making a full copy of font.
2023-09-28 10:45:09 +03:00
aa82cccc41
Merge pull request #81659 from DarioSamo/nlm-denoiser
...
Replace OIDN denoiser in Lightmapper with a JNLM denoiser compute shader.
2023-09-27 19:08:01 +02:00
aa474c9feb
Merge pull request #75988 from dalexeev/gds-unsafe-call-argument
...
GDScript: Improve call analysis
2023-09-27 19:07:46 +02:00
54a1414500
GDScript: Implement pattern guards for match statement
...
Within a match statement, it is now possible to add guards in each
branch:
var a = 0
match a:
0 when false: print("does not run")
0 when true: print("but this does")
This allows more complex logic for deciding which branch to take.
2023-09-27 11:25:25 -03:00
214c978f4b
Merge pull request #81862 from akien-mga/thorvg-0.10.6
...
thorvg: Update to 0.10.7
2023-09-27 14:03:38 +02:00
3228f73127
Merge pull request #82413 from Calinou/3d-editor-gizmos-ignore-fog
...
Make 3D editor gizmos and debug shapes ignore fog
2023-09-27 09:21:35 +02:00
c7a5a284d3
Merge pull request #80260 from raulsntos/dotnet/msbuild-panel
...
C#: Redesign MSBuild panel
2023-09-27 09:20:19 +02:00
f19694a8d6
C#: Redesign MSBuild panel
...
- Redesign panel to look closer to the look of other Godot panels such as Output and Debugger.
- Moved list of problems and output log to separate tabs instead of using a HSplit.
- Added Tree/List layouts to the problems tab.
- Added search box to filter problems tab.
- Added `FileTree` icon, made from `FileList`. Both are used for the button that toggles the Tree/List layouts.
2023-09-27 02:53:27 +02:00
fcbf7011cc
Make 3D editor gizmos and debug shapes ignore fog
...
This makes them easier to see in their intended colors in scenes with fog.
2023-09-27 00:54:57 +02:00
81949c2cd2
thorvg: Update to 0.10.7
...
Fixes #81618 .
2023-09-26 22:43:44 +02:00
7654e7852e
Fix RaycastOcclusionCull World3D scenario memory leak
2023-09-26 21:53:17 +03:00
dc14f02892
Merge pull request #81851 from aaronfranke/gltf-single-root
...
GLTF: Add root node export options and GODOT_single_root extension
2023-09-26 17:52:51 +02:00
446893fdd1
GLTF: Add GODOT_single_root extension
2023-09-26 10:18:52 -05:00
517e9f8aef
[Modules] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable
2023-09-26 16:44:52 +02:00
da91cf9367
Merge pull request #82347 from SaracenOne/dir_access_checks
...
Add error checks for DirAccess creation
2023-09-26 16:36:47 +02:00
9b0b441cf3
Merge pull request #82139 from dalexeev/gds-add-inferred-declaration-warning
...
GDScript: Add `INFERRED_DECLARATION` warning
2023-09-26 16:36:39 +02:00
4410b0b0e1
Merge pull request #67304 from wscalf/master
...
Allow readonly and writeonly C# properties to be accessed from GDScript
2023-09-26 16:36:33 +02:00
e9e99775f1
Merge pull request #82375 from raulsntos/dotnet/fix-compat
...
C#: Remove compat method that is now generated
2023-09-26 16:36:27 +02:00
e0b1171396
Merge pull request #82368 from kleonc/NavMeshGenerator2D-dev-assert-assignment-typo
...
Fix typo in dev assert in NavMeshGenerator2D
2023-09-26 16:36:19 +02:00