1
0
Fork 0
Commit Graph

11816 Commits

Author SHA1 Message Date
Kiro 7e9cbfbcb8 Remove erroneous squared version 2025-01-23 20:11:25 +01:00
Thaddeus Crews d9d705d8ab
Merge pull request #94479 from juanjp600/opt-in-path-rotation-tangent-fix
Add flag to enable use of accurate path tangents for polygon rotation in `CSGPolygon3D`
2025-01-20 16:25:49 -06:00
Thaddeus Crews 7a63dc94ae
Merge pull request #101760 from Faless/ws/fix_endless_closing
[WS] Fix peer stuck in CLOSING state
2025-01-20 10:05:36 -06:00
Mikael Hermansson f4288fb349 Fix kinematic bodies not synchronizing state when using Jolt Physics 2025-01-19 16:18:14 +01:00
Pāvels Nadtočajevs 7f4481284e [TextServer] Fix embedded object keys in substrings. 2025-01-19 10:22:46 +02:00
Fabio Alessandrelli 81181c5941 [WS] Fix peer stuck in CLOSING state
This was due by the buffer being cleared on close (including in closing
state) preventing further reads.

This commit changes the close logic to only clear the buffer when the
peer connection has been fully closed (acknowledged by the other end, or
closed due to a "broken" connection).
2025-01-18 16:01:40 +01:00
Thaddeus Crews 9630d4e2fc
Merge pull request #101632 from bruvzg/gds_tween_property_crash
Fix GDScript editor crash on invalid `tween_property` arguments.
2025-01-17 10:16:55 -06:00
Pāvels Nadtočajevs 14093fdacf [TextServer] Fix ICU data incorrectly marked as loaded even if file was not found. 2025-01-17 15:46:04 +02:00
Juan Pablo Arce dd7bbcc837 Add flag to enable use of accurate path tangents for polygon rotation in `CSGPolygon3D`
The new property is called `path_rotation_accurate`.
2025-01-17 08:18:21 -03:00
Thaddeus Crews 86002e1a3c
Merge pull request #100882 from smix8/node_navmesh_geo_parsers
Make nodes handle their respective navigation source geometry
2025-01-16 17:18:01 -06:00
Thaddeus Crews fd88acc671
Merge pull request #101008 from Repiteo/scons/nocache-all-text
SCons: Properly `NoCache` all text files
2025-01-16 17:17:59 -06:00
Thaddeus Crews 73278bf35d
SCons: Properly `NoCache` all text files 2025-01-16 16:59:12 -06:00
Pāvels Nadtočajevs 576892863c Fix GDScript editor crash on invalid `tween_property` arguments. 2025-01-16 10:40:13 +02:00
Pāvels Nadtočajevs 43bc44e3b0 [TextServer] Fix text buffer not processing strings added after `shape`. 2025-01-16 08:57:27 +02:00
Adam Scott 33e16435f5
Replace some problematic uses of `String::num` to `String::num_int64` 2025-01-15 12:51:51 -05:00
Rémi Verschelde 67f54bd993 Merge pull request #101531 from akien-mga/scene-import-remove-unused-_get_import_flags
Remove unused `EditorSceneFormatImporter::_get_import_flags`
2025-01-14 18:29:40 +01:00
Rémi Verschelde e67e8b8680 Merge pull request #100524 from BlueCube3310/ktx-etc
KTX: Add support for loading most ETC-compressed formats
2025-01-14 18:29:34 +01:00
Rémi Verschelde 21fcb56547 Remove unused `EditorSceneFormatImporter::_get_import_flags`
This has never been used since Godot was open sourced.

