Rémi Verschelde
0ca0b462e5
Merge pull request #93227 from oshman99/master
...
Fix closest edge and face check in `NavigationServer3D.map_get_closest_point_to_segment`
2024-06-17 14:31:52 +02:00
Artem
4ed747e255
Fixed closest edge and face check in NavigationServer3D.map_get_closest_point_to_segment
2024-06-17 15:34:46 +04:00
Rémi Verschelde
8c70c18132
Merge pull request #93242 from 31/dev/31/csg-snap-dirty
...
Make CSG shape dirty after changing Snap
2024-06-17 10:59:09 +02:00
Rémi Verschelde
c3336aa110
Merge pull request #93178 from Faless/crypto/expose_tls_options_getters
...
[Crypto] Expose TLSOptions getters
2024-06-17 10:58:51 +02:00
31
649c87b957
Make CSG shape dirty after changing Snap, update doc
...
Update doc to mention that Snap only takes effect at the top level.
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2024-06-16 14:33:48 -07:00
Raul Santos
65cd0c86f9
C#: Escape generated members
2024-06-15 19:07:42 +02:00
Fabio Alessandrelli
3639c1f0ca
[Crypto] Expose TLSOptions getters
2024-06-14 22:33:10 +02:00
Raul Santos
13d26fccdd
C#: Clear instance bindings callbacks on finalizing the language
...
When finalizing the C# language every C# instance is disposed and the instance bindings callbacks are no longer valid. Clearing the instance bindings ensures these callbacks are not called, and since we dispose of every C# instance there should be no leaks.
2024-06-14 20:25:26 +02:00
Hilderin
c419b548d2
Fix mismatched external parser with binary exports
2024-06-14 11:18:52 -04:00
Rémi Verschelde
fc499fc703
Merge pull request #93117 from jsjtxietian/gltf-owner
...
Unset the owner of `ImporterMeshInstance3D` before adding it to skeleton's child
2024-06-13 11:50:48 +02:00
jsjtxietian
e09443509a
Unsetting the owner of ImporterMeshInstance3D
before adding it to skeleton's child
2024-06-13 12:45:55 +08:00
HolonProduction
51f74af2ac
Autocompletion: Add support for string name option in more places
2024-06-12 20:38:43 +02:00
bruvzg
e651421905
[TextServer, GDExtension] Fix building text servers as GDExtension, expose new/changed low-level methods to GDExtension API.
2024-06-12 19:30:19 +03:00
Rémi Verschelde
475248d99d
Merge pull request #93075 from BastiaanOlij/openxr_add_htc_msft_hand_interaction
...
OpenXR: Add HTC/MSFT hand interaction profiles
2024-06-12 18:17:09 +02:00
Bastiaan Olij
8eb130fdf0
OpenXR: Add HTC/MSFT hand interaction profiles
2024-06-12 19:16:43 +10:00
Rémi Verschelde
4516050e64
Merge pull request #92885 from Chaosus/fix_goto_definition_for_new
...
Fix goto definition for `new` method
2024-06-12 10:00:34 +02:00
Rémi Verschelde
e4fd5b55eb
Merge pull request #92893 from Hilderin/fix-freeze-after-building-c#
...
Fix freeze after building C#
2024-06-10 16:11:59 +02:00
Rémi Verschelde
09a037628e
Merge pull request #85488 from miv391/fix-expected-indented-block-error-message-lines
...
Moving "Expected indented block" error message's line number back to where the error is
2024-06-10 16:11:30 +02:00
Hilderin
cc990efddf
Fix freeze after building C#
2024-06-09 13:40:51 -04:00
Yuri Rubinsky
5962646fd3
Fix goto definition for new
method
2024-06-08 10:52:01 +03:00
Rémi Verschelde
19affb60d1
Merge pull request #92850 from permelin/fix-navigationserver3d-get_closest_point_to_segment-use_collision
...
Fix `NavigationServer3D.get_closest_point_to_segment()` with `use_collision`
2024-06-07 23:30:42 +02:00
Rémi Verschelde
747e0f5ef0
Merge pull request #92801 from devloglogan/has-tracking-data-fix
...
Set `XRHandTracker` property `has_tracking_data` to true only when palm joint is tracked
2024-06-07 23:30:24 +02:00
Rémi Verschelde
7a5fad878b
Merge pull request #92800 from raulsntos/dotnet/fix-check-call-error
...
C#: Skip method name when checking CallError
2024-06-07 23:30:19 +02:00
Yuri Rubinsky
305b948256
Add coloring for completion of Color components
2024-06-07 18:35:56 +03:00
Per Melin
9b191f669c
Fix NavigationServer3D.get_closest_point_to_segment() with use_collision
2024-06-07 14:24:39 +02:00
Logan Lang
a64b0d3830
Set XRHandTracker property has_tracking_data to true only when palm joint is tracked
2024-06-05 17:22:45 +02:00
Raul Santos
44d4f637a1
C#: Skip method name when checking CallError
...
When invoking `call`, the arguments contain the method name. This argument must be skipped; otherwise, the `error.argument` index will be off.
2024-06-05 16:53:21 +02:00
PreslavPetrov
653a8b113a
Register the export info correctly when a global class script is used as the variable type for Node
2024-06-03 13:28:17 +01:00
Rémi Verschelde
3f39d97042
Merge pull request #92674 from timothyqiu/playlist-doc
...
Improve `AudioStreamPlaylist` class reference
2024-06-03 10:36:06 +02:00
Rémi Verschelde
41e762ca29
Merge pull request #91454 from akien-mga/coverity-checks
...
Fix Steam input "crc" errors, and some other Coverity reports of uninitialized scalar variable
2024-06-03 10:35:38 +02:00
Rémi Verschelde
bc7a7a479e
Merge pull request #73941 from Jummit/active-collection
...
Blend import: Allow importing `active_collection_only`
2024-06-03 10:35:34 +02:00
HolonProduction
48e297c144
Add more autocompletion tests
2024-06-02 15:52:21 +02:00
rune-scape
7f7114c008
GDScript: partially allow some functions on invalid scripts
...
+ always default initialize static variables
+ dont invalidate script when dependant scripts don't compile/resolve
2024-06-02 02:08:26 -07:00
Haoyu Qiu
c387ec04e0
Improve AudioStreamPlaylist class reference
2024-06-02 16:40:33 +08:00
Thaddeus Crews
05203b6a43
SCons: Fix mono
dependency
2024-06-01 16:37:54 -05:00
rune-scape
ffc0d0981b
GDScript: Invalidate cached parser chain when reloading
2024-05-31 18:49:48 -07:00
Jummit
c182adcd48
Blend import: Ability to import only the active collection
2024-05-31 18:37:14 +02:00
Rémi Verschelde
b201c087ab
Merge pull request #91950 from AThousandShips/panel_sname
...
[Scene] Add `SceneStringNames::panel`
2024-05-31 14:16:02 +02:00
Rémi Verschelde
ea4db5c3e1
Merge pull request #91949 from AThousandShips/id_pressed_sname
...
[Scene] Add `SceneStringNames::id_pressed`
2024-05-31 14:15:58 +02:00
Rémi Verschelde
62120c7841
Fix Steam input "crc" errors, and some other Coverity reports of uninitialized scalar variable
...
- Fixes #88630 .
- Fixes #92578 .
2024-05-31 09:55:02 +02:00
Rémi Verschelde
7728839247
Rename FBX2glTF binary path setting back to 4.2 name
...
This preserves compatibility when upgrading Godot 4.2 projects which relied on that
path being configured in the editor settings.
The old name also makes sense for this one, it's fine for fbx2gltf_path to be under
a generic fbx category which could have more settings also impacting ufbx.
2024-05-30 23:42:11 +02:00
A Thousand Ships
926afccbd8
[Scene] Add SceneStringNames::panel
2024-05-30 22:54:50 +02:00
A Thousand Ships
755a0efbb6
[Scene] Add SceneStringNames::id_pressed
2024-05-30 22:54:04 +02:00
Rémi Verschelde
ce82984b5c
Merge pull request #92544 from dalexeev/gds-fix-const-non-metatype-subscript
...
GDScript: Fix subscript resolution on constant non-metatype GDScript base
2024-05-30 22:38:36 +02:00
Rémi Verschelde
cd53026b2c
Merge pull request #92558 from dalexeev/gds-adjust-inferred-declaration
...
GDScript: Do not produce `INFERRED_DECLARATION` on type import
2024-05-30 22:13:52 +02:00
Rémi Verschelde
34fe09dda7
Merge pull request #92386 from AThousandShips/goto_fix
...
[GDScript LSP] Fix `show_native_symbol_in_editor`
2024-05-30 22:13:46 +02:00
Danil Alexeev
3fd30ed4ff
GDScript: Do not produce INFERRED_DECLARATION
on type import
2024-05-30 19:30:07 +03:00
Danil Alexeev
18d8838051
GDScript: Fix subscript resolution on constant non-metatype GDScript base
2024-05-30 17:37:05 +03:00
Rémi Verschelde
2666955011
Merge pull request #92251 from Chaosus/gdscript_fix_new_argument_completion
...
Fix completion for `new` arguments
2024-05-30 11:47:54 +02:00
Rémi Verschelde
5f572561c5
Merge pull request #92368 from fire/vsk-csg-gltf-4.3
...
Fix GLTFDocument so it can export CSG Meshes correctly.
2024-05-29 22:14:00 +02:00
Rémi Verschelde
d1f6d4c8c3
Merge pull request #92339 from devloglogan/comp-layer-reference-frame
...
Apply reference frame transform to `OpenXRCompositionLayer` nodes
2024-05-29 22:13:56 +02:00
K. S. Ernest (iFire) Lee
5a24aec599
Fix GLTFDocument so it can export CSG Meshes correctly.
2024-05-29 07:10:45 -07:00
devloglogan
6a8f2f00ac
Apply reference frame transform to OpenXRCompositionLayer nodes
2024-05-29 07:52:54 -05:00
Rémi Verschelde
dbc6f2af1d
Merge pull request #92241 from dalexeev/gds-fix-lambda-captures-non-local-vars
...
GDScript: Fix lambdas capturing non-local variables
2024-05-28 16:21:42 +02:00
Rémi Verschelde
607fa8229b
Merge pull request #92422 from groud/fix_navigation_baking_crash
...
Fix crash when baking TileMap navigation
2024-05-28 15:49:57 +02:00
Rémi Verschelde
bf2deacee1
Merge pull request #92359 from DanielSnd/fix-multiplayer-spawner-free-node-bug
...
Fix Multiplayer Spawner freeing node after client disconnected Issue
2024-05-28 15:49:37 +02:00
Gilles Roudière
1a380db62a
Fix crash when baking TileMap navigation
2024-05-27 10:46:54 +02:00
A Thousand Ships
e6ab22d450
[GDScript LSP] Fix show_native_symbol_in_editor
2024-05-26 16:33:19 +02:00
Yuri Rubinsky
fc2b82188b
Fix completion for new
arguments
2024-05-26 13:47:22 +03:00
Daniel Snd
1a9d95f933
Fix Multiplayer Spawner freeing node after client disconnected Issue
2024-05-25 13:34:33 -03:00
Aaron Franke
d3a58e57b8
Rename accessor GLTFType to GLTFAccessorType, fix verbose prints, doc
2024-05-24 03:21:13 -07:00
K. S. Ernest (iFire) Lee
24f56008ac
Add bake_fps for FBXDocument, GLTFDocument and both import-export.
2024-05-23 09:09:36 -07:00
Rémi Verschelde
782a0261cb
Merge pull request #92196 from lyuma/gltf_anim_library_import_as_bones
...
Support Import As Skeleton Bones on glTF and AnimationLibrary import
2024-05-23 08:59:13 +02:00
patwork
1a89ae70eb
Upgrade to eslint 9
2024-05-22 11:32:25 +02:00
Rémi Verschelde
c40c89f94c
Merge pull request #90457 from Chubercik/ruff-formatter
...
Replace `black` formatter with `ruff`
2024-05-22 09:26:42 +02:00
Danil Alexeev
4b692959de
GDScript: Fix lambdas capturing non-local variables
2024-05-22 10:07:31 +03:00
Jakub Marcowski
d9f8ef68df
Update pre-commit hooks configuration to use ruff
instead of black
2024-05-21 18:02:29 -05:00
Rémi Verschelde
4c0d5e59bf
Merge pull request #92200 from devloglogan/composition-layer-viewport-fix
...
Allow `OpenXRCompositionLayer` property `layer_viewport` to always be assigned `nullptr`
2024-05-21 23:19:03 +02:00
Rémi Verschelde
03aa82849d
Merge pull request #92197 from lyuma/better_fbx_defaults
...
FBX: Change trimming default and use FBX2glTF for compatibility
2024-05-21 23:18:59 +02:00
Rémi Verschelde
d916423327
Merge pull request #92181 from smix8/recast_vertices_dup
...
Remove duplicated vertices after 3D NavigationMesh bake
2024-05-21 23:18:53 +02:00
Rémi Verschelde
aa20f54cb7
Merge pull request #92137 from BastiaanOlij/fix_fb_swapchain_foveation
...
OpenXR: Fix updating swapchain for foveation
2024-05-21 23:18:45 +02:00
Lyuma
c433754d34
fbx: change import option defaults
...
ufbx has special logic to handle animation/trimming, and most users expect trimming to be on.
For existing projects, we should upgrade files0 to FBX2glTF to preserve node compatibility.
2024-05-21 07:58:36 -07:00
devloglogan
3d7b712c86
Allow OpenXRCompositionLayer property layer_viewport to be assigned to nullptr
2024-05-21 07:52:40 -05:00
smix8
4128c7b311
Remove duplicated vertices after 3D NavigationMesh bake
...
Removes duplicated vertices that may exist on shared polygon corners after a ReCast navigation mesh bake.
2024-05-21 14:18:32 +02:00
Lyuma
ef486db569
Support Import As Skeleton Bones on glTF and AnimationLibrary import
2024-05-21 03:19:35 -07:00
Rémi Verschelde
c0eb347946
Merge pull request #91557 from AThousandShips/dotnet_doc_fix
...
[C#] Unexpose `GodotSharp`
2024-05-21 11:22:40 +02:00
Rémi Verschelde
0cf42d6273
Merge pull request #88919 from nongvantinh/fix-88834
...
Revise implementation of C# `Aabb.GetSupport` to match the implementation in `core`
2024-05-21 11:22:36 +02:00
kobewi
eca19d6e80
Fix broken script reloading
2024-05-20 23:54:27 +02:00
Bastiaan Olij
6582be0c50
OpenXR: Fix updating swapchain for foveation
2024-05-20 12:23:56 +10:00
Rémi Verschelde
daa81bbb7d
Merge pull request #92087 from Repiteo/scons/windows-color-fix-maybe
...
SCons: Fix potential Windows ANSI exception
2024-05-19 11:21:18 +02:00
Rémi Verschelde
c63383fa88
Merge pull request #92035 from rune-scape/rune-gdscript-invalid
...
GDScript: Fix segfault on invalid script
2024-05-19 11:21:14 +02:00
Rémi Verschelde
4ce95d684c
Merge pull request #91653 from HolonProduction/autocompletion-analyze-recursively-but-leave-the-parser-alone
...
Autocompletion: Analyze CLASS types as they are encountered
2024-05-19 11:21:11 +02:00
Rémi Verschelde
6761923f4f
Merge pull request #90716 from dalexeev/gds-fix-export-annotation-issues
...
GDScript: Fix some export annotation issues
2024-05-19 11:21:00 +02:00
Thaddeus Crews
a9810cffb4
SCons: Fix potential Windows ANSI exception
2024-05-18 13:14:31 -05:00
rune-scape
9fa13da16f
GDScript: fix segfault on invalid script
2024-05-17 15:26:25 -07:00
Rémi Verschelde
b569ae3ddc
Merge pull request #92027 from dalexeev/gds-fix-standalone-expression-for-preload
...
GDScript: Fix `STANDALONE_EXPRESSION` warning for `preload()`
2024-05-17 13:00:33 +02:00
Rémi Verschelde
c4889e4793
Merge pull request #91901 from akien-mga/scons-thorvg-webp-loader-opt-out
...
thorvg: Disable webp loader if corresponding module is disabled
2024-05-17 11:14:00 +02:00
Danil Alexeev
7dd801c580
GDScript: Fix STANDALONE_EXPRESSION
warning for preload()
2024-05-17 10:33:01 +03:00
Rémi Verschelde
5708a3a02e
Merge pull request #92000 from clayjohn/vram-debugger
...
Increase coverage of VRAM debugger and add support to RD backends
2024-05-16 09:32:11 +02:00
Rémi Verschelde
8663f27159
Merge pull request #91996 from Maran23/ms-build-context-menu
...
Fix ContextMenu `Copy Error` is off in `MSBuild` Panel
2024-05-16 09:32:06 +02:00
clayjohn
c84616c2d2
Increase coverage of VRAM debugger and add support to RD backends
2024-05-15 16:30:19 -07:00
Marius Hanl
32be459e54
Fix ContextMenu Copy Error is off in MSBuild Panel
2024-05-15 22:55:05 +02:00
Rémi Verschelde
42b60c1b01
Merge pull request #91985 from passivestar/fix-lightmapper-seams
...
Fix lightmapper seam blending
2024-05-15 22:41:59 +02:00
Rémi Verschelde
82fb849678
Merge pull request #91943 from akien-mga/libwebp-1.4.0
...
libwebp: Update to 1.4.0
2024-05-15 22:41:52 +02:00
passivestar
d06bce3002
Fix lightmapper seam blending
2024-05-15 19:30:14 +04:00
Rémi Verschelde
693a13a849
Merge pull request #91601 from lander-vr/lightmap_seams_fix
...
LightmapGI: Fix lightleaks caused by insufficient padding and add denoiser range property for LightmapGI
2024-05-15 13:51:35 +02:00
Rémi Verschelde
5caa8e41f7
Merge pull request #91951 from dalexeev/gds-pot-gen-add-atr-and-atr-n
...
GDScript: Add support for `atr` and `atr_n` to POT generator
2024-05-15 12:09:56 +02:00
landervr
e7bd1b0673
Add denoiser range property for LightmapGI
2024-05-15 08:26:04 +02:00
Rémi Verschelde
4971b71899
Merge pull request #91952 from dsnopek/openxr-composition-layer-sample-count
...
Fix sample count on OpenXR composition layers
2024-05-14 18:10:14 +02:00
Rémi Verschelde
c0d2464d6b
Merge pull request #91939 from AThousandShips/pressed_sname
...
[Scene] Add `SceneStringNames::pressed`
2024-05-14 18:10:05 +02:00
Rémi Verschelde
882449f496
Merge pull request #91924 from ZerxZ/dotnet/useless-is-first-entry
...
[C#] Remove useless `isFirstEntry` and useless `source.Append("else ")`
2024-05-14 18:10:02 +02:00
David Snopek
45a02c28cd
Fix sample count on OpenXR composition layers
2024-05-14 10:43:44 -05:00
Danil Alexeev
0bd4345736
GDScript: Add support for atr
and atr_n
to POT generator
2024-05-14 18:35:59 +03:00
A Thousand Ships
ee79386f7b
[Scene] Add SceneStringNames::pressed
2024-05-14 15:51:28 +02:00
Rémi Verschelde
09bd34df93
libwebp: Update to 1.4.0
...
https://chromium.googlesource.com/webm/libwebp/+/refs/tags/v1.4.0/NEWS
2024-05-14 13:01:07 +02:00
Rémi Verschelde
78cce1954d
Merge pull request #91937 from bruvzg/icu_751
...
Update ICU to 75.1
2024-05-14 12:07:31 +02:00
Rémi Verschelde
d6eab9f5df
Merge pull request #91917 from Pepito468/fix-docs-typo
...
Fix a typo in the GridMap docs
2024-05-14 12:07:06 +02:00
Rémi Verschelde
bdefe53992
Merge pull request #91909 from KoBeWi/have_fun_reviewing_this
...
Use Core/Scene stringnames consistently
2024-05-14 12:07:03 +02:00
bruvzg
e74fea2864
Update ICU to 75.1
2024-05-14 12:38:52 +03:00
Gaoyao Massimo Hu
e3270113ca
Remove useless isFirstEntry and useless source.Append("else ")
2024-05-14 07:44:56 +01:00
kobewi
413c11357d
Use Core/Scene stringnames consistently
2024-05-13 23:41:07 +02:00
Pepito468
73479cb56e
Fixed a typo in the docs
...
Fixed a typo in GridMap.xml where a 'See also' suggestion link to the wrong method.
2024-05-13 21:19:54 +02:00
Rémi Verschelde
0a67ee52d1
Revert "GDScript: Implement get_dependencies()"
...
This reverts commit dc73440f89
.
This commit in some form is needed to fix handling of dependencies on
export, but as it's also used for import, it's exposing some pre-existing
issues which we need to solve first.
So reverting for now to give ourselves time to iron this out for a future
Godot release.
Fixes #91726 .
2024-05-13 16:59:43 +02:00
Danil Alexeev
76b2d85c9f
GDScript: Fix some export annotation issues
2024-05-13 17:49:06 +03:00
Rémi Verschelde
831ebda806
thorvg: Disable webp loader if corresponding module is disabled
...
Fixes #91873 .
2024-05-13 13:01:34 +02:00
Rémi Verschelde
ba0dcf70f1
Merge pull request #91783 from ogapo/pr/gltf-export-fixes
...
GLTF export improvements
2024-05-13 12:05:42 +02:00
David Nikdel
522f035cb1
GLTF export improvements
...
- GLBs produced by godot don't pass validation when there's no data in the buffer segment. The segment is dropped but the size of the chunk_header is still reported in total length (incorrectly)
- Remove empty "extensions" JSON object being appended to all nodes (if it's still empty). This is just cutting down on unnecessary bloat and consistent with the rest of the file's attempts to not emit any keys that are equal to their default value.
- Allow the case where root_nodes is empty. This is permitted by the GLTF spec. Moreover it can happen fairly naturally when using the ROOT_NODE_MODE_MULTI_ROOT root node mode on a scene with only a root node (which is valid in godot).
- Don't create an initial buffer until we're ready to write data into it (buffers of byteLength=0 don't pass validation).
2024-05-11 21:42:05 -04:00
kobewi
a262d2d881
Add shorthand for using singleton string names
2024-05-11 18:53:08 +02:00
Rémi Verschelde
1cf283dd26
Merge pull request #91788 from akien-mga/thorvg-0.13.3
...
thorvg: Update to 0.13.3, add webp loader
2024-05-11 12:38:21 +02:00
Rémi Verschelde
da5714ad6e
Merge pull request #91775 from dsnopek/openxr-composition-layer-viewport-in-use-bug
...
Fix `layer_viewport` getting cleared on `OpenXRCompositionLayer` in editor
2024-05-10 09:56:15 +02:00
Rémi Verschelde
d24403d056
Merge pull request #91763 from paulloz/dotnet/fix-stringextension-warnings
...
C#: Fix comparison warnings in `StringExtensions.cs`
2024-05-10 09:56:12 +02:00
Rémi Verschelde
6766404afa
Merge pull request #91745 from timothyqiu/destruct
...
Fix memory leak when ASTC compression fails
2024-05-10 09:56:03 +02:00
Rémi Verschelde
7704457434
Merge pull request #91645 from ZerxZ/dotnet/hint-string-fix
...
Fix C# Hint NodeType and ResourceType HintString
2024-05-10 09:55:54 +02:00
Rémi Verschelde
6fcdd24468
Merge pull request #91624 from Repiteo/scons/native-generation
...
SCons: Generate all scripts natively, implement wrapper function
2024-05-10 09:55:51 +02:00
Rémi Verschelde
b7783a43c5
Merge pull request #91564 from paulloz/huisedenanhai-fix_csharp_method_info
...
CSharpScript should not own method infos of the base class
2024-05-10 09:55:47 +02:00
Paul Joannon
af5f695a99
Fix comparison warnings in StringExtensions.cs
2024-05-10 09:42:58 +02:00
Rémi Verschelde
1cf9f37589
thorvg: Update to 0.13.3, add webp loader
...
Remove embedded png loader, we use the external (libpng) one.
2024-05-10 09:30:57 +02:00
David Snopek
a8a7110b90
Fix layer_viewport
getting cleared on OpenXRCompositionLayer
in editor
2024-05-09 14:05:20 -05:00
Paul Joannon
1d7085571e
CSharpScript should not own base script signals
2024-05-09 13:46:25 +02:00
Haoyu Qiu
a35ff3c737
Fix memory leak when ASTC compression fails
2024-05-09 14:41:35 +08:00
Gaoyao Massimo Hu
06b716d8b3
Fix C# Hint NodeType and ResourceType HintString
2024-05-08 16:22:52 +01:00
Rémi Verschelde
2042420bd7
Merge pull request #91709 from KoBeWi/deawkwarding_labels
...
Improve transition enabled header in interactive music editor
2024-05-08 14:35:48 +02:00
Rémi Verschelde
a9a1d0a162
Merge pull request #91619 from AThousandShips/find_improve
...
Replace `find` with `contains/has` where applicable
2024-05-08 14:35:44 +02:00
kobewi
a880b2dcba
Improve transition enabled header in interactive music editor
2024-05-08 14:19:11 +02:00
A Thousand Ships
b4c6cc7d82
[Core] Add case-insensitive String::containsn
2024-05-08 12:48:01 +02:00
A Thousand Ships
a0dbdcc3ab
Replace find
with contains/has
where applicable
...
* Replaces `find(...) != -1` with `contains` for `String`
* Replaces `find(...) == -1` with `!contains` for `String`
* Replaces `find(...) != -1` with `has` for containers
* Replaces `find(...) == -1` with `!has` for containers
2024-05-08 12:37:42 +02:00
Rémi Verschelde
9ef50524d0
Merge pull request #91696 from akien-mga/style-file-format
...
Style: Trim trailing whitespace and ensure newline at EOF
2024-05-08 12:31:32 +02:00
Rémi Verschelde
f349418fc0
Merge pull request #91693 from timothyqiu/interactive-editor
...
Fix i18n in AudioStreamInteractive transition editor
2024-05-08 12:31:30 +02:00
Rémi Verschelde
c4cf2a8f90
Merge pull request #91686 from dsnopek/openxr-fix-composition-layers
...
OpenXR: Fix composition layers not having correct play space
2024-05-08 12:31:26 +02:00
Rémi Verschelde
6533c52706
Merge pull request #91670 from paulloz/dotnet/fix-godottools-openvisualstudio
...
C#: Specify a runtime rollforward for OpenVisualStudio
2024-05-08 12:31:23 +02:00
Haoyu Qiu
4a316c4ac8
Fix i18n in AudioStreamInteractive transition editor
...
- Don't translate user-defined clip names.
- Add missing i18n for some UI strings.
- Also fixed error when selecting top-right "From/To" cell.
- Also removed unused header includes.
2024-05-08 17:15:38 +08:00
Rémi Verschelde
7d03b1de0b
Style: Trim trailing whitespace and ensure newline at EOF
...
Found by apply the file_format checks again via #91597 .
2024-05-08 10:12:46 +02:00
David Snopek
de654d9846
OpenXR: Fix composition layers not having correct play space
2024-05-07 20:49:46 -05:00
Thaddeus Crews
34fb3f7730
SCons: Generate all scripts natively
2024-05-07 15:30:45 -05:00
Rémi Verschelde
316b87dc5f
Merge pull request #91485 from dsnopek/openxr-composition-layers-hole-punch
...
OpenXR: Allow composition layers to enable hole punching
2024-05-07 21:52:49 +02:00
Rémi Verschelde
d83586f1e4
Merge pull request #84492 from HolonProduction/reduce-const-arrays
...
Autocompletion: Mark datatype as constant for constant arrays
2024-05-07 21:52:40 +02:00
Paul Joannon
c2d72a691f
Specify a runtime rollforward for OpenVisualStudio
...
Use `LatestMajor`
Fixes #91638
2024-05-07 19:40:25 +02:00
David Snopek
666bf60e36
OpenXR: Allow composition layers to enable hole punching
2024-05-07 10:02:32 -05:00
Rémi Verschelde
ff018079a1
Merge pull request #84706 from HolonProduction/completion-get-child
...
Fix autocompletion after DOLLAR token
2024-05-07 16:49:13 +02:00
Rémi Verschelde
4db9103c2b
Merge pull request #91650 from akien-mga/codespell
...
Fix various typos with codespell
2024-05-07 13:49:03 +02:00
Rémi Verschelde
82e77eab35
Merge pull request #91529 from bqqbarbhg/ufbx-warnings
...
FBX: Print ufbx load warnings on import
2024-05-07 13:48:56 +02:00
Rémi Verschelde
e8d5bdd95d
Merge pull request #91528 from bqqbarbhg/ufbx-v0.14.0
...
FBX: Update ufbx to v0.14.0
2024-05-07 13:48:52 +02:00
Rémi Verschelde
0404e3a85e
Merge pull request #84148 from KANAjetzt/fix_crash_take_over_path_named_class
...
Fix crash when extending taken-over named class
2024-05-07 13:48:36 +02:00
bqqbarbhg
5cd7ae198d
Update ufbx to v0.14.0
2024-05-07 14:27:21 +03:00
bqqbarbhg
04db5cf063
Print ufbx load warnings on import
2024-05-07 12:43:48 +03:00
HolonProduction
d131064841
Autocompletion: Analyze CLASS types as they are encountered
2024-05-07 10:45:28 +02:00
Rémi Verschelde
4b070e8031
Fix various typos with codespell
...
Using 2.2.7.dev217+g10c2abcf.
Had to add `colour` to the ignore list as we used it as an alias/keyword for the
documentation of color-related APIs.
Also ignore recommendations to change `thirdparty` to either `third-party` or
`third party`, which are correct but we use the former fairly consistently.
2024-05-07 10:08:42 +02:00
Rémi Verschelde
2576addc28
Merge pull request #91636 from akien-mga/miniupnpc-disable-SET_SOCKET_TIMEOUT
...
miniupnpc: Disable socket timeout on Windows, matching upstream
2024-05-07 09:04:51 +02:00
Rémi Verschelde
e63252b421
Merge pull request #90705 from AThousandShips/foreach_list
...
Reduce and prevent unnecessary random-access to `List`
2024-05-07 09:04:44 +02:00
Kai
f4192aad6f
Fix crash when extending taken-over named class
...
Added error handling in `_prepare_compilation()` to address cases where the `base_type` cannot be found, preventing a crash.
2024-05-07 08:07:11 +02:00
Rémi Verschelde
f695de7c68
miniupnpc: Disable socket timeout on Windows, matching upstream
...
Fixes #88471 .
2024-05-06 23:30:09 +02:00
A Thousand Ships
86de59d60a
[Core] Add LocalVector::has
for convenience
2024-05-06 18:03:37 +02:00
Haoyu Qiu
7355e672ae
Fix crash when executing Image.save_jpg_to_buffer
2024-05-05 23:37:22 +08:00
huisedenanhai
c313312ff5
CSharpScript should not own method infos of the base class
2024-05-04 18:54:37 +02:00
A Thousand Ships
955d5affa8
Reduce and prevent unnecessary random-access to List
...
Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when
accessing a single element)
* Removed subscript operator, in favor of a more explicit `get`
* Added conversion from `Iterator` to `ConstIterator`
* Remade existing operations into other solutions when applicable
2024-05-04 16:08:55 +02:00
A Thousand Ships
aff2e47bff
[C#] Unexpose GodotSharp
...
This class seems to have been exposed accidentally, and breaks
documentation on non-mono builds, requiring hacks
2024-05-04 14:09:42 +02:00
Rémi Verschelde
4313524ae3
Merge pull request #91526 from bqqbarbhg/ufbx-bad-skin-fix
...
FBX: Fix handling missing skins using ufbx importer
2024-05-04 11:52:38 +02:00
Rémi Verschelde
9ed8399514
Merge pull request #91509 from akien-mga/dotnet-fix-generating-glue-in-project-folder
...
.NET: Prevent generating mono glue in project folder
2024-05-04 11:52:32 +02:00
Rémi Verschelde
629e91acff
Merge pull request #91479 from Repiteo/dotnet/sln-csproj-attributes
...
C#: Fix attributes for `sln`/`csproj` files
2024-05-04 11:52:29 +02:00
Rémi Verschelde
458106a73e
Merge pull request #91203 from pirey0/stringcomp_fix
...
C#: Fix `StringExtensions.CompareTo` IndexOutOfRangeException
2024-05-04 11:52:25 +02:00
Rémi Verschelde
a2fc5e2d78
Merge pull request #89894 from BastiaanOlij/improve_foveated_rendering
...
Improvements to VRS/Foveated rendering
2024-05-04 11:52:15 +02:00
bqqbarbhg
b9ab0e46e2
Fix handling missing skins using ufbx importer
...
Previously, _asset_parse_skins() would mess with the order of skin indices.
However, the rest of the code expected these to match to ufbx skin indices.
To fix this, retain the original skin indices in FBXState::original_skin_indices.
2024-05-03 20:46:26 +03:00
Thaddeus Crews
64f2e8b64f
Dotnet: Fix attributes for sln
/csproj
files
2024-05-03 12:21:51 -05:00
Rémi Verschelde
baec8da3b3
.NET: Prevent generating mono glue in project folder
...
Fixes #83128 .
2024-05-03 14:24:35 +02:00
Rémi Verschelde
03e6fbb010
Merge pull request #85474 from fire/packedvector4array
...
Add `PackedVector4Array` Variant type
2024-05-03 12:25:26 +02:00
Luca Martinelli (laptop)
c02540bd66
fixed StringExtensions.CompareTo IndexOutOfRangeException
...
fixes #91118
marked CompareTo obsolete
dropped CompareTo [-1,1] range
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2024-05-03 10:13:06 +02:00
Bastiaan Olij
9042ddf19f
Improvements to VRS/Foveated rendering
2024-05-03 17:20:30 +10:00
Rémi Verschelde
4d43fe1c96
Merge pull request #91472 from vnen/gdscript-default-static-variables-non-tool
...
GDScript: Initialize static variables with defaults in-editor
2024-05-03 01:21:40 +02:00
Rémi Verschelde
25fe3d4b46
Merge pull request #81639 from MJacred/is_letter
...
Add `is_valid_letter()` to `TextServer`
2024-05-03 01:21:34 +02:00
K. S. Ernest (iFire) Lee
f9b488508c
Add PackedVector4Array Variant type
...
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-05-03 00:58:27 +02:00
MJacred
717513a62d
Add is_valid_letter() to TextServer
2024-05-02 21:32:20 +02:00
George Marques
22236380c0
GDScript: Initialize static variables with defaults in-editor
...
When the script is not marked as `@tool` the static constructor is not
called and thus the variables contain `null` by default. But since some
validated operations requires a valid value, this would cause a crash.
This commit solves this by initializing the static variables with a
default value based on their types in the editor, when they are not
marked as `@tool`, so if some `@tool` script access them, they will have
a valid typed value, avoiding the crash.
2024-05-02 15:09:22 -03:00
Rémi Verschelde
7fef538223
Merge pull request #91464 from groud/fix_tilemap_layer_navmesh_baking
...
Fix TileMapLayer navmesh baking
2024-05-02 19:06:06 +02:00
Gilles Roudière
23b9a9f2de
Fix TileMapLayer navmesh baking
2024-05-02 18:06:23 +02:00
Rémi Verschelde
76f642b962
Merge pull request #91412 from dalexeev/gds-fix-non-static-access-in-static-context
...
GDScript: Fix access non-static members in static context
2024-05-02 17:31:39 +02:00
Rémi Verschelde
a7029e4c8a
Merge pull request #91364 from vnen/gdscript-implicit-ready-base-first
...
GDScript: Call implicit ready on base script first
2024-05-02 17:31:32 +02:00
Rémi Verschelde
7a968c619d
Merge pull request #91140 from RadiantUwU/add-mobile-vr-screen-rect
...
Add a new property named `offset_rect` to `MobileVRInterface`
2024-05-02 17:31:28 +02:00
George Marques
99b702ea3d
GDScript: Call implicit ready on base script first
...
It is generally expected that the base class is called before the
inherited clas. This commit implements this behavior for the implicit
ready function (`@onready` annotation) to make it consistent with the
expectations.
2024-05-02 11:25:52 -03:00
Radiant
9be2f7090a
Implement offset_rect property to MobileVRInterface to allow changing screen area.
2024-05-02 16:25:48 +03:00
Rémi Verschelde
28a18cf1b8
Merge pull request #88763 from BlueCube3310/image-is-compressed-static
...
Image: Add static `is_format_compressed` function.
2024-05-02 14:01:18 +02:00
A Thousand Ships
0f5e0d1637
Expose Vector*
component-wise and scalar min/max
to scripting
2024-05-02 13:02:40 +02:00
Rémi Verschelde
4eaafc8fa8
Merge pull request #91375 from paulloz/dotnet/prevent-generator-crash-on-exported-unconstructed-generic-arrays
...
C#: Fix generator crash w/ generic arrays
2024-05-02 12:46:42 +02:00
Rémi Verschelde
9122286553
Merge pull request #89426 from BlueCube3310/basisu-mult-of-4
...
BasisUniversal: Fix artifacts on images with resolutions not divisible by 4
2024-05-02 12:46:25 +02:00
Rémi Verschelde
0b6c29f2d2
Merge pull request #89114 from AThousandShips/vec_elem_scalar
...
[Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`
2024-05-02 12:46:22 +02:00
BlueCube3310
c71490043a
Fix BasisU compression on images with resolutions not divisible by 4.
2024-05-02 12:15:02 +02:00
Bastiaan Olij
527c30c594
Add support for OpenXR hand interaction extension
2024-05-02 19:15:02 +10:00
A Thousand Ships
308dbb8c63
[Core] Add scalar versions of Vector*
min/max/clamp/snap(ped)
...
Convenience for a number of cases operating on single values
2024-05-02 10:31:13 +02:00
Danil Alexeev
8122a27eac
GDScript: Fix access non-static members in static context
2024-05-01 19:55:40 +03:00
A Thousand Ships
c4e24d2b3b
[GDScript] Correctly report invalid read-only access
2024-05-01 12:28:47 +02:00
Rémi Verschelde
0e0ef3cd69
Merge pull request #91368 from raulsntos/dotnet/must-be-variant-dynamic
...
C#: Ignore late bound methods in MustBeVariantAnalyzer
2024-05-01 09:55:21 +02:00
Rémi Verschelde
731ea17dd4
Merge pull request #91192 from vnen/gdscript-validated-native-static-calls
...
GDScript: Perform validated calls with static methods
2024-05-01 09:55:04 +02:00
Rémi Verschelde
70247adf25
Merge pull request #89734 from BastiaanOlij/openxr_reorder_wait_frame
...
OpenXR: Change timing of xrWaitFrame and fix XR multithreading issues
2024-05-01 09:54:51 +02:00
Rémi Verschelde
273a643145
Merge pull request #89647 from AThousandShips/read_only_dict
...
[Core] Fix property access on read-only `Dictionary`
2024-05-01 09:54:48 +02:00
Bastiaan Olij
cbab7dc049
OpenXR: Change timing of xrWaitFrame and add thread safety features to OpenXR
2024-05-01 14:24:41 +10:00
Raul Santos
1510f88ae1
C#: Ignore late bound methods in MustBeVariantAnalyzer
...
If symbol is late bound (as is the case when using `dynamic`) we can't obtain the symbol to analyze the usage of `[MustBeVariant]`.
2024-05-01 03:18:21 +02:00
Paul Joannon
aba787393f
C#: Fix generator crash w/ generic arrays
2024-04-30 22:22:09 +02:00
Rémi Verschelde
d282e4f0e6
Merge pull request #91360 from bruvzg/arm_win_build
...
Fix arm64/Windows build.
2024-04-30 17:03:58 +02:00
bruvzg
986d297ed3
Fix arm64/Windows build.
2024-04-30 16:26:42 +03:00
Thaddeus Crews
dec2a121a9
SCons: Fixes for warn/error colorization
2024-04-29 11:56:21 -05:00
Rémi Verschelde
f03301ca1a
Merge pull request #91305 from BastiaanOlij/fix_mobile_vr_gyro
...
MobileVR: Orientation is progressive and needs to be initialized
2024-04-29 15:20:32 +02:00
Bastiaan Olij
d83aaeea17
MobileVR: orientation is progressive and needs to be initialised
2024-04-29 21:46:28 +10:00
Rémi Verschelde
c4733e8003
Merge pull request #90860 from vnen/gdscript-get-dependencies
...
GDScript: Implement `get_dependencies()`
2024-04-29 12:30:12 +02:00
Rémi Verschelde
296758a8f8
Merge pull request #90552 from vnen/gdscript-constructor-callable-release
...
GDScript: Assume constructor to be accessible from class
2024-04-29 12:30:08 +02:00
Rémi Verschelde
d216a385a6
Merge pull request #90498 from vnen/gdscript-resolve-scene-autoload-types
...
GDScript: Resolve types from autoload scenes
2024-04-29 12:30:02 +02:00
Rémi Verschelde
dee1231ce6
Merge pull request #91220 from Repiteo/scons/colorize-warn-error
...
SCons: Colorize warnings/errors during generation
2024-04-29 10:10:16 +02:00
Rémi Verschelde
13fbd42c37
Merge pull request #90975 from aaronfranke/plugin-org
...
Organize existing code for editor plugins
2024-04-29 10:09:45 +02:00
Rémi Verschelde
c33cd94509
Merge pull request #90949 from rhofour/gdignore
...
LSP: Have `GDScriptWorkspace::list_script_files` respect `.gdignore`.
2024-04-29 10:09:42 +02:00
Thaddeus Crews
e0e8ce1fc0
SCons: Colorize warnings/errors during generation
2024-04-28 16:24:48 -05:00
Aaron Franke
1bcbbe96c4
Organize existing code for editor plugins
2024-04-27 11:59:58 -07:00
George Marques
8b7fc225f0
GDScript: Resolve types from autoload scenes
...
When the autoload is a scene, it now extracts the script from it and
use it to further infer nested types.
2024-04-26 10:46:19 -03:00
Rémi Verschelde
38d2928fca
Merge pull request #91144 from Konstantin-Kretov/k.kretov/add_copyright_to_csproj_files
...
Fill copyright field in .csproj files to ensure that nuget packages will have both license and copyright fields filled
2024-04-26 15:13:37 +02:00
Konstantin Kretov
2b46e009fa
Fill copyright field in .csproj files
...
This ensures that nuget packages will have both license and copyright fields filled.
2024-04-26 11:41:04 +02:00
Rémi Verschelde
0d589abcbd
Merge pull request #91130 from Malcolmnixon/xrhandtracker-dotnet-name-collision
...
Remove the Hand enum from XRHandTracker
2024-04-26 11:08:44 +02:00
Rémi Verschelde
36833c6871
Merge pull request #91036 from bqqbarbhg/ufbx-bind-pose-fix
...
Resolve bind poses from FBX clusters instead of FBX poses.
2024-04-26 11:08:38 +02:00
Rémi Verschelde
643afab6b7
Merge pull request #89639 from dalexeev/gds-fix-object-iterator-opcodes
...
GDScript: Fix object iterator opcodes
2024-04-26 11:08:22 +02:00
Rémi Verschelde
cb01094ccd
Merge pull request #88301 from aaronfranke/gltf-explicit-compound-triggers
...
Add support for explicitly-defined compound triggers in GLTF files
2024-04-26 11:08:19 +02:00
Danil Alexeev
2778069025
GDScript: Fix object iterator opcodes
2024-04-26 09:21:55 +03:00
George Marques
7ca038effa
GDScript: Perform validated calls with static methods
...
When the types are validated at compile time, this type of call runs
faster. It is already used for instance methods, this adds this
optimization to native static methods as well.
2024-04-25 21:19:40 -03:00
Malcolm Nixon
e00e5c0386
Remove the Hand enum from XRHandTracker to fix name-collision with the hand property of the base class.
...
Co-Authored-By: David Snopek <191561+dsnopek@users.noreply.github.com>
2024-04-25 19:38:57 -04:00
bqqbarbhg
095569011c
Resolve bind poses from FBX clusters instead of FBX poses
...
Turns out that the information in FBX Pose objects is relatively often broken.
Using skin cluster bind poses seems more reliable, but cannot capture the bind pose of the root bone.
2024-04-25 21:13:50 +03:00
Rémi Verschelde
f859400c6b
Merge pull request #91078 from aaronp64/import_skip_crash
...
Fix errors/crashes related to skipped imports
2024-04-25 17:12:38 +02:00
aaronp64
e63d0983d0
Fix errors/crashes related to skipped imports
...
- Added check for "animation/fps" key before attempting to use it in EditorSceneFormatImporterBlend::import_scene, to give error instead of crashing
- Don't show "Advanced..." button if last import used "Keep File" or "Skip File"
- Don't try to call ResourceLoader::load on kept/skipped file when changing importer, which would give an error
Fixes #90324
2024-04-25 10:33:59 -04:00
Danil Alexeev
4136ed7fc8
GDScript: Fix test reset_uninit_local_vars.gd
failure
2024-04-24 20:49:52 +03:00
Rémi Verschelde
69a23e64e4
Merge pull request #89990 from dalexeev/gds-reset-uninit-local-vars
...
GDScript: Fix uninitialized local variables not being reset
2024-04-24 18:54:56 +02:00
Rémi Verschelde
ba3007d127
Merge pull request #91079 from paulloz/dotnet/enforce-use-sdk-8
...
Enforce using .NET SDK >= 8
2024-04-24 09:59:53 +02:00
Rémi Verschelde
17d9c52ad9
Merge pull request #90894 from lyuma/animation_step_30
...
Set animation step from importers. Increase default step from 10 to 30FPS
2024-04-24 09:59:21 +02:00
Rémi Verschelde
4e46e9ae74
Merge pull request #89929 from smix8/ClipperD
...
Change 2D navigation mesh baking to use floating point coordinates
2024-04-24 09:59:07 +02:00
Owen Edwards
2343c4208c
Modified MultPlayer spawnable scene path error checking.
2024-04-23 18:51:33 -04:00
Paul Joannon
f2efa545d6
Enforce using .NET SDK >= 8 in modules/mono/
2024-04-23 22:54:22 +02:00
Rémi Verschelde
515404486b
Merge pull request #91045 from lyuma/fbx_root_node
...
fbx: Avoid name conflict with humanoid "Root" bone
2024-04-23 19:12:14 +02:00
Rémi Verschelde
ad4dff27ba
Merge pull request #90027 from Faless/mp/cache_no_spam
...
[MP] Gracefully handle cache confirmation of deleted nodes
2024-04-23 19:11:05 +02:00
Rémi Verschelde
6b28cb6721
Merge pull request #89884 from HolonProduction/tests-batch-2
...
Completion Tests: Add script to owner
2024-04-23 19:10:57 +02:00
Rémi Verschelde
13b66bcea2
Merge pull request #89738 from dalexeev/gds-docgen-improve-non-constant
...
GDScript: Improve DocGen for non-constant expressions
2024-04-23 19:10:51 +02:00
Lyuma
33e977ee34
fbx: Avoid name conflict with humanoid "Root" bone
...
The importer forces name uniqueness, even for the root. "RootNode" is less likely to conflict.
2024-04-23 01:43:03 -07:00
smix8
6a4d8d4b5c
Change 2D navigation mesh baking to use floating point coordinates
...
Replaces internal uses of Clipper2 integer structs to their floating point equivalents.
2024-04-23 10:28:43 +02:00
Rémi Verschelde
e8eca0b3f0
Merge pull request #90601 from rune-scape/rune-gdscript-dependant-parser-ref-errors
...
GDScript: Fix out of date errors in depended scripts
2024-04-22 22:18:15 +02:00
Fabio Alessandrelli
c6be5f130c
[MP] Fix disconnect_peer not doing the proper cleanup
...
Lower layers (cache, replication) were not being notified about the peer
being disconnected.
2024-04-22 14:58:45 +02:00
A Thousand Ships
ec29c3e784
[Core] Fix property access on read-only Dictionary
2024-04-22 13:57:34 +02:00
Rémi Verschelde
2b42352c99
Merge pull request #90968 from raulsntos/fix-gdscript-analyzer-with-overloaded-dotnet-methods
...
C#: Don't return MethodInfo for overloaded methods
2024-04-22 12:53:47 +02:00
Rémi Verschelde
8931a3ec14
Merge pull request #90912 from clayjohn/CVTT-decomp
...
Avoid writing out of range data over valid data in CVTT decompress methods when decompressing small mip levels
2024-04-22 12:53:24 +02:00
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
Raul Santos
7316918a0f
C#: Don't return MethodInfo for overloaded methods
...
This means the GDScript analyzer loses the method signature information so it can't do type checking for the parameters.
2024-04-21 05:32:47 +02:00
R. Alex Hofer
2452176990
Have GDScriptWorkspace::list_script_files respect .gdignore.
2024-04-20 13:29:27 -04:00
clayjohn
98dacc14ea
Avoid writing out of range data over valid data in CVTT decompress methods when decompressing small mip levels
2024-04-19 10:16:36 -07: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
Lyuma
bb9674c1b1
Set animation step from importers. Increase default step from 10 to 30 FPS.
2024-04-19 03:02:20 -07: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
rune-scape
6b88c86cec
GDScript: invalidate GDScriptParserRef when reloading
2024-04-18 14:05:58 -07:00
George Marques
dc73440f89
GDScript: Implement get_dependencies()
...
The parser and analyzer now track the dependencies of the script and
return the list when the resource loader ask for them.
What is considered a dependency:
- Any `preload()` call.
- The base script this one extends.
- Any identifier, including types, that refers to global scripts.
- Any autoload singleton reference.
2024-04-18 11:54:37 -03: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
George Marques
e761982979
GDScript: Assume constructor to be accessible from class
...
Since the constructor is accessed directly from the class, even if not
marked `static`, it can be retrieved as a Callable without an instance.
2024-04-11 20:28: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
toastedbreadandomelette
b7de8e2c29
Add additional unit tests for RegEx
2024-04-10 23:24:27 +02:00
aaronp64
b56934ce19
Fix GLTFDocument.append_from_scene() crash on null node
...
Added null check for p_node parameter to give error instead of crash
Fixes #90502
2024-04-10 17:05:54 -04:00
Ricardo Buring
3590d49c70
GridMap: Fix physics_material property
...
Use computed bounce and friction, just like StaticBody3D already does.
Also don't rebuild all internals just to set two floats on each body.
2024-04-10 21:44:46 +02:00
Lyuma
40fa684c18
mbedTLS: Update to new LTS v3.6.0
...
Keep module compatibility with mbedtls 2.x (old LTS branch).
A patch has been added to allow compiling after removing all the `psa_*`
files from the library folder (will look into upstreaming it).
Note: mbedTLS 3.6 finally enabled TLSv1.3 by default, but it requires
some module changes, and to enable PSA crypto (new "standard" API
specification), so it might be best done in a separate commit/PR.
2024-04-10 21:19:22 +02:00
Edward Moulsdale
6b4a7598c7
Add unit tests for JSONRPC
2024-04-10 18:27:08 +01:00
Rémi Verschelde
67076c167d
Merge pull request #90448 from vnen/gdscript-infer-string-format
...
GDScript: Infer type with string format operator
2024-04-10 17:49:49 +02:00
Rémi Verschelde
8611fd8400
Merge pull request #90442 from vnen/gdscript-dont-warn-using-default-builtin
...
GDScript: Don't warn on unassigned for builtin-typed variables
2024-04-10 17:49:44 +02:00
George Marques
877802e252
GDScript: Don't warn on unassigned for builtin-typed variables
...
If the type of a variable is a built-in Variant type, then it will
automatically be assigned a default value based on the type. This means
that the explicit initialization may be unnecessary. Thus this commit
removes the warning in such case.
This also changes the meaning of the unassigned warning to happen when
the variable is used before being assigned, not when it has zero
assignments.
2024-04-10 11:59:57 -03:00
George Marques
4bdba718c5
GDScript: Infer type with string format operator
...
If the left value type is known to be String, assume the format operator
(`%`) will return a string, since it works with any type in the right
hand side. This is also used by type inference even if the right hand
type is unknown at compile time.
2024-04-10 11:49:30 -03:00
Danil Alexeev
02253b6b91
GDScript: Fix continuation lines in GDScriptTokenizerBuffer
2024-04-10 08:51:02 +03:00
jsjtxietian
077e20cd51
Disable mesh compression if vertex position.z is always 0
2024-04-10 11:27:36 +08:00
Bastiaan Olij
b67eba8399
OpenXR: apply fix for reverse Z
2024-04-10 10:35:19 +10:00
Rémi Verschelde
d3d10b55b4
Merge pull request #90422 from bruvzg/net_no_native_embed
...
[.NET] Disable output embedding on macOS, move it to the advanced options on other platforms.
2024-04-09 22:29:41 +02:00
Rémi Verschelde
9a9045cf7a
Merge pull request #89382 from dcaoc03/master
...
Fix enum autocompletion for core classes
2024-04-09 22:25:13 +02:00
Rémi Verschelde
f94bf175df
Merge pull request #87466 from BastiaanOlij/fix_openxr_render_target_multiplier
...
OpenXR: Cleanup swapchain logic (was Fix render target multiplier)
2024-04-09 22:25:03 +02:00
Rémi Verschelde
f8ca571efe
Merge pull request #84043 from dalexeev/gds-fix-unsafe-cast-warning
...
GDScript: Fix `UNSAFE_CAST` warning
2024-04-09 22:24:55 +02:00
bruvzg
bf558adcdd
[.NET] Disable output embedding on macOS, move it to the advanced options on other platforms.
2024-04-09 17:47:39 +03:00
Danil Alexeev
98dac9e39c
GDScript: Fix highlighting escapes in multiline raw strings
2024-04-09 10:21:10 +03:00
Bastiaan Olij
c388fe2ba7
OpenXR: Improve swapchain logic and fix swapchain update when render target multiplier is changed.
2024-04-09 16:56:39 +10:00
Rémi Verschelde
3d382c16ab
Merge pull request #90404 from aaronp64/zipreader_empty_error
...
Fix `ZIPReader.get_files()` error on empty zip files
2024-04-08 23:04:35 +02:00
aaronp64
2dad2fbce2
Fix ZIPReader.get_files() error on empty zip files
...
Added check for empty zip file before trying to look at first file
Fixes #90388
2024-04-08 15:57:35 -04:00
kobewi
809c6817be
Add tests for signal await with parameters
2024-04-08 19:12:01 +02:00
Rémi Verschelde
0c6b5efab3
Merge pull request #90391 from AThousandShips/xr_bind_fix
...
[XR] Fix binds for composition layer virtuals
2024-04-08 18:42:44 +02:00
Rémi Verschelde
0fd440e95f
Merge pull request #90374 from BastiaanOlij/openxr_refresh_rate_signal
...
OpenXR: Add refresh rate signal support
2024-04-08 18:42:38 +02:00
A Thousand Ships
730cfdde66
[XR] Fix binds for composition layer virtuals
2024-04-08 17:28:26 +02:00
Rémi Verschelde
18b6adee9c
Merge pull request #90248 from akien-mga/libktx-4.3.2
...
libktx: Update to 4.3.2
2024-04-08 15:03:19 +02:00
Rémi Verschelde
980e4d7955
Merge pull request #90349 from bruvzg/empty_glyph_test
...
[TextServer] Improve empty glyph handling to allow glyphs smaller than 2px and avoid unnecessary texture updates.
2024-04-08 11:21:58 +02:00
Rémi Verschelde
2ae6343533
Merge pull request #90310 from mhilbrunner/OutdatedDemos
...
Update links to outdated asset library demos
2024-04-08 11:21:38 +02:00
Rémi Verschelde
ad1993455a
Merge pull request #90286 from dsnopek/openxr-composition-layers-intersects-ray
...
Add `intersects_ray()` method to `OpenXRCompositionLayer`
2024-04-08 11:21:18 +02:00
Rémi Verschelde
6640e4179d
Merge pull request #90247 from akien-mga/harfbuzz-8.4.0
...
harfbuzz: Update to 8.4.0
2024-04-08 11:21:11 +02:00
Rémi Verschelde
59cfa0ef75
Merge pull request #90237 from dsnopek/openxr-composition-layers-extension-properties
...
Allow OpenXR extensions to add properties to the OpenXRCompositionLayer node
2024-04-08 11:21:05 +02:00
Rémi Verschelde
cedf4ad011
Merge pull request #90230 from aaronfranke/gltf-sep-shape3d-res
...
Separate Shape3D resource logic in GLTFPhysicsShape
2024-04-08 11:21:02 +02:00
Rémi Verschelde
368d6db6cc
Merge pull request #90060 from warquys/CSharp-DebugInfo
...
Add DebugView for Array and Dictionary, based of the DebugView from the .NET Foundation
2024-04-08 11:20:46 +02:00
Rémi Verschelde
8f1b5d68f1
Merge pull request #90039 from AThousandShips/load_relative_note
...
[Doc] Document loading behavior with relative paths
2024-04-08 11:20:40 +02:00
Rémi Verschelde
08803e7d83
Merge pull request #89839 from timothyqiu/meanwhile
...
Fix node config warning not updating for `Multiplayer{Spawner,Synchronizer}`
2024-04-08 11:20:25 +02:00
Rémi Verschelde
a2f6698098
Merge pull request #89659 from dalexeev/gds-hl-fix-types
...
GDScript: Fix `for` expression is highlighted as type
2024-04-08 11:20:17 +02:00
Bastiaan Olij
148ff6a47f
OpenXR: Add refresh rate signal support
2024-04-08 12:36:17 +10:00
bruvzg
1f8387f8fd
[TextServer] Improve empty glyph handling to allow glyphs smaller than 2px and avoid unnecessary texture updates.
2024-04-07 18:19:45 +03:00
skyace65
c83718624f
Update links to outdated asset library demos
...
Update links to outdated asset library demos
Co-authored-by: Max Hilbrunner <m.hilbrunner@gmail.com>
2024-04-07 16:59:43 +02:00
Nông Văn Tình
316f253558
Show errors when solution file is missing in C# project
...
Fixes : #86591
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2024-04-07 00:25:34 +07:00
David Snopek
025f2b8e7c
Add intersects_ray()
method to OpenXRCompositionLayer
2024-04-06 08:37:30 -05:00
Rémi Verschelde
d619ffdb75
Merge pull request #89897 from alesliehughes/upnp_memory_leak
...
UPNP: Use local variable for UPNPUrls to stop memory leak.
2024-04-06 13:06:28 +02:00
Haoyu Qiu
9bcda8f94c
Prefer family name in fonts' names table
2024-04-06 16:08:59 +08:00
Valentin Arthur Thomas
f8c482b19a
DebugView for Array and dictionary
2024-04-05 19:55:37 +02:00
David Snopek
fddf6dc651
Allow OpenXR extensions to add properties to the OpenXRCompositionLayer node
2024-04-05 07:18:32 -05:00
Rémi Verschelde
d402f5ecf2
libktx: Update to 4.3.2
2024-04-05 12:18:00 +02:00
Rémi Verschelde
383de7da19
Merge pull request #90225 from aaronfranke/gltf-ext-prop-list
...
GLTF export: Propagate `property_list_changed` from extensions
2024-04-05 12:16:41 +02:00
Rémi Verschelde
ecbd668ff3
Merge pull request #90223 from clubby789/optimize-static
...
Don't pass `self` when calling a static function from a non-static context
2024-04-05 12:16:38 +02:00
Rémi Verschelde
0ff056ea2e
Merge pull request #90218 from Repiteo/do-while-false-cleanup
...
Update lingering `do/while(0)` defines
2024-04-05 12:16:34 +02:00
Rémi Verschelde
d100888f0d
Merge pull request #90208 from Repiteo/scons/ninja-msvc
...
SCons: Fix Ninja compilation with MSVC
2024-04-05 12:16:22 +02:00
Rémi Verschelde
ca2d28602b
Merge pull request #90196 from bruvzg/ts_tcase
...
[TextServer] Expose ICU title case string conversion to scripting.
2024-04-05 12:16:18 +02:00
Rémi Verschelde
f2cc814f35
Merge pull request #90118 from AyOhEe/sln-title-fix
...
Fix "Create C# solution" dialog
2024-04-05 12:16:10 +02:00
Rémi Verschelde
7744d59197
Merge pull request #85856 from smix8/tilemap_layers_parse
...
Make 2D navigation mesh baking parse all TileMapLayers
2024-04-05 12:15:43 +02:00
Rémi Verschelde
72f9f8d339
Merge pull request #83217 from paulloz/fix/81903-delegate-capture-serialization
...
[.NET] Fix serialization of delegates capturing variables
2024-04-05 12:15:36 +02:00
Rémi Verschelde
8fcc7a52dc
harfbuzz: Update to 8.4.0
2024-04-05 10:35:10 +02:00
Aaron Franke
92b243dc3c
Separate Shape3D resource logic in GLTFPhysicsShape
2024-04-04 16:22:01 -07:00
Alistair Leslie-Hughes
767bfec8b6
Use local variable to stop memory leak.
...
I've change the urls variable to be a local, instead of manually allocating it all the time.
This is only used locally and was causing a memory leak because FreeUPNPUrls gave the impression it free it.
1. FreeUPNPUrls doesn't free the pointer passed in, that's up to caller.
2. The second if(!urls) produced dead code as we checked the pointer just after allocation.
2024-04-05 09:13:27 +11:00
Aaron Franke
ade5a8d802
Add support for explicitly-defined compound triggers in GLTF files
2024-04-04 14:34:40 -07:00
Jamie Hill-Daniel
164b34a734
Don't pass self
when calling a static function from a non-static context
2024-04-04 21:15:17 +00:00
Aaron Franke
a9416da6ea
GLTF export: Propagate property_list_changed
from extensions
2024-04-04 14:06:09 -07:00
Thaddeus Crews
bbb3eb3a1a
Update lingering do/while(0)
defines
2024-04-04 14:17:22 -05:00
Paul Joannon
c310ecce13
Fix captured variable serialization in delegates
2024-04-04 18:46:11 +02:00
Silc Lizard (Tokage) Renew
04dd299cba
Skeleton3D: Add SkeletonModifier / Deprecate Override / Separate PB
2024-04-05 01:28:26 +09:00
Thaddeus Crews
7918d50297
SCons: Fix Ninja compilation with MSVC
2024-04-04 10:16:33 -05:00
Rémi Verschelde
0c71ba7801
Merge pull request #89880 from dsnopek/openxr-composition-layers-node3d-drs
...
Add support for OpenXR composition layers
2024-04-04 17:09:07 +02:00
David Snopek
0f2b804059
Add support for OpenXR composition layers
...
Co-authored-by: Bastiaan Olij <mux213@gmail.com>
2024-04-04 09:20:23 -05:00
Rémi Verschelde
96a75d99c4
Merge pull request #90064 from lyuma/remove_immutable_post
...
Apply "Remove Immutable Tracks" after post-import.
2024-04-04 14:37:01 +02:00
Rémi Verschelde
1469db5e58
Merge pull request #89968 from Calinou/xr-startup-alert-windows
...
Tweak OpenXR alert to mention WMR only on Windows
2024-04-04 14:35:37 +02:00
Rémi Verschelde
c97885be7d
Merge pull request #89811 from timothyqiu/missing-i18n
...
Fix missing i18n for some editor strings
2024-04-04 14:31:43 +02:00
Rémi Verschelde
acfcdbd291
Merge pull request #88783 from Chubercik/embree-4.3.1
...
embree: Update to 4.3.1
2024-04-04 14:31:02 +02:00
Rémi Verschelde
406d9426cb
Merge pull request #86121 from lawnjelly/occlusion_cull_jitter
...
Jitter raster occlusion camera to reduce false positives.
2024-04-04 14:30:42 +02:00
Rémi Verschelde
e302fb2167
Merge pull request #85386 from RedMser/scene-tree-editor-improvements
...
Improve SceneTreeEditor usability
2024-04-04 14:30:38 +02:00
Rémi Verschelde
c196d12e23
Merge pull request #84947 from raulsntos/dotnet/instance_bindings
...
C#: Use `get_instance_binding` instead of set
2024-04-04 14:30:35 +02:00
smix8
d6ddeec0fd
Make 2D navigation mesh baking parse all TileMapLayers
...
Makes 2D navigation mesh baking parse all TileMapLayers.
2024-04-04 10:45:53 +02:00
bruvzg
27f6f4147b
[TextServer] Expose ICU title case string conversion to scripting.
2024-04-04 10:56:49 +03:00
lawnjelly
691854d589
Jitter raster occlusion camera to reduce false positives.
...
Due to the low resolution of the occlusion buffer, small gaps between occluders can be closed and incorrectly occlude instances which should show through the gaps. To ameliorate this problem, this PR jitters the occlusion buffer over time, making it more likely an instance will be seen through a gap. This is used in conjunction with an occlusion timer per instance, to prevent instances flickering on and off rapidly.
2024-04-03 12:18:45 +01:00
Haoyu Qiu
91204f6f3f
Fix missing i18n for some editor strings
2024-04-03 16:42:28 +08:00
AyOhEe
e18fb27d70
Fixed "Create C# solution" dialog
...
Flipped the title and dialog text to how they should be. It seemed that the title was being put in the dialog text, and vice versa.
2024-04-01 23:01:40 +01:00
RedMser
9cd30208d6
Improve SceneTreeEditor usability
...
- Mark contextually relevant node
- Remember/Clear selection as appropriate
- Scroll to marked/selected node
2024-03-31 21:35:10 +02:00
Lyuma
b0ce274a52
Apply "Remove Immutable Tracks" after post-import.
...
Reimplements "Remove Immutable" by comparing to the skeleton rest.
It is necessary to delay removing animation tracks until after the correct rest pose is calculated in rest-fixer.
Preserves the original implementation in the GLTFDocument / FBXDocument API for compatibility.
2024-03-30 23:45:22 -07:00
Danil Alexeev
27d7760f41
GDScript: Fix uninitialized local variables not being reset
2024-03-30 23:25:30 +03:00
A Thousand Ships
2508c2e309
[Doc] Document loading behavior with relative paths
2024-03-30 13:33:49 +01:00
Fabio Alessandrelli
4b973f451e
[MP] Gracefully handle cache confirmation of deleted nodes
...
It's possible that after sending a cached node reference (e.g. RPC or
static MultiplayerSynchronizer) the reference node is removed from tree
before the remote peer(s) can confirm the referenced path.
To better detect that case, and avoid spamming errors when it happens,
this commit modifies the multiplayer API caching protocol, to send the
received ID instead of the Node path when sending the confirmation
packet.
**This is a breaking change** because it makes the runtime multiplayer
protocol incompatible with previous versions of Godot.
2024-03-29 23:11:04 +01:00
Raul Santos
7d08e8727b
C#: Make internal properties and property accessors public (but hidden)
...
Instead of making the accessors `internal` which can break binary compat, make them `public` but hide them with EB never so they don't show up in IntelliSense.
Also, do the same for properties with the `PROPERTY_USAGE_INTERNAL` flag. These properties were not meant to be exposed to scripting, but since they've been public before all we can do now is hide them.
2024-03-29 20:36:04 +01:00
Hugo Locurcio
e334bf6df4
Tweak OpenXR alert to mention WMR only on Windows
...
WMR isn't supported on non-Windows platforms, so there's no point
in mentioning it in the error message as it's not a possible
cause for OpenXR not initializing.
2024-03-28 06:17:54 +01:00
Jakub Mateusz Marcowski
c43eab55a4
embree: Update to 4.3.1
2024-03-27 22:10:35 +01:00
Rémi Verschelde
aed1775cf2
Merge pull request #89883 from timothyqiu/replication-pin
...
Improve replication editor's pin button
2024-03-26 13:45:42 +01:00
Rémi Verschelde
60d37f1d49
Merge pull request #89843 from kleonc/csharp-transform3d-interpolate-with-first-scale-then-rotate
...
[C#] Fix `Transform3D.InterpolateWith` applying rotation before scale
2024-03-26 13:45:39 +01:00
HolonProduction
d2c2194937
Completion Tests: Add script to owner
2024-03-25 16:17:44 +01:00
Haoyu Qiu
8cfded5934
Improve replication editor's pin button
...
- When unpressed, only hide the editor if MultiplayerSynchronizer is not
selected.
- Add tooltip text.
2024-03-25 23:12:26 +08:00
Rémi Verschelde
195a2a479a
Merge pull request #89666 from bruvzg/emb_os
...
[Font] Apply oversampling to the "embolden" strength.
2024-03-25 13:15:59 +01:00
Rémi Verschelde
c41da69ed7
Merge pull request #89863 from ppphp/resource_format_override
...
Add `override` mark to ResourceFormat class
2024-03-25 11:18:57 +01:00
ppphp
d4e1a74efb
Add 'override' mark to ResourceFormat class
2024-03-25 04:06:34 +08:00
A Thousand Ships
4933fa8bf5
[Buildsystem] Fix encoding when reading files
2024-03-24 18:02:56 +01:00
kleonc
e2ed63b313
[C#] Fix Transform3D.InterpolateWith
applying rotation before scale
2024-03-24 09:31:20 +01:00
Haoyu Qiu
6feb43200b
Fix node config warning not updating for Multiplayer{Spawner,Synchronizer}
2024-03-24 13:53:09 +08:00
Rémi Verschelde
3895639f72
Merge pull request #89756 from zaevi/dotnet/fix_null_array
...
C#: Fix errors when creating `Variant` from null array
2024-03-24 01:23:18 +01:00
Rémi Verschelde
c3370023b6
Merge pull request #89692 from Scony/baking-crash-prevention
...
Add navigation baking crash prevention mechanism
2024-03-24 01:21:56 +01:00
Rémi Verschelde
1c2ff17f12
Merge pull request #89652 from invino4/patch-1
...
Add property `UsingGodotNETSdk` to Godot.NET.Sdk
2024-03-24 01:20:29 +01:00
Rémi Verschelde
7ff6d8cd32
Merge pull request #89547 from Repiteo/dotnet/invariant-strings
...
C#: Implement `InvariantCulture` on Variant strings
2024-03-24 01:17:55 +01:00
Rémi Verschelde
d121873d01
Merge pull request #89542 from aaronfranke/convert-hull-to-mesh-func
...
GLTF: Extract converting hull points to mesh to a helper function
2024-03-24 01:17:15 +01:00
Rémi Verschelde
8a65dd3b9e
Merge pull request #89532 from lyuma/fix_fbxdocument_binding
...
Fix method bindings in FBXDocument by making them virtual in GLTFDocument.
2024-03-24 01:17:02 +01:00
Rémi Verschelde
48cf825839
Merge pull request #89451 from AThousandShips/emit_fix
...
[Core] Disconnect one-shot signals before calling callbacks
2024-03-24 01:15:52 +01:00
Rémi Verschelde
cd4e4c0fcc
Merge pull request #89111 from AThousandShips/vec_use
...
Use `Vector*` component-wise `min/max/clamp` functions where applicable
2024-03-24 01:14:51 +01:00
Pawel Lampe
64fc9e2156
Add navigation baking crash prevention mechanism
2024-03-23 22:20:00 +01:00
Zae
833a03fbf6
C#: Fix errors when creating Variant from null array
2024-03-21 23:55:44 +08:00
Danil Alexeev
0498305b6b
GDScript: Improve DocGen for non-constant expressions
2024-03-21 12:23:54 +03:00
A Thousand Ships
db455e5bee
[Core] Disconnect one-shot signals before calling callbacks
...
This prevents infinite recursion with one-shot connections emitting
themselves
2024-03-20 20:24:44 +01:00
A Thousand Ships
79ba22a73f
Use Vector*
component-wise min/max/clamp
functions where applicable
2024-03-20 13:47:42 +01:00
VolTer
de8b6f7a3c
Add editor settings for autocompletion with NodePath and StringName
2024-03-19 17:23:54 +02:00
Danil Alexeev
d1e2afaae3
GDScript: Do not produce UNUSED_SIGNAL
warning for common implicit uses
2024-03-19 17:43:10 +03:00
bruvzg
f6a532d501
[Font] Apply oversampling to the "embolden" strength.
2024-03-19 08:50:01 +02:00
Danil Alexeev
c45242578a
GDScript: Fix for
expression is highlighted as type
2024-03-18 22:33:08 +03:00
Jason Hunter
bdbd9995f8
Add property UsingGodotNETSdk to Godot.NET.Sdk
...
The Godot.NET.Sdk (for C# use) should define the property `UsingGodotNETSdk` in its [SDK.props](a07dd0d6a5/modules/mono/editor/Godot.NET.Sdk/Godot.NET.Sdk/Sdk/Sdk.props
).
## Why
Defining this property allows shared build configuration (e.g. Directory.Build.targets or other imported msbuild files) to detect deterministically when they are operating within the scope of a project controlled by Godot.NET.Sdk. This enables shared build configuration that may span many different projects within a folder to have Godot.NET.Sdk-specific configuration that only applies to Godot projects.
## Why named UsingGodotNETSdk
This naming scheme is common practice in Microsoft Dotnet SDKs. For example, the property `UsingMicrosoftNETSdk` is defined by the default SDK, `UsingMicrosoftTraversalSdk` is defined by [Microsoft.Build.Traversal](363532de5b/src/Traversal/Sdk/Sdk.props (L10)
), `UsingMicrosoftNoTargetsSdk` by [Microsoft.Build.NoTargets](363532de5b/src/NoTargets/Sdk/Sdk.props (L10)
), and so on. The property `UsingMicrosoftNETSdk` is even used in the implementation of Godot.NET.Sdk for conditional logic of the type predicted here.
Note that these "Using*" properties are _additive_ in the sense that more than one can be defined for a given project (as SDKs can effectively be built upon other SDKs, using them as components). So, it is normal and appropriate for both `UsingMicrosoftNETSdk` and `UsingGodotNETSdk` to be simultaneously defined within the same project.
2024-03-18 09:48:52 -07:00
Thaddeus Crews
300aa202c8
C#: Implement InvariantCulture
on Variant strings
2024-03-15 19:43:00 -05:00
Aaron Franke
3604b57ba3
GLTF: Extract converting hull points to mesh to a helper function
2024-03-15 15:22:48 -07:00
Diogo Costa
935ea10f3a
Fixed enum autocompletion for core classes (Issue #88858 )
...
Minor fix consisted in the use of [[fallthrough]] macro
2024-03-15 20:20:36 +00:00
Lyuma
8232759100
Fix method bindings in FBXDocument by making them virtual in GLTFDocument.
2024-03-15 12:47:02 -07:00
Rémi Verschelde
9c2db0c035
Merge pull request #89495 from akien-mga/pcre2-fix-sljit-compilation-ioscross
...
pcre2: Remove unused sjlit files after last update
2024-03-15 10:40:10 +01:00
Rémi Verschelde
739fcd1b8c
pcre2: Remove unused sjlit files after last update
...
Follow-up to #89371 .
2024-03-15 09:38:45 +01:00
smix8
5d5e85fe07
Add NavigationObstacle options to affect and carve navigation mesh
...
Adds NavigationObstacle options to affect and carve navigation mesh.
2024-03-15 01:45:44 +01:00
Rémi Verschelde
3e773b9167
Merge pull request #89484 from dalexeev/update-gds-doc
...
Update `@GDScript` documentation
2024-03-14 22:35:37 +01:00
Rémi Verschelde
36b33d9b72
Merge pull request #89460 from dsnopek/openxr-composition-layers-multiple
...
OpenXR: Allow GDExtensions to provide multiple, ordered composition layers
2024-03-14 22:35:08 +01:00
Rémi Verschelde
21b33c5ea4
Merge pull request #89418 from lyuma/gltf_vertex_packing
...
Only store vertices referenced by the indices per surface in the glTF importer
2024-03-14 22:34:52 +01:00
Rémi Verschelde
37b08a3724
Merge pull request #89356 from lyuma/vsk-gltf-sparse-accessors-4.3
...
GLTF export: Use sparse accessors for morph targets
2024-03-14 22:34:47 +01:00
Rémi Verschelde
453485aede
Merge pull request #89270 from Repiteo/enforce-typename-in-templates
...
Enforce template syntax `typename` over `class`
2024-03-14 22:34:37 +01:00
Danil Alexeev
0c48845247
Update @GDScript
documentation
2024-03-14 17:51:41 +03:00
Lyuma
77f6e35a8d
glTF importer now only stores vertices referenced by the indices per surface.
2024-03-13 18:34:55 -07:00
David Snopek
308a6a4734
OpenXR: Allow GDExtensions to provide multiple, ordered composition layers
...
Co-authored-by: Bastiaan Olij <mux213@gmail.com>
2024-03-13 17:53:15 -05:00
Rémi Verschelde
da945ce626
Merge pull request #89444 from AThousandShips/article_fix
...
[Doc] Fix some incorrect uses of `a/an`
2024-03-13 22:16:50 +01:00
Rémi Verschelde
a1c476f9d7
Merge pull request #87680 from AThousandShips/the_angry_count
...
Add methods to get argument count of methods
2024-03-13 22:16:43 +01:00
A Thousand Ships
24c9d442e9
[Doc] Fix some incorrect uses of a/an
2024-03-13 21:20:28 +01:00
Adam Scott
9f605e0187
Fix GCC build failure
2024-03-13 15:02:17 -04:00
Rémi Verschelde
48b650c254
Merge pull request #89422 from Repiteo/clang-tidy-NULL
...
clang-tidy: Enforce `modernize-use-nullptr`
2024-03-13 18:41:39 +01:00
Rémi Verschelde
0478998148
Merge pull request #89414 from bruvzg/update_icu_msdfgen
...
Update ICU and msdfgen.
2024-03-13 18:41:35 +01:00
Rémi Verschelde
6c482fad89
Merge pull request #89207 from bruvzg/_ts_req
...
[TextServer] Use GDVIRTUAL_REQUIRED_CALL for required extensions methods, update extension docs.
2024-03-13 18:41:28 +01:00
Rémi Verschelde
8620f7356b
Merge pull request #83037 from dalexeev/gds-fix-warning-ignore-issues
...
GDScript: Fix `@warning_ignore` annotation issues
2024-03-13 18:41:21 +01:00
Rémi Verschelde
6ba0179682
Merge pull request #64488 from reduz/interactive-music-take3
...
Add interactive music support
2024-03-13 14:32:21 +01:00
bruvzg
3bb5047db3
[TextServer] Use GDVIRTUAL_REQUIRED_CALL for required extensions methods, update extension docs.
2024-03-13 12:57:39 +02:00
bruvzg
0d02568ff8
Update ICU and msdfgen.
2024-03-13 09:12:50 +02:00
Juan Linietsky
43b78cd2ad
Add interactive music support
...
This PR adds 3 types of audio streams used for interactive music support.
* AudioStreamInteractive: Allows setting several sub-streams and transition between them with many options.
* AudioStreamPlaylist: Allows sequential or shuffled playback of a list of streams.
* AudioStreamSynchronized: Allows synchronous playback of several streams, the volume of each can be controlled.
Theese three stream types can be combined to create complex, layered interactive music and transitions between them, similar to software such as WWise.
2024-03-12 21:54:59 +01:00
Danil Alexeev
ef1909fca3
GDScript: Fix @warning_ignore
annotation issues
2024-03-12 19:00:06 +03:00
Thaddeus Crews
3b3e2374c9
clang-tidy: Enforce modernize-use-nullptr
2024-03-12 10:59:53 -05:00
Rémi Verschelde
48ad83a4e7
Merge pull request #88827 from adamscott/add-browse-folder-icon
...
Add browse folder and browse file icons
2024-03-12 16:28:03 +01:00
Adam Scott
44d3ce2c11
Add browse folder and browse file icons
2024-03-12 09:57:59 -04:00
Rémi Verschelde
061e0c758d
Merge pull request #89395 from bruvzg/rtl_ts_img_range
...
[RTL] Use "visible characters" property for inline object visibility
2024-03-12 14:23:03 +01:00
Lyuma
db2c9571bb
glTF export: morph targets are relative, so use zero as reference
2024-03-12 02:39:15 -07:00
K. S. Ernest (iFire) Lee
1e63a2a132
Update buffer view target handling, encode sparse accessors as vec3.
...
Co-authored-by: Lyuma <xn.lyuma@gmail.com>
2024-03-12 02:39:00 -07:00
bruvzg
433de7f1a8
[RTL] Use "visible characters" property for inline object visibility
2024-03-12 11:28:45 +02:00
Rémi Verschelde
b1b0a526d8
Merge pull request #89393 from Repiteo/retire-subprocess_main
...
SCons: Remove `run_in_subprocess` & `subprocess_main` dependencies
2024-03-11 23:48:21 +01:00
Rémi Verschelde
d5856f864f
Merge pull request #89383 from bruvzg/font_no_bitmaps
...
[Font] Add option to disable embedded bitmaps loading.
2024-03-11 23:48:17 +01:00
Thaddeus Crews
5a6e3cbcb0
SCons: Remove run_in_subprocess
dependency
2024-03-11 13:20:09 -05:00
bruvzg
911fa38d3a
[Font] Add option to disable embedded bitmaps loading.
2024-03-11 16:31:10 +02:00
Rémi Verschelde
f040a351c2
Merge pull request #89381 from aaronfranke/disable-3d
...
Disable all 3D nodes, physics, and resources when compiling without 3D
2024-03-11 14:02:57 +01:00
Jakub Marcowski
dab95993c6
pcre2: Update to 10.43
2024-03-11 11:42:02 +01:00
Aaron Franke
6aac3e4a16
Disable all 3D nodes, physics, and resources when compiling without 3D
2024-03-11 01:00:55 -07:00
Rémi Verschelde
53701a0234
Merge pull request #89361 from Repiteo/scons/with-statement
...
SCons: Ensure `with` statement where applicable
2024-03-10 21:13:18 +01:00
Thaddeus Crews
fb299d0fb1
SCons: Ensure with
statement where applicable
2024-03-10 12:57:57 -05:00
Lyuma
fd2aa564ab
gltf export: Remove snapping and fix validation
...
Round min/max correctly in accessors
Include correct target in vertex and indices bufferViews
Avoid use of Math::snapped
Normalize vertex weights.
2024-03-10 06:07:46 -07:00
A Thousand Ships
59bcc2888c
Add methods to get argument count of methods
...
Added to:
* `Callable`s
* `Object`s
* `ClassDB`
* `Script(Instance)`s
2024-03-10 11:02:43 +01:00
Rémi Verschelde
0ace0a1292
Merge pull request #89333 from Repiteo/enforce-eol-python
...
Enforce `\n` eol for Python writes
2024-03-09 22:20:23 +01:00
Thaddeus Crews
d9fa40f2df
Enforce \n
eol for Python writes
...
• Ensure utf-8 encoding if previously unspecified
2024-03-09 14:29:24 -06:00
Paul Joannon
7290e7d7a5
C#: Fix warnings
...
- Fix most CS0108 in generated glue
- Suppress CA1001 on `Variant`
2024-03-09 17:05:23 +01:00
Rémi Verschelde
877cd12da8
Merge pull request #89284 from mihe/lsp-multiple-messages
...
Allow LSP to process multiple messages per poll
2024-03-09 00:52:29 +01:00
Danil Alexeev
87718d2a6e
Editor Help: Add syntax highlighting for code blocks
2024-03-09 00:02:31 +03:00
Mikael Hermansson
e2485044a1
Allow LSP to process multiple messages per poll
2024-03-08 18:49:29 +01:00
Rémi Verschelde
7755079f39
Merge pull request #89025 from Chubercik/clipper2-1.3.0
...
clipper2: Update to 1.3.0
2024-03-08 13:09:21 +01:00
ACB
7426b4d448
Fix user after free in GDScriptLanguage::debug_get_globals
2024-03-08 07:32:31 +01:00
Thaddeus Crews
9903e6779b
Enforce template syntax typename
over class
2024-03-07 22:39:09 -06:00
George Marques
8e520454ef
GDScript: Add @export_custom annotation
...
Allows setting any arbitrary hint, hint string, and usage flags.
Useful for more complex hints or potential future hints not
available as a dedicated annotation.
2024-03-07 10:55:21 -03:00
Rémi Verschelde
0acc4276b6
Merge pull request #82952 from AbelToy/gds-export-array
...
Allow `@export`ed Arrays to set property hints for their elements
2024-03-06 09:49:53 +01:00
Abel Toy
882441a0ad
Support Array and PackedArray in @export_*
2024-03-06 16:17:54 +09:00
Hugo Locurcio
8221e7546b
Add editor shortcuts to toggle bottom panel visibility
...
Default shortcuts use the first or second letter of each word.
This also adds a new shortcut to toggle the last opened bottom panel.
On editor startup, this defaults to the first panel in the list
(which is the Output panel).
2024-03-05 15:53:15 +01:00
Rémi Verschelde
b59166d77a
Merge pull request #89171 from bruvzg/fix_fb_breaks
...
[TextServer] Fix fallback line breaking code adding two breaks for CR-LF.
2024-03-05 09:56:22 +01:00
RedMser
2bd714e34e
Allow configuring the script filename casing rule
...
Defaults to "Auto", which detects the casing based on the
preference of the currently selected language (C# for example
prefers PascalCase whereas GDScript prefers snake_case).
2024-03-05 09:43:29 +01:00
bruvzg
b58e45ed43
[TextServer] Fix fallback line breaking code adding two breaks for CR-LF.
2024-03-05 09:15:11 +02:00
A Thousand Ships
1e61e42250
[GDScript] Fix some test file paths
2024-03-04 19:11:28 +01:00
Rémi Verschelde
e40010a8e1
Merge pull request #89108 from Faless/mp/fix_config_reload
...
[MP] Fix replication config reload error
2024-03-04 13:34:22 +01:00
Rémi Verschelde
dd2a611118
Merge pull request #89092 from AThousandShips/csharp_doc
...
[C#] Fix typo in `Color` documentation
2024-03-04 13:34:06 +01:00
Rémi Verschelde
6315429999
Merge pull request #89007 from paulloz/dotnet/fix-interpolated-string-scriptpropertydefval
...
[.NET] Fix interpolated strings in ScriptPropertyDefVal
2024-03-04 13:33:25 +01:00
Rémi Verschelde
7be96a55c4
Merge pull request #86973 from HolonProduction/tests-batch-1
...
Add tests for `get_node` autocompletion
2024-03-04 13:32:55 +01:00
Rémi Verschelde
b392ab5ff4
Merge pull request #85918 from 20kdc/tnj-static-called-on-instance-fix-confusion
...
GDScript: Adjust `STATIC_CALLED_ON_INSTANCE` warning to not force native type
2024-03-04 13:32:47 +01:00
Rémi Verschelde
5d3369e095
Merge pull request #85153 from Repiteo/scons-improve-logs
...
SCons: Add two new `COMSTR` environment variables
2024-03-04 13:32:38 +01:00
Rémi Verschelde
1598af5668
Merge pull request #83504 from Repiteo/c#-generator-langword-check
...
C#: Bindings generator langword check
2024-03-04 13:32:34 +01:00
Fabio Alessandrelli
45e8fa10c1
[MP] Fix replication config reload error
...
Override the `reset_state` method to properly handle reloading the
resource from disk.
2024-03-03 11:13:00 +01:00
HolonProduction
1621e725fa
Fix autocompletion after DOLLAR token
2024-03-02 18:56:02 +01:00
A Thousand Ships
5aadb8660b
[C#] Fix typo in Color
documentation
2024-03-02 18:13:01 +01:00
Rémi Verschelde
f2045ba822
Merge pull request #88933 from raulsntos/dotnet/pre-commit
...
Move dotnet-format script to pre-commit
2024-03-02 10:48:25 +01:00
Raul Santos
97851f0340
Move dotnet-format script to pre-commit
...
Co-authored-by: Paul Joannon <437025+paulloz@users.noreply.github.com>
2024-03-02 08:25:48 +01:00
Thaddeus Crews
0ce9b6fd1d
Add two new COMSTR environment variables
2024-03-01 12:44:03 -06:00
Rémi Verschelde
34effe41dc
Merge pull request #89036 from Mickeon/documentation-uncommon-words-2
...
Overhaul some "uncommon" wording in class reference
2024-03-01 17:22:18 +01:00
Rémi Verschelde
0e0f564cea
Merge pull request #89021 from wheatear-dev/test-crypto-key
...
Add unit tests for CryptoKey
2024-03-01 17:22:12 +01:00
Micky
c54e09a5a3
Overhaul some "uncommon" wording in class reference
2024-03-01 15:32:38 +01:00
20kdc
24181d1055
GDScript: Adjust STATIC_CALLED_ON_INSTANCE warning to not default to the native type, and to not trigger on self-calls
...
Not defaulting to the native type rationale:
Defaulting to the native type is less than useful, as:
* There are very few native types that are extensible and have static methods.
* Defaulting to the native type does not account for a method being script-defined.
While the "real fix" would be to carefully track the source of the method, the get_function_signature method is already complicated enough.
This will at least ensure the resulting code should always be valid.
Not triggering on self-calls rationale:
Found in PR comment https://github.com/godotengine/godot/pull/85918#issuecomment-1935864459
```
static func example():
pass
func example2():
example() # self-call on static function
```
Disabling this warning on self-calls is:
* Consistent with other languages
* Important for anonymous classes (where the output code is unusable)
2024-03-01 17:14:59 +03:00
Micky
7b3e1a5bde
Optimize SceneTree's change_scene_to_file
autocompletion
2024-03-01 15:12:52 +01:00
HolonProduction
a2e7c64dc4
Cleanup
2024-03-01 13:06:37 +01:00
HolonProduction
1f42455e0a
Debugging additions
2024-03-01 11:38:49 +01:00
Paul Joannon
42233284b1
Fix interpolated strings in ScriptPropertyDefVal
2024-03-01 11:24:46 +01:00
HolonProduction
fc7d7d3dae
Add test for get_node
autocompletion
2024-03-01 11:24:06 +01:00
Jakub Marcowski
973448ec4c
clipper2: Update to 1.3.0
2024-03-01 11:12:59 +01:00
Edward Moulsdale
e461496ecb
Add unit tests for CryptoKey
2024-03-01 07:17:59 +00:00
Rémi Verschelde
7d2ca2d8ac
Merge pull request #89005 from dalexeev/gds-fix-res-format-loader-path
...
GDScript: Fix paths in `ResourceFormatLoaderGDScript::load()`
2024-02-29 15:18:55 +01:00
Rémi Verschelde
b0c184c9c9
Merge pull request #88994 from TCROC/fix-c#-missing-epsilon-64bit
...
Fix C# epsilon compiler error on double precision build
2024-02-29 15:18:47 +01:00
Travis Lange
09c6cb1250
Fix C# epsilon compiler error on double precision build
2024-02-29 08:25:37 -05:00
Danil Alexeev
0908ad4005
GDScript: Fix paths in ResourceFormatLoaderGDScript::load()
2024-02-29 16:04:31 +03:00
Rémi Verschelde
7434f8b4e3
Merge pull request #88959 from akien-mga/pre-commit-clang-17.0.6-black-24.2.0
...
Pre-commit: Update to clang-format 17.0.6 and black 24.2.0
2024-02-29 13:54:38 +01:00
Rémi Verschelde
9101067666
Merge pull request #88958 from 398utubzyt/gltf/use-correct-name
...
Fix compilation errors when `DISABLE_DEPRECATED` is defined
2024-02-29 13:54:35 +01:00
Rémi Verschelde
9278856ff7
Merge pull request #88948 from dalexeev/core-add-callable-create
...
Core: Add `Callable.create` static method for `Variant` callables
2024-02-29 13:54:22 +01:00
Rémi Verschelde
c9b531c613
Merge pull request #88920 from AThousandShips/group_doc_fix
...
[Doc] Fix some incorrect uses of "children"
2024-02-29 13:54:18 +01:00
Rémi Verschelde
d194378043
Merge pull request #88904 from akien-mga/efs-tell-me-what-you-import
...
EditorFileSystem: Add verbose print for file being (re)imported
2024-02-29 13:54:14 +01:00
Rémi Verschelde
172b254687
Merge pull request #88664 from RandomShaper/res_load_modes
...
Enhance cache modes in resource loading
2024-02-29 13:54:07 +01:00
A Thousand Ships
9b5cd8e240
[Doc] Fix some incorrect uses of "children"
2024-02-29 11:52:55 +01:00
Danil Alexeev
d90c9db27f
Core: Add Callable.create
static method for Variant
callables
2024-02-29 10:45:00 +03:00
BlueCube3310
8239aeec8e
Image: Add static is_format_compressed
function.
2024-02-28 19:42:06 +01:00
Rémi Verschelde
3a08c646ee
Pre-commit: Update to clang-format 17.0.6 and black 24.2.0
2024-02-28 14:25:35 +01:00
398utubzyt
4c69e8c026
Fix compilation errors when DISABLE_DEPRECATED
is defined
2024-02-28 05:09:29 -08:00
Rémi Verschelde
093cdd2188
EditorFileSystem: Add verbose print for file being (re)imported
...
Also print the time it took for each file.
2024-02-28 09:59:46 +01:00
Rémi Verschelde
ac4376814b
Merge pull request #88931 from clayjohn/GLTF-normals
...
Fix wrong indexing when generating dummy tangents in GLTF import
2024-02-27 21:23:14 +01:00
Rémi Verschelde
ed2ff19cd7
Merge pull request #88909 from emre0altan/clarify-c#-color-opacity-comment
...
Clarify C# Color opacity comment
2024-02-27 21:23:07 +01:00
Rémi Verschelde
a64cb8eff3
Merge pull request #88570 from paulloz/dotnet/warnings-editorconfig-cleanup
...
[.NET] Better `.editorconfig` setup in `modules/mono/`
2024-02-27 21:23:03 +01:00
Rémi Verschelde
21ee3716c2
Merge pull request #82122 from dalexeev/gds-add-export-hidden-annotation
...
GDScript: Add `@export_storage` annotation
2024-02-27 21:22:49 +01:00
clayjohn
14c776f798
Fix wrong indexing when generating dummy tangents in GLTF import
2024-02-27 11:44:57 -08:00
Paul Joannon
139a5df821
Cleanup C# projects, code quality & style
...
New rules:
- Do not silence CA1805 any more
- Limit where we silence CA1707, CA1711, CA1720
- Enforce severity=warning for IDE0040
- Enforce Allman style braces
- Enforce naming conventions (IDE1006 is still severity=suggestion)
Fixes:
- Fix REFL045, CS1572, CS1573
- Suppress CS0618 when generating `InvokeGodotClassMethod`
- Fix indent when generating GD_constants.cs
- Temporarily silence CS1734 in generated code
- Fix a lot of naming rule violations
Misc.:
- Remove ReSharper comments for RedundantNameQualifier
- Remove suppression attributes for RedundantNameQualifier
- Remove severity=warnings for CA1716, CA1304 (already included in the level of analysis we run)
2024-02-27 20:11:24 +01:00
Rémi Verschelde
f5dbbf7fd0
Merge pull request #88921 from Repiteo/dotnet/deprecate-check-fix
...
C#: Only check for empty deprecation message if deprecated
2024-02-27 18:27:10 +01:00
Thaddeus Crews
be7019de0f
C#: Only check for empty deprecation message if deprecated
2024-02-27 10:22:32 -06:00
Nông Văn Tình
52c4abea17
Revise implementation to match the implementation in core
...
Fixes : #88834
2024-02-27 23:19:15 +07:00
blackbird806
e2f1af8742
Remove self includes in some files
2024-02-27 17:10:54 +01:00
emre0altan
4100a23c5e
Clarify C# Color opacity comment
2024-02-27 15:56:21 +00:00
Rémi Verschelde
21e3b2111e
Merge pull request #88862 from smix8/split_physics_classes
...
Split monolithic physics class files
2024-02-27 16:37:07 +01:00
smix8
35dafc9fa8
Split monolithic physics class files
...
Splits monolithic physics class files.
2024-02-27 11:18:16 +01:00
Rémi Verschelde
0499b57d9e
Merge pull request #88876 from dalexeev/gds-fix-type-highlighting-after-whitespace
...
GDScript: Fix type highlighting after whitespace
2024-02-27 10:18:42 +01:00
Rémi Verschelde
bbe263d329
Merge pull request #88823 from jsjtxietian/limit-NoiseTexture3D
...
Do overflow check in when generating NoiseTexture3D
2024-02-27 10:18:09 +01:00
Rémi Verschelde
3780604d79
Merge pull request #88819 from lyuma/import_nodes_as_skeleton_bones
...
Add new scene import option to import as Skeleton
2024-02-27 10:18:00 +01:00
Rémi Verschelde
8f98ed65f7
Merge pull request #88738 from clayjohn/mesh_compression-tangents
...
Multiple fixes for compressed meshes
2024-02-27 10:17:43 +01:00
Rémi Verschelde
730ef374b4
Merge pull request #88652 from RobProductions/fix-hover-margin
...
Fix editor hover style margins when Draw Extra Borders is enabled
2024-02-27 10:17:34 +01:00
jsjtxietian
3d17aaca71
Do overflow check in when gererating NoiseTexture3D
2024-02-27 12:20:03 +08:00
Danil Alexeev
a10241bfe4
GDScript: Fix type highlighting after whitespace
2024-02-26 20:49:05 +03:00
Pedro J. Estébanez
5e144022e7
Enhance cache modes in resource loading
...
- Unify documentation, hoping to clear misconcepctions about about propagation of the cache mode across dependant loads.
- Clarify in docs that `CACHE_MODE_REPLACE` now also works on the main resource (from #87008 ).
- Add two recursive modes, counterparts of `CACHE_MODE_REPLACE` and `CACHE_MODE_IGNORE`, since it seems some need them (see #59669 , #82830 ).
- Let resources, even loaded with one of the ignore-cache modes, get a path, which is useful for tools.
2024-02-26 14:59:04 +01:00
Aaron Franke
c399424db9
Move 3D-only resources to their own folder
2024-02-26 05:23:04 -06:00
Aaron Franke
1cb531ddb6
Move 2D-only resources to their own folder
2024-02-26 05:22:45 -06:00
Lyuma
652ef966f9
Add new scene import option to import as Skeleton
...
Adds a bool import option `nodes/import_as_skeleton_bones`.
This is supported in all FBX or GLTF document based formats.
It is especially useful for retargeting and importing animations.
2024-02-26 03:06:07 -08:00
Aaron Franke
138180fe01
Move 3D-only navigation code to its own subfolder
2024-02-26 04:19:12 -06:00
Aaron Franke
fd582dca62
Move 2D-only navigation code to its own subfolder
2024-02-26 04:18:13 -06:00