Commit Graph

80742 Commits

Author SHA1 Message Date
Rémi Verschelde 4f5982c83b Merge pull request #100171 from Giganzo/editor-focus
Fix missing focus outline for 2D and 3D editor viewports
2025-01-03 00:48:30 +01:00
Rémi Verschelde 3a20c3e6a9 Merge pull request #100161 from alessand10/fix-filesystem-logic
Fix root folder logic in the filesystem
2025-01-03 00:48:26 +01:00
Rémi Verschelde d484e23bce Merge pull request #100113 from paddy-exe/particle-emission-shape-visual-separate-pr
Add visualization of 3D particle emission shapes
2025-01-03 00:48:22 +01:00
Rémi Verschelde 4ef55ba75b Merge pull request #99998 from akien-mga/tinyexr-1.0.9
tinyexr: Update to upstream 1.0.9
2025-01-03 00:48:17 +01:00
Rémi Verschelde 72839d0085 Merge pull request #99996 from akien-mga/libpng-1.6.44
libpng: Update to upstream 1.6.44
2025-01-03 00:48:13 +01:00
Rémi Verschelde 442f11462d Merge pull request #99994 from kitbdev/fix-editor-viewport-group-anim
Allow Viewport children to lock, group, and insert keyframes
2025-01-03 00:48:09 +01:00
Rémi Verschelde 7ccc00d787 Merge pull request #99242 from RedMser/fix-todos-in-classref
Fix TODO comments in class reference
2025-01-03 00:48:04 +01:00
Rémi Verschelde 0d710da96c Merge pull request #98554 from Calinou/add-property-hint-ranges
Add more property hint ranges for project settings
2025-01-03 00:47:59 +01:00
Rémi Verschelde 22f4322194 Merge pull request #101004 from akien-mga/core-thread-fix-gcc12-crash
Thread: Re-add `<new>` include for `std::hardware_destructive_interference_size`
2025-01-03 00:47:53 +01:00
Lazy-Rabbit-2001 a550eef9f3 Improve script class display in Create dialog 2025-01-03 00:19:25 +01:00
Mounir Tohami e89c196a80 LineEdit add member keep_editing_on_text_submit.
Allow users to exit edit mode when Enter is pressed.
2025-01-02 23:41:27 +02: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
hakro cf8376ba1f Add a context menu to quick open dialog 2025-01-02 20:05:51 +01:00
Lukas Tenbrink b2d881a73a Optimize _count by replacing a full copy with a CoW copy for the full-string count case. 2025-01-02 18:16:06 +01:00
alessand10 e330b79397 Fix root folder logic in the filesystem 2025-01-02 17:50:58 +01:00
Thaddeus Crews 2c9620f24c clang-format commit to .git-blame-ignore-revs 2025-01-02 10:12:02 -06:00
Thaddeus Crews e06d83860d Style: Enforce AllowShortFunctionsOnASingleLine 2025-01-02 10:09:41 -06:00
Summersay415 8c1742c957 Fix exclusive fullscreen on Wayland 2025-01-02 21:49:49 +07: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
Marcelo Vilas Boas Correa Filho 3bb2309f6b Feature adding Windows native menu close callback 2025-01-02 10:52:09 -03:00
Anish Mishra b50d9b7d8c Update OS.request_permission(...) description 2025-01-02 15:22:23 +05:30
bruvzg 663b90da61 [Windows] Fix StatusIndicator crash with empty tooltip (and few other similar unsafe ptr() uses). 2025-01-02 10:07:02 +02:00
Kiro 176e5f42b2 add Static assert checks 2025-01-02 09:02:43 +01:00
Silc Lizard (Tokage) Renew d0c421976c Fix looking at with 180 degree arc
Co-authored-by: Fruitsalad <949631+fruitsalad@users.noreply.github.com>
2025-01-02 15:47:01 +09:00
smix8 8dd0579bcd Add NavigationLink debug direction indicator
Adds direction indicator arrows to the NavigationLink debug depending on if a link is onewyay or bidirectional.
2025-01-02 01:07:26 +01:00
Rémi Verschelde f2d4dac92e Thread: Re-add <new> include for std::hardware_destructive_interference_size
Somehow it would still build fine, but would crash when compiled with GCC 12.2
on Debian 12.

