Commit Graph

61568 Commits

Author SHA1 Message Date
c5e6a5863d Fix Script Editor saves C# files as embedded scripts
fixes: #88543
fixes: #88160

Because of the limitations of compiled programming languages like C#, when a newly created *.cs file hasn't been compiled, we don't have any information about its `Path` or `Type` in the `assemply`. This means we end up creating an invalid instance of this file whenever there's a request. Consequently, multiple instances of the script can exist. When a new instance takes over the path, it clears the `path_cache` of the previous instance, leading to undefined behavior.
2024-02-25 22:08:18 +07:00
2e7fc81315 Merge pull request #88740 from dsnopek/webxr-linting-issues
Fix lint errors in WebXR module
2024-02-23 23:42:59 +01:00
fa81e12588 Fix lint errors in WebXR module 2024-02-23 16:24:58 -06:00
3abb32671e Merge pull request #88736 from dsnopek/ci-godot-cpp-42
Use godot-cpp 4.2 for the "Godot CPP" CI workflow
2024-02-23 22:57:49 +01:00
cf9de66389 Merge pull request #88411 from dsnopek/webxr-hand-tracking
WebXR: Add support for hand tracking
2024-02-23 22:57:46 +01:00
36008be8d9 Merge pull request #81746 from fire/vsk-ufbx
Add ufbx for FBX importing
2024-02-23 22:57:38 +01:00
04d43947bf Add ufbx for FBX importing
This update introduces a new import method for FBX files using ufbx. If the fbx2gltf import fails, it will use the most recently cached scene from the ufbx import. The process is sped up by introducing threads to load the ufbx portion.

Key changes include:

- Support for importing geometry helper nodes in FBX files.
- Addition of cameras and lights with updated names.
- Removal of the fbx importer manager.
- Introduction of ModelDocument3D and updates to its methods.
- Changes to FBX import options and visibility.
- Updating the documentation and handling some errors.
- Store the original non-unique node, mesh and animation names in FBX and glTF.