Import flags are used but directly through `_import_scene`.
2025-01-14 16:57:06 +01:00
Rémi Verschelde a69ccee151 Merge pull request #101505 from smix8/region_bounds
Add functions to get axis-aligned bounds of navigation regions
2025-01-14 15:06:06 +01:00
Rémi Verschelde 488ee4f010 Merge pull request #100950 from HolonProduction/this-time-we-are-spec-compliant-i-think
JSONRPC: Convert ids to int if they are int by value
2025-01-14 15:05:51 +01:00
BlueCube3310 5608f6565f KTX: Add support for loading most ETC-compressed formats 2025-01-14 13:17:45 +01:00
Rémi Verschelde 336459168f Merge pull request #101455 from Calinou/editor-gridmap-update-preview-size
Make GridMap editor Preview Size setting take effect immediately after change
2025-01-14 12:09:05 +01:00
Rémi Verschelde e8c5d99fea Merge pull request #101271 from aaronfranke/gltf-directional-light-no-range
GLTF: Don't write unused light properties
2025-01-14 12:09:01 +01:00
Rémi Verschelde 48715ff98b Merge pull request #101459 from brevven/patch-2
Docs: Fix typo in `AudioStreamSynchronized`
2025-01-14 00:22:14 +01:00
Rémi Verschelde 73f4ef51ff Merge pull request #101294 from devloglogan/openxr-api-update
Update `OpenXRAPI` memory management
2025-01-14 00:22:06 +01:00
Rémi Verschelde bee5de61de Merge pull request #100365 from BlueCube3310/etc-decompress
Add support for decompressing ETC2
2025-01-14 00:21:55 +01:00
Aaron Franke 01a26c5c8b
GLTF: Don't write unused light properties 2025-01-13 14:33:42 -08:00
devloglogan c242cef627 Use vectors for OpenXRAPI memory management 2025-01-13 16:10:43 -06:00
Rémi Verschelde d19147e09a Merge pull request #101503 from devloglogan/openxr-api-action-handle
Expose OpenXR action handles to GDExtension
2025-01-13 20:22:57 +01:00
Rémi Verschelde a2971985e5 Merge pull request #101189 from mihe/jolt/defer-static-compound
Improve performance of changing compound shapes when using Jolt Physics
2025-01-13 20:22:04 +01:00
smix8 a7520fca6a Add functions to get axis-aligned bounds of navigation regions
Adds functions to get the navigation mesh Rect2 of a NavigationRegion2D or AABB of a NavigationRegion3D.
2025-01-13 20:18:33 +01:00
devloglogan c5e40e11e9 Expose OpenXRAPI methods to get XrAction handles 2025-01-13 13:07:50 -06:00
BlueCube3310 c4fd9f9733 Add etcpak decompression functions 2025-01-12 18:48:03 +01:00
Rémi Verschelde 957097738f Merge pull request #101235 from Repiteo/style/editorconfig
Style: Unify `.editorconfig` logic
2025-01-12 18:07:16 +01:00
Rémi Verschelde 632c77e10b Merge pull request #84264 from HolonProduction/autocompletion-78003
Try to guess method return type even if subscript base has no value
2025-01-12 18:06:52 +01:00
Thaddeus Crews 9d0c41a489
Style: Unify `.editorconfig` logic 2025-01-12 08:49:01 -06:00
smix8 0ed2cb0439 Make nodes handle their respective navigation source geometry
Makes nodes handle their respective navigation source geometry.
2025-01-12 13:14:46 +01:00
brevven cf414f777f
Fix typo in AudioStreamSynchronized.xml
Fix a typo ("being" -> "begin")

Context:

>The streams begin at exactly the same time when play is pressed
2025-01-12 02:44:01 -08:00
Hugo Locurcio 80b8d6dbe6
Make GridMap editor Preview Size setting take effect immediately after change
Previously, you had to interact with the zoom widget after changing
the editor setting for the preview size to update.