Also re-add wrongly removed Mutex include from `thread_safe.h`, where it's used
in macros.

Add IWYU pragma comments to prevent it from mistakenly flagging those as unused.
2025-01-01 22:43:42 +01:00
Markus Sauermann 54373160df Fix Crash with GraphNode
When using `queue_free()` on GraphNodes, `p_from` can become `nullprt`.
This PR adds a check to prevent crashes in these situations.
2025-01-01 22:20:57 +01:00
Zae 05b840a815 C#: Fix RefCounted not disposed correctly in certain case. 2025-01-02 05:05:43 +08:00
Mikael Hermansson 7beaddc9c0 Improve performance with many static/sleeping bodies when using Jolt Physics 2025-01-01 21:30:02 +01:00
Naoto Kondo 8c7319459b Fix incorrect Unicode key mapping on Windows 2025-01-02 04:31:49 +09:00
Nazarii 482531c4b8 Use thread_local for bones_backup 2024-12-31 16:32:15 +02:00
AThousandShips 25ecf5ec83 [Core] Fix UID encoding
Fixes edge case where `0` encoded as `uid://` instead of `uid://a`, and
fixes the size of the temporary buffer storing encoded UID strings.
2024-12-31 15:20:09 +01:00
BlueCube3310 6f363b989a astcenc: Misc improvements and optimizations 2024-12-31 14:25:14 +01:00
Jan Haller df66ea74d7 Fix NodePath::slice() incorrect behavior for subname indexing
Adjust slice boundaries in `NodePath` logic to correctly handle subnames.
Update test cases to reflect these changes.
2024-12-30 21:22:26 +01:00
HolonProduction 9db804f72e Jsonrpc: Convert ids to int if they are int by value 2024-12-30 20:06:02 +01:00
RedMser bb76e721e9 Respect system user setting for (un)installing APK 2024-12-30 17:37:24 +01:00
Fabio Alessandrelli 198dd40254 [Web] Clarify JavaScriptBridge callback requirements
Clarify that the callback must take **exactly one array argument**.
2024-12-30 17:23:48 +01:00
Hendrik Brucker 751d3d5852 Fix lightmapper penumbra computation 2024-12-30 16:30:59 +01:00
ajreckof ba3f2bf4a3 Fix dictionary editor steals focus when reloading script. 2024-12-30 16:28:06 +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 e55ea94c73 Merge pull request #99800 from amarsero/bone2d-redo-crash
Fix use after free in redo of "Create Custom Bone2D(s) from Node(s)"
2024-12-30 08:58:56 -06:00
Thaddeus Crews b98eeb3899 Merge pull request #99096 from kitbdev/bottom_panel_force_switch
Make bottom panel switch when pinned and removed
2024-12-30 08:58:55 -06:00
Thaddeus Crews 3bf4541d47 Merge pull request #99829 from miv391/larger_event_configuration_dialog
Change Event Configuration dialog wider and its input list taller for better usability
2024-12-30 08:58:54 -06:00
Thaddeus Crews 589a2b511e Merge pull request #100815 from m4gr3d/remove_install_permission_for_xr_editor
[Android Editor] Update handling of the `REQUEST_INSTALL_PACKAGES` permission
2024-12-30 08:58:53 -06:00
Thaddeus Crews c83706fdfd Merge pull request #99904 from kitbdev/fix-load-floating-dock
Fix loading layout with floating dock in single window mode and fix `restore_windows_on_load`
2024-12-30 08:58:52 -06:00
Thaddeus Crews 13992bbf7b Merge pull request #100766 from stuartcarnie/metal_crash
Metal: Fix crash when uniform set is empty for slot binding mode
2024-12-30 08:58:51 -06:00
Thaddeus Crews d8b1a5aac2 Merge pull request #92235 from paddy-exe/advanced-import-macbook-mouse-magnify
Add MagnifyGesture to Advanced Import dialog zooming
2024-12-30 08:58:50 -06:00