1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00
Commit Graph

11832 Commits

Author SHA1 Message Date
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
Rémi Verschelde
29bd5c06ef Merge pull request #100636 from raulsntos/dotnet/emit-signal-fix
[.NET] Fix EmitSignal with typed array parameters
2025-01-03 02:01:20 +01:00
Rémi Verschelde
5a8b7188af Merge pull request #101044 from mihe/jolt/revert-100533
Revert "Stop reporting contacts for sleeping bodies when using Jolt Physics"
2025-01-03 00:50:13 +01:00
Rémi Verschelde
8e66fac92a Merge pull request #101037 from smix8/navregion_polys
Make NavMeshQueries use NavRegionIteration polygons directly
2025-01-03 00:50:10 +01:00
Rémi Verschelde
1f2d535f78 Merge pull request #100983 from mihe/jolt/only-iterate-active-bodies
Improve performance with many static/sleeping bodies when using Jolt Physics
2025-01-03 00:49:51 +01:00
Rémi Verschelde
8e76f669c2 Merge pull request #100929 from Geometror/fix-lm-penumbra-computation
Fix lightmapper penumbra computation
2025-01-03 00:49:33 +01:00
Rémi Verschelde
19a7b466c2 Merge pull request #100848 from BlueCube3310/astc-improvements
astcenc: Misc improvements and optimizations
2025-01-03 00:49:22 +01:00
Rémi Verschelde
5ff616736a Merge pull request #100825 from KoBeWi/colored_eight
Add `Color.from_rgba8` and deprecate Color8
2025-01-03 00:49:18 +01:00
Rémi Verschelde
dd7d36e803 Merge pull request #100770 from hpvb/command-queue-mt
Core: Refactor CommandQueueMT to use vararg templates for performance and maintainability
2025-01-03 00:49:02 +01:00
Rémi Verschelde
7dd14207dc Merge pull request #100631 from Faless/fix/wslay_frame_end_not_fin
[WS] Fix wslay multi-frame message parsing
2025-01-03 00:48:47 +01:00
Aaron Franke
ec7d7abde9 GLTF: Always read alphaCutoff property 2025-01-02 12:53:55 -08:00
Mikael Hermansson
7bed84c165 Revert "Stop reporting contacts for sleeping bodies when using Jolt Physics"
This reverts commit 5bbdb4a770.
2025-01-02 20:17:05 +01:00
smix8
4184884ad1 Make NavMeshQueries use NavRegionIteration polygons directly
Removes the duplicated NavMap polygon soup. All navmesh queries now use the NavRegionIteration polygons directly.
2025-01-02 15:35:29 +01:00
HP van Braam
cccd2432c3 Refactor CommandQueueMT to use vararg templates
In order to make CommandQueueMT more maintainable this PR changes the
previous macro hell with variadic templates instead. This makes the
class far more explicit and will allow us to more easily change the way
the class functions in the future.

Furthermore this refactoring has allowed for some optimizations. In
particular by using std::forward to delay the decision of decaying the
type to as late as possible we are able to move the data from the
callsite into our Command buffer and later move it to the call.

In practice what this means is that compared to the old version instead
of copying values 3 times, we can now get away with 1 copy, and 1 move
for lvalues, and just 2 moves for rvalues. This saves quite a few
operations in a hot codepath.

We also now test to make sure that the amount of copies and moves are
what we expect. This way we can spot performance regressions in this
code easily.

Somewhat unscientifically, running TPS-demo by pressing enter and not
touching the controls average mspf, repeatable across many runs:

before: 6.467
after : 6.202
2025-01-02 15:35:08 +01:00
Mikael Hermansson
7beaddc9c0 Improve performance with many static/sleeping bodies when using Jolt Physics 2025-01-01 21:30:02 +01:00
BlueCube3310
6f363b989a astcenc: Misc improvements and optimizations 2024-12-31 14:25:14 +01:00
HolonProduction
9db804f72e Jsonrpc: Convert ids to int if they are int by value 2024-12-30 20:06:02 +01:00
Hendrik Brucker
751d3d5852 Fix lightmapper penumbra computation 2024-12-30 16:30:59 +01:00
Thaddeus Crews
2582793d40 Merge pull request #100774 from Geometror/rm-leftover-print-lightmapper
Remove leftover debug print statement from `lightmapper_rd.cpp`
2024-12-30 08:58:58 -06:00
Thaddeus Crews
d12eeefcf4 Merge pull request #100763 from dsnopek/openxr-composition-layers-hole-punch-visibility
OpenXR: Fix hiding/showing composition layers using hole punching
2024-12-30 08:58:57 -06:00
Thaddeus Crews
77eb92f8f3 Merge pull request #100826 from Lielay9/csg-spin-360
Fix gaps in CSGPolygon3D spin mode at 360 degrees
2024-12-30 08:58:35 -06:00
Thaddeus Crews
a9b6b3d932 Merge pull request #100776 from AThousandShips/improve_null_checks
Improve use of `Ref.is_null/valid`
2024-12-29 09:35:04 -06:00
kobewi
4e48b19e1f Add Color.from_rgba8 and deprecate Color8 2024-12-27 11:26:59 +01:00
smix8
c69408168c Patch navigation map async synchronization
Patches navigation map async synchronization.
2024-12-26 13:04:20 +01:00
Hei
d310d9f975 Fix gaps in CSGPolygon3D spin mode at 360 degrees 2024-12-26 13:59:24 +02:00
A Thousand Ships
a1846b27ea Improve use of Ref.is_null/valid
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
Hendrik Brucker
3cc5f6e346 Remove leftover print in lightmapper_rd.cpp 2024-12-23 21:14:14 +01:00
Thaddeus Crews
0f95e9f8e6 Merge pull request #100575 from Wierdox/improve_syntax_highlighting_for_shorthand_of_and_plus_bitwise_and_by_altering_string_name_highlighting
Improve `&&` and `&` syntax highlighting by altering `StringName` highlighting
2024-12-23 11:15:21 -06:00
Yufeng Ying
33817b186f Remove unused header in drivers and modules.
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>
2024-12-24 00:40:47 +08:00
Yufeng Ying
73d85f46c9 Remove unused headers in scene.
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:09 +08:00
David Snopek
d9ad5d1cd4 OpenXR: Fix hiding/showing composition layers using hole punching 2024-12-23 08:01:19 -06:00
smix8
d51615b334 Change navigation map synchronization to an async process
Changes the navigation map synchronization to an async process to avoid stalling the main thread.
2024-12-22 02:03:59 +01:00
Rémi Verschelde
0454122b3c Merge pull request #100711 from spoxii/patch/gltfstate_link_typo
Remove trailing double quote from link in GLTFState class documentation
2024-12-22 00:10:22 +01:00
Rémi Verschelde
4b3338799a Merge pull request #100633 from BastiaanOlij/fix_openxr_dpad_angle_degrees
OpenXR: Make sure wedge on DPad modifier is expressed in degrees.
2024-12-22 00:10:08 +01:00
Wierdox
ed81a17e1e Improve '&&' and '&' syntax highlighting by altering StringName highlighting 2024-12-21 14:02:31 -08:00