Commit Graph

9214 Commits

Author SHA1 Message Date
acazuc a00cf02241 Add support for KTX & KTX2 image format
Add support glTF KHR_texture_basisu extension
2023-08-19 10:27:29 +02:00
Rémi Verschelde 08d599d89b
Merge pull request #80463 from aaronfranke/gltf-center-of-mass
GLTF: Add center of mass property
2023-08-18 09:31:17 +02:00
Rémi Verschelde 8a02cd0883
Merge pull request #80419 from Faolan-Rad/fix-multi_actionsets
Properly load multiple action sets in XR
2023-08-18 09:30:52 +02:00
Rémi Verschelde a017e9c698
Merge pull request #80119 from MewPurPur/svg-opacities-standardization
Optimize and fix up some SVGs
2023-08-18 09:30:23 +02:00
Rémi Verschelde 5282974c61
SCons: Fix ThorVG build option in TextServers with #80095 2023-08-17 13:40:19 +02:00
Rémi Verschelde 08690d6af5
Merge pull request #80095 from capnm/update_thorvg_0.10.0
Update ThorVG to v0.10.0
2023-08-17 12:29:06 +02:00
Rémi Verschelde 4332a798f9
Merge pull request #79922 from Auburn/cellular-jitter-fix
FastNoiseLite: Fix cellular jitter using incorrect default value
2023-08-17 12:28:41 +02:00
pidogs f476b74ecf
Make CSGShape follow curve's tilt in Path mode
Fixes #65634.
2023-08-17 12:01:29 +02:00
Rémi Verschelde e71ec0b5eb
Merge pull request #80365 from dalexeev/gds-allow-mix-indent-on-blank-lines
GDScript: Allow mixed indentation on blank lines
2023-08-17 11:25:04 +02:00
Rémi Verschelde 37d213b24e
Merge pull request #79972 from smix8/navgenerator_multithreading_4.x
Add multi-threaded NavMesh baking to NavigationServer
2023-08-17 11:22:11 +02:00
Rémi Verschelde 1fda5ea324
Merge pull request #79529 from geowarin/gridmap_shortcuts
Make gridmap shortcuts editable and not conflict with other plugins
2023-08-17 11:21:22 +02:00
Rémi Verschelde 4f00f925b3
Merge pull request #78552 from dalexeev/gds-check-get-node-in-static-func
GDScript: Check `get_node()` shorthand in static functions
2023-08-17 11:20:32 +02:00
Danil Alexeev 00ad9e484e
GDScript: Allow mixed indentation on blank lines 2023-08-17 10:54:43 +03:00
Rémi Verschelde c3fd8752d2
Merge pull request #80612 from akien-mga/scons-disable-exception-handling
SCons: Disable C++ exception handling
2023-08-16 16:56:07 +02:00
Rémi Verschelde 6203f56875
Merge pull request #78865 from MewPurPur/improve-docs-top-sections-VFX
Improve the top docs sections of VFX classes
2023-08-16 16:54:32 +02:00
A Thousand Ships f7fa72c808 Add function `ZIPReader::file_exists` 2023-08-16 15:10:32 +02:00
Rémi Verschelde 3907e53ff6
SCons: Disable C++ exception handling
Upon investigating the extremely slow MSVC build times in #80513, I noticed
that while Godot policy is to never use exceptions, we weren't enforcing it
with compiler flags, and thus still included exception handling code and
stack unwinding.

This is wasteful on multiple aspects:

- Binary size: Around 20% binary size reduction with exceptions disabled
  for both MSVC and GCC binaries.
- Compile time:
  * More than 50% build time reduction with MSVC.
  * 10% to 25% build time reduction with GCC + LTO.
- Performance: Possibly, needs to be benchmarked.