This also adds property hints for the GridMap editor settings.
2025-01-12 02:01:30 +01:00
HolonProduction 24912d2010 Autocompletion: Try to guess method return type even if subscript base has no value 2025-01-11 23:50:43 +01:00
Rémi Verschelde 768c60c6ca Merge pull request #101442 from KoBeWi/path_goes_here
Ensure path for shallow scripts
2025-01-11 22:30:22 +01:00
Rémi Verschelde fdd3c8ab81 Merge pull request #101337 from beicause/csharp-okhsl-properties
C#: Add OKHSL properties to Color
2025-01-11 22:29:53 +01:00
kobewi c29e9e9b29 Ensure path for shallow scripts 2025-01-11 21:20:31 +01:00
Rémi Verschelde 4caae29729 Merge pull request #101368 from Hilderin/fix-selection-game-view
Fix selection in 3D Game view
2025-01-10 23:06:28 +01:00
Rémi Verschelde 85fbf7ca84 Merge pull request #101367 from akien-mga/msdfgen-1.12
msdfgen: Update to 1.12
2025-01-10 23:06:25 +01:00
Rémi Verschelde 85358f1738 Merge pull request #101366 from akien-mga/harfbuzz-10.1.0
harfbuzz: Update to 10.1.0
2025-01-10 23:06:22 +01:00
Rémi Verschelde 139619ca0c Merge pull request #101355 from akien-mga/style-clang-format-InsertBraces
Style: Enable clang-format's `InsertBraces` config
2025-01-10 23:06:15 +01:00
Rémi Verschelde 74682f9383 Merge pull request #101231 from mihe/jolt/init-debug-count
Fix debug contact count not being initialized when using Jolt Physics
2025-01-10 23:06:07 +01:00
Rémi Verschelde 3014eec40d Merge pull request #99407 from devloglogan/rec-resolution
Allow using custom `Rect2i` for rendering with OpenXR
2025-01-10 23:05:46 +01:00
Hilderin 055b418e4d Fix Selection Game View 2025-01-10 09:53:17 -05:00
Rémi Verschelde c97c7b73e6 msdfgen: Update to 1.12 2025-01-09 22:03:43 +01:00
Rémi Verschelde 269b1dfa03 harfbuzz: Update to 10.1.0 2025-01-09 21:04:11 +01:00
Rémi Verschelde a024393f71 Merge pull request #101362 from BlueCube3310/etcpak-v200
etcpak: Sync with upstream 2.0
2025-01-09 20:51:44 +01:00
Rémi Verschelde 765c6ab5f8 Merge pull request #101282 from Nazarwadim/use_LocalVector_for_Curve_and_Gradient
Use `LocalVector` for `Curve` and `Gradient`
2025-01-09 20:51:30 +01:00
Rémi Verschelde 496a990fc0 Merge pull request #92526 from dalexeev/gds-remove-renamed-hint-from-warning-enum
GDScript: Remove `RENAMED_IN_GODOT_4_HINT` from `GDScriptWarning::Code` enum
2025-01-09 20:51:21 +01:00
BlueCube3310 84c53607ab Etcpak: Sync with upstream 2025-01-09 19:29:58 +01:00
Danil Alexeev cd918ff470
GDScript: Remove `RENAMED_IN_GODOT_4_HINT` from `GDScriptWarning::Code` enum 2025-01-09 21:07:41 +03:00
Rémi Verschelde 03c83cea1e Style: Enable clang-format's `InsertBraces` config
This was part of our style guide since we started using clang-format
but the feature was only added in clang-format 15, and we hadn't
noticed it yet.
2025-01-09 16:46:51 +01:00
devloglogan e7f6b7ea0b Allow using custom Rect2i for rendering with OpenXR 2025-01-09 09:46:15 -06:00
Rémi Verschelde 4396f8fbd3 Add AudioStreamMP3 `load_from_file`/`load_from_buffer` and harmonize other audio streams
Move OggVorbis and MP3 loading code to their AudioStream class, matching how it's done for WAV.

The duplicate functions in ResourceImporterOggVorbis are now deprecated.