Co-Authored-By: bqqbarbhg <bqqbarbhg@gmail.com>
2024-02-23 22:33:04 +01:00
7fa8ccd1ed WebXR: Add support for hand tracking 2024-02-23 15:30:10 -06:00
2fe8f07b6c Merge pull request #88731 from ajreckof/Removing-element-in-array-will-not-change-page-when-emptying-page-
Fix removing element in array inspector not changing page when emptying page.
2024-02-23 22:19:36 +01:00
4ec8976fdd Merge pull request #88726 from RandomShaper/node_cust_leak
Fix leak of scene used for customization during export
2024-02-23 22:19:33 +01:00
41f39cfa04 Merge pull request #88724 from AThousandShips/xr_build_fix
[XR] Fix building on MinGW
2024-02-23 22:19:28 +01:00
0c00dbb395 Merge pull request #88716 from timothyqiu/keep-fs
Don't translate filenames in FileSystem dock
2024-02-23 22:19:25 +01:00
09c58edc0a Merge pull request #88708 from AThousandShips/experimental_docs
[Docs] Fix some experimental/deprecated hints
2024-02-23 22:19:22 +01:00
491cd402cc Merge pull request #88706 from RandomShaper/no_spammy_wtp
Remove spammy dev-mode message about load deadlock prevention
2024-02-23 22:19:19 +01:00
080f20124a Merge pull request #88704 from AThousandShips/no_3d_fix_2
Fix some additional errors with 3D disabled
2024-02-23 22:19:15 +01:00
b9cb3b03ff Merge pull request #88702 from Chubercik/tinyexr-1.0.8
tinyexr: Update to 1.0.8
2024-02-23 22:19:11 +01:00
b17456bc42 Merge pull request #88685 from KoBeWi/redialog
Improve Run Instances Dialog
2024-02-23 22:19:08 +01:00
0d83267923 Merge pull request #88639 from dsnopek/xrserver-hand-tracker
Provide generic interface for XR hand tracking
2024-02-23 22:19:05 +01:00
fd788d7df9 Merge pull request #88584 from ryevdokimov/hide_grid_per_viewport
Add ability to hide grid per viewport
2024-02-23 22:19:01 +01:00
77666286b7 Merge pull request #88020 from emre0altan/match-null-crashes-GDScript-compiler
GDScript: Set `has_type` false if it is `BUILTIN` but `Variant::NIL`
2024-02-23 22:18:55 +01:00
4582ee1a0f Merge pull request #87760 from kitbdev/extract-bottom-dock
Extract BottomPanel from EditorNode
2024-02-23 22:18:50 +01:00
d71ee02491 Merge pull request #87619 from akien-mga/scons-d3d12-install-fix-linux-support
SCons: Add proper MinGW support to D3D12 deps install script
2024-02-23 22:18:46 +01:00
4042dca580 Merge pull request #87462 from WhalesState/popup-menu
Fix PopupMenu doesn't respect its ScrollContainer's margins
2024-02-23 22:18:43 +01:00
39bd685814 Use godot-cpp 4.2 for the "Godot CPP" CI workflow 2024-02-23 15:16:09 -06:00
5fd9d0891f SCons: Add proper MinGW support to D3D12 deps install script
Fix a couple GCC warnings.
2024-02-23 22:13:22 +01:00
fdf2b25754 Improve Run Instances Dialog 2024-02-23 21:07:46 +01:00
3a707b1f54 Fix some additional errors with 3D disabled
* Disabled 2D navigation tests as they do not work
* Disabled tests for primitive meshes
* Unbound some `Mesh` methods that rely on 3D resources
* Unexposed `World3D` as it depends on physics (and isn't useful)
* Unexposed some `Viewport` vrs related properties that had unexposed
  methods
2024-02-23 20:58:56 +01:00
4f2074ebd9 Removing element in array will not change page when emptying page. 2024-02-23 20:41:32 +01:00
9e6158d687 [Docs] Fix some experimental/deprecated hints 2024-02-23 19:48:53 +01:00
d103b5570f Fix leak of scene used for customization during export 2024-02-23 19:30:55 +01:00
2184fa9698 Provide generic interface for XR hand tracking 2024-02-23 12:20:22 -06:00
efeb6be084 [XR] Fix building on MinGW
Destructor was defined in multiple places due to multiple inheritance
2024-02-23 19:10:33 +01:00
9c63a5222d Don't translate filenames in FileSystem dock 2024-02-24 01:00:01 +08:00
df431542c3 Add ability to hide grid per viewport 2024-02-23 10:25:29 -05:00
851f1d49d7 Remove spammy dev-mode message about load deadlock prevention 2024-02-23 14:54:03 +01:00
7884d63281 Fix PopupMenu doesn't respect it's ScrollContainer's margins 2024-02-23 15:51:47 +02:00
87d40ba743 Merge pull request #88701 from smix8/bake_rect_debug
Add debug visual for NavigationRegion2D bake rect
2024-02-23 13:14:05 +01:00
16122c5dec Merge pull request #85940 from bruvzg/shy
[TextServer] Implement soft hyphen handling.
2024-02-23 13:13:59 +01:00
ab14dec952 tinyexr: Update to 1.0.8 2024-02-23 12:17:27 +01:00
ad017a20ea [TextServer] Implement soft hyphen handling. 2024-02-23 12:40:13 +02:00
1cf407e7c9 Add debug visual for NavigationRegion2D bake rect
Adds debug visual for NavigationRegion2D bake rect.
2024-02-23 11:36:49 +01:00
60b927b4cf Merge pull request #88689 from dsnopek/openxr-extension-wrapper-crash
Fix crash when using OpenXR extension wrappers from GDExtension
2024-02-23 11:29:54 +01:00
0072a0ba31 Merge pull request #88684 from clayjohn/GLES3-visibility-notifier
Implement VisibilityNotifier3D in the compatibility backend
2024-02-23 11:29:50 +01:00
45dd2bd31e Merge pull request #88683 from dsnopek/runtime-classes-in-modules
Allow registering "runtime classes" in modules (not just GDExtension)
2024-02-23 11:29:46 +01:00
b82855bcc1 Merge pull request #88581 from jsjtxietian/dummy-crash
Fail early if shader mode is invalid in dummy renderer
2024-02-23 11:29:42 +01:00
5b968af176 Merge pull request #88444 from DaltonSW/master
Fix function description for `Font.get_char_size()`
2024-02-23 11:29:37 +01:00
12817f2993 Merge pull request #87025 from bruvzg/button_wrap
[Button] Add autowrap feature.
2024-02-23 11:29:32 +01:00
42a15bcc49 Merge pull request #85477 from KoBeWi/submenus_that_shall_not_be_named
Add methods to add submenus without using names
2024-02-23 11:29:28 +01:00
3ce9ae71fc Merge pull request #84906 from /fix-some-defvals 2024-02-23 11:29:22 +01:00
a382e9539b Fail early if shader mode is invalid in dummy renderer 2024-02-23 12:25:02 +08:00