Since users may want to re-enable exceptions in their own thirdparty code
or the libraries they compile with Godot, this behavior can be toggled with
the `disable_exceptions` SCons option, which defaults to true.
2023-08-16 10:23:34 +02:00
Rémi Verschelde 3d1e135bc7
Merge pull request #80656 from konczg/fix_extension_wrapper_extension_casts
Fix casts of XR handles in OpenXRExtensionWrapperExtension
2023-08-16 09:17:48 +02:00
Rémi Verschelde f8aa7caf1d
Merge pull request #80642 from dsnopek/text_server_adv_gdextension-2
Use `String::resize()` and `CharString` in `text_server_adv` again
2023-08-16 09:16:38 +02:00
Rémi Verschelde 1d852cb75e
Merge pull request #80631 from Repiteo/C#-delegate-docstring
C#: Fixed delegate docstring logic
2023-08-16 09:15:50 +02:00
Rémi Verschelde db1a5dc41a
Merge pull request #80630 from Repiteo/C#-paramref
C#: paramref now properly tagged in documentation
2023-08-16 09:15:27 +02:00
Rémi Verschelde 8c3d79ac65
Merge pull request #80628 from Repiteo/C#-CS1574
C#: Implement `proxy_name` for EnumInterface
2023-08-16 09:15:04 +02:00
Rémi Verschelde b44867b947
Merge pull request #77975 from sakrel/shader_debug_info
Add support for GLSL source-level debugging with RenderDoc
2023-08-16 09:11:23 +02:00
Gabor Koncz 61455ff87e Fix casts of XR handles in OpenXRExtensionWrapperExtension
On 32-bit systems, XR handles are defined as uint64_t, so conversion from XR handles to uint64_t requires C-style casts.
2023-08-15 14:55:19 +02:00
David Snopek d585ca546b Use `String::resize()` and `CharString` in text_server_adv again 2023-08-14 18:12:05 -05:00
Thaddeus Crews 10cc46196b
C#: paramref now properly tagged in documentation
• If part of a signal, the old documentation style is used, as it points to a delegate & doesn't have actual parameters to reference
2023-08-14 15:16:52 -05:00
Thaddeus Crews 4d7c07a132
C#: Fixed delegate docstring logic
• No longer produces double-summaries
2023-08-14 11:17:47 -05:00
Thaddeus Crews 51154a86a1
Implement proxy_name for EnumInterface
• Fixes generated CS1574 warnings
2023-08-14 10:47:14 -05:00
Rémi Verschelde 6b5e44f3ca
Merge pull request #80510 from dalexeev/gds-fix-access-inner-class-from-inside
GDScript: Fix "Identifier not found" error when accessing inner class from inside
2023-08-14 15:28:57 +02:00
Rémi Verschelde 06eaa8c95c
Merge pull request #80543 from mandryskowski/csgmesh_docs
Clarify the behavior of CSGMesh using ArrayMesh
2023-08-14 09:37:22 +02:00
Rémi Verschelde 8a9e04bc94
Merge pull request #80521 from scgm0/master
C#: Fix exporting for Android
2023-08-14 09:36:58 +02:00
Rémi Verschelde e1bb9b523d
Merge pull request #80506 from sepTN/fix-lambda-get_method
Fix `get_method` from named lambda
2023-08-14 09:36:35 +02:00
MewPurPur 93318d2dd5 Optimize and fix up some SVGs 2023-08-13 17:48:17 +03:00
Markus Sauermann fa8fec2cc1 Fix superfluous `"` in error message 2023-08-13 00:38:10 +02:00
sakrel 80a36ff985 Add support for GLSL source-level debugging with RenderDoc (`--generate-spirv-debug-info`) 2023-08-12 14:56:49 +02:00
mandryskowski 378f835a9c
Clarify the behaviour of CSGMesh3D using ArrayMesh 2023-08-12 13:21:27 +02:00
scgm0 05bc070f7c C#: Fix exporting for Android 2023-08-12 09:22:49 +08:00
MewPurPur 57d05ffc66 Improve the top docs sections of VFX classes 2023-08-11 21:17:04 +03:00
Aaron Franke d12b0787af
GLTF: Add center of mass property 2023-08-11 11:27:01 -05:00
Septian 793cc080cb Fix `get_method` from named lambda 2023-08-11 20:31:08 +07:00
Danil Alexeev fb45cab133
GDScript: Fix "Identifier not found" error when accessing inner class from inside 2023-08-11 11:22:01 +03:00
Geoffroy Warin f80f4eb390 Make gridmap shortcuts editable and not conflict with other plugins
Co-authored-by: Tomek <kobewi4e@gmail.com>
2023-08-10 16:55:59 +02:00
Faolan a60cf6ed6c Properly load multiple action sets in XR 2023-08-09 21:40:16 -04:00
Martin Capitanio ac9e259d3e Update ThorVG to v0.10.0
- Release Notes: https://github.com/thorvg/thorvg/releases/tag/v0.10.0
- API change ARGB8888_STRAIGHT -> ARGB8888S
- SVG-SCsub: Enable static ThorVG object linking
- SVG-SCsub: avoid building unused ThorVG parts
- update-thorvg.sh: add v0.10.0 and copy only the Godot relevant code
2023-08-09 17:15:59 +02:00
Danil Alexeev 0f27c4ad80
GDScript: Check `get_node()` shorthand in static functions 2023-08-09 17:11:38 +03:00
Yuri Sizov 951ea2415b Make EditorInterface accessible as a singleton
- EditorPlugin.get_editor_interface() is removed as redundant.
2023-08-09 16:01:31 +02:00
Rémi Verschelde f7bc653cbe
Merge pull request #80408 from AThousandShips/nav_fix
Fix missing include for `NavigationMesh`
2023-08-08 17:01:34 +02:00
Rémi Verschelde ff1f50f952
Merge pull request #80407 from clayjohn/NoiseTexture3D-format
Remove GPU readback from NoiseTexture3D.get_format()
2023-08-08 17:01:10 +02:00
Ninni Pipping 740e2f3f62 Fix missing include for `NavigationMesh` 2023-08-08 11:12:20 +02:00
clayjohn 60d5571d6c Remove GPU readback from NoiseTexture3D.get_format 2023-08-08 10:56:54 +02:00