Co-authored-by: MaxIsJoe <34368774+MaxIsJoe@users.noreply.github.com>
2025-01-09 15:46:04 +01:00
Rémi Verschelde cb483e53ca Merge pull request #101327 from Repiteo/scons/specify-module-optional-dependencies
SCons: Specify optional dependencies for modules
2025-01-09 13:51:14 +01:00
Rémi Verschelde 3ac4da1620 Merge pull request #101233 from Ivorforce/utf8-multicall
Optimize calls of `utf8` in a few spots to avoid calling it more than once.
2025-01-09 13:50:55 +01:00
Nazarii 8bfb5d74b3 Use LocalVector for Curve and Gradient 2025-01-09 14:25:21 +02:00
LuoZhihao a71a8c6e1e C#: Expose OKHSL properties of Color 2025-01-09 19:18:56 +08:00
Rémi Verschelde a682b076d7 Merge pull request #101223 from kiroxas/fixWrongIfConditionIn#100549
Fix wrong condition in `NavMeshQueries3D::_query_task_build_path_corridor`
2025-01-09 11:17:28 +01:00
Thaddeus Crews f1f33169d9
SCons: Specify optional dependencies for modules 2025-01-08 21:59:18 -06:00
Rémi Verschelde 7fe0609118 Linux: Relax interdependency between freetype, libpng, and zlib for unvendored builds
This restriction was added to fix #7373 back then, which was a symbol conflict
between FreeType's bundled copy of gzip/zlib, and distro packages.

But we also unbundled FreeType's zlib in #69395 so this is no longer an issue.

