Commit Graph

70614 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
a550eef9f3 Improve script class display in Create dialog 2025-01-03 00:19:25 +01:00
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
ec7d7abde9 GLTF: Always read alphaCutoff property 2025-01-02 12:53:55 -08:00
7bed84c165 Revert "Stop reporting contacts for sleeping bodies when using Jolt Physics"
This reverts commit 5bbdb4a770.
2025-01-02 20:17:05 +01:00
cf8376ba1f Add a context menu to quick open dialog 2025-01-02 20:05:51 +01:00
e330b79397 Fix root folder logic in the filesystem 2025-01-02 17:50:58 +01:00
2c9620f24c clang-format commit to .git-blame-ignore-revs 2025-01-02 10:12:02 -06:00
e06d83860d Style: Enforce AllowShortFunctionsOnASingleLine 2025-01-02 10:09:41 -06:00
8c1742c957 Fix exclusive fullscreen on Wayland 2025-01-02 21:49:49 +07:00
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
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
3bb2309f6b Feature adding Windows native menu close callback 2025-01-02 10:52:09 -03:00
b50d9b7d8c Update OS.request_permission(...) description 2025-01-02 15:22:23 +05:30
663b90da61 [Windows] Fix StatusIndicator crash with empty tooltip (and few other similar unsafe ptr() uses). 2025-01-02 10:07:02 +02:00
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
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
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
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
7beaddc9c0 Improve performance with many static/sleeping bodies when using Jolt Physics 2025-01-01 21:30:02 +01:00
8c7319459b Fix incorrect Unicode key mapping on Windows 2025-01-02 04:31:49 +09:00
482531c4b8 Use thread_local for bones_backup 2024-12-31 16:32:15 +02:00
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
6f363b989a astcenc: Misc improvements and optimizations 2024-12-31 14:25:14 +01:00
bb76e721e9 Respect system user setting for (un)installing APK 2024-12-30 17:37:24 +01:00
751d3d5852 Fix lightmapper penumbra computation 2024-12-30 16:30:59 +01:00
ba3f2bf4a3 Fix dictionary editor steals focus when reloading script. 2024-12-30 16:28:06 +01:00
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
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
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
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
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
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
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
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
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
3994e561ea Merge pull request #100827 from OS-of-S/fixed-mold-search
Fix Mold-search in older systems
2024-12-30 08:58:49 -06:00
0efced3ea5 Merge pull request #100822 from BlueCube3310/gles-hdr-astc
Compatibility: Fix ASTC HDR extension detection
2024-12-30 08:58:48 -06:00
58b48a934e Merge pull request #100859 from StaydMcMuffin/scene-shaders-user-normal-fix
Fix User-supplied Normals Being Ignored
2024-12-30 08:58:47 -06:00
df2b117ec2 Merge pull request #100317 from TCROC/fix-collision-shape-debug-color-breaks-gdextension
Fix collision shape debug color breaking GDExtension
2024-12-30 08:58:41 -06:00
e9cebfa2f3 Merge pull request #100865 from SlashScreen/fix_plugin_docs
Fix docs for `EditorContextMenuPlugin.add_context_submenu_item`
2024-12-30 08:58:39 -06:00
953db6e785 Merge pull request #100752 from AThousandShips/unify_timer_scale_naming
[Core] Align naming and args of `(SceneTree)Timer` time scale methods
2024-12-30 08:58:36 -06:00
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
1e63ed2a5b Merge pull request #99723 from YeldhamDev/script_favorite_fix
Fix error when favoriting some types of properties
2024-12-30 08:58:34 -06:00