On the other hand recent issues pointed out that using system-provided icu4c
or harfbuzz can cause issues (#91401, #100301). We still allow it for now but
raise a warning.
2025-01-09 00:28:46 +01:00
Rémi Verschelde 76c8e76560 Merge pull request #101284 from akx/tyops
A handful of typo fixes
2025-01-08 15:53:33 +01:00
Aarni Koskela f134769506 Fix various typos
* Add TODO notes for typos that should be fixed for 5.0

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-08 14:47:42 +02:00
Thaddeus Crews a29294fddc
SCons: Refactor color output implementation 2025-01-07 18:44:53 -06:00
Rémi Verschelde 0c763602f9 Merge pull request #101237 from mihe/jolt/cache-bounce-velocity
Cache value of Jolt Physics project setting `bounce_velocity_threshold`
2025-01-07 23:18:13 +01:00
Rémi Verschelde 709f2e1a5d Merge pull request #100765 from Geometror/lightmapgi-add-downsampling
Add a supersampling option to LightmapGI
2025-01-07 23:17:39 +01:00
Rémi Verschelde 0fee2724f0 Merge pull request #100751 from YYF233333/force_regex_with_editor
Force build editor with regex module, remove checking code
2025-01-07 23:17:35 +01:00
Hendrik Brucker 054340bb6b Add a supersampling option to LightmapGI
This provides increased lightmap quality with less noise, smoother
shadows and better small-scale shadow detail. The downside is that
this significantly increases bake times and memory usage while baking
lightmaps, so this option is disabled by default.

Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
Co-authored-by: landervr <31851431+CpnWaffle@users.noreply.github.com>
2025-01-07 18:44:59 +01:00
Mikael Hermansson d6b822c891 Cache value of Jolt Physics project setting `bounce_velocity_threshold` 2025-01-07 18:35:04 +01:00
Lukas Tenbrink 0fddf6a824 Optimize calls of `utf8` in a few spots to avoid calling it more than once. 2025-01-07 17:24:21 +01:00
Mikael Hermansson 174a2b6593 Fix debug contact count not being initialized when using Jolt Physics 2025-01-07 17:16:59 +01:00
Kiro f70acb0308 shift the polygon heap only if index is in range 2025-01-07 13:40:17 +01:00
Yufeng Ying 34d8255947 Force build editor with regex module, remove checking code.
Fix include.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-07 19:43:23 +08:00
Rémi Verschelde 6e9be55ee2
Merge pull request #100104 from bruvzg/ts_data_in_template
[Export] Allow using ICU data from export templates instead of editor embedded data.
2025-01-07 10:14:34 +01:00
Pāvels Nadtočajevs 3d60ce9389 [Export] Allow using ICU data from export templates instead of editor embedded data. 2025-01-07 08:15:09 +02:00
bruvzg cc1db569e1 [TextServer] Improve embedded objects handling performance. 2025-01-07 08:01:29 +02:00
Rémi Verschelde 887c1557bf
Merge pull request #100961 from Geometror/lm-colored-transparent-shadows
Add support for colored shadows in LightmapGI
2025-01-07 00:45:07 +01:00
Hendrik Brucker cb460ad421 Add support for colored shadows in LightmapGI 2025-01-06 23:40:18 +01:00
Rémi Verschelde 38ffeb56f4
Merge pull request #101103 from Calinou/editor-gridmap-translucent-cursor
Make the GridMap editor cursor translucent
2025-01-06 22:48:54 +01:00
Rémi Verschelde 20728e7b05
Merge pull request #101101 from Calinou/editor-add-gridmap-grid-color-setting
Add an editor setting for the GridMap grid color
2025-01-06 22:48:50 +01:00
Rémi Verschelde bc0cd1fff3
Merge pull request #100856 from BlueCube3310/astc-decomp-rt
astcenc: Allow decompression in non-editor builds
2025-01-06 22:47:45 +01:00
Rémi Verschelde 4de07f3a97
Merge pull request #100549 from kiroxas/`NavMeshQueries3D_query_task_build_path_corridor`_simplification
Simplify `NavMeshQueries3D::_query_task_build_path_corridor`
2025-01-06 22:47:41 +01:00
Rémi Verschelde e06cac212b
Merge pull request #99893 from kiroxas/avoidUTF8ParsingWhenNotNecessary
Avoid duplicated `utf8()` calls
2025-01-06 22:47:12 +01:00
Rémi Verschelde 30b20bc251
Merge pull request #99121 from dalexeev/gds-deprecate-inst-to-dict
GDScript: Deprecate `inst_to_dict()` and `dict_to_inst()` functions
2025-01-06 22:46:52 +01:00
Rémi Verschelde ba8a155551
Merge pull request #98909 from demolke/master
GLTF: Don't duplicate textures when importing blend files
2025-01-06 22:46:44 +01:00
Mikael Hermansson 053d92401e Improve performance of changing compound shapes when using Jolt Physics 2025-01-06 21:43:49 +01:00
Danil Alexeev 4cef91e0f5
Editor: Fix `Ctrl+Click` on enum values ​​does nothing 2025-01-04 17:28:53 +03:00
Hugo Locurcio 4e888f9987 Make the GridMap editor cursor translucent
This makes it possible to distinguish GridMap tiles that haven't been
placed yet from those that are already in place.
2025-01-03 23:21:33 +01:00
Hugo Locurcio 19b8b10218 Add an editor setting for the GridMap grid color
The opacity can be adjusted by changing the alpha channel of the color
setting. The setting applies without having to restart the editor.
2025-01-03 23:06:29 +01:00
Danil Alexeev 07f8935c69
GDScript: Deprecate `inst_to_dict()` and `dict_to_inst()` functions 2025-01-03 21:17:06 +03:00
BlueCube3310 e8e62d0cdd astcenc: Allow runtime decompression of ASTC formats 2025-01-03 12:07:22 +01:00
Ricardo Subtil b77aa473a1 Implement a "Recovery Mode" for recovering crashing/hanging projects during initialization 2025-01-03 10:50:15 +00:00
Kiro 13f548c7f5 Simplify_`NavMeshQueries3D::_query_task_build_path_corridor` 2025-01-03 08:53:57 +01:00
Rémi Verschelde bdf625bd54
Merge pull request #101051 from aaronfranke/gltf-always-read-alpha-cutoff
GLTF: Always read `alphaCutoff` property
2025-01-03 02:01:35 +01:00