1
0
Fork 0
Commit Graph

73502 Commits

Author SHA1 Message Date
Pāvels Nadtočajevs 5355fcae62
Fix incorrect title bar sorting in RTL layout. 2025-04-17 09:31:14 +03:00
Thaddeus Crews c5c1cd4440
Merge pull request #105453 from reduz/signals-thread-safe
Add thread safety to Object signals
2025-04-16 15:39:22 -05:00
Thaddeus Crews 6448ddf37e
Merge pull request #105460 from Zylann/basis_abs
Use `Math::abs` to avoid ambiguity with integer abs
2025-04-16 15:39:22 -05:00
Thaddeus Crews 4d55d9865b
Merge pull request #105304 from KoBeWi/≥
Fix `exp_edit` description
2025-04-16 15:39:21 -05:00
Marc Gilleron 5e6df6a196 Use Math::abs to avoid ambiguity with integer abs 2025-04-16 20:41:36 +02:00
Thaddeus Crews 3c0652699a
Merge pull request #103967 from HolonProduction/window-focus
GUI: Fix focus cycle through window
2025-04-16 10:45:17 -05:00
Thaddeus Crews 11cb8140b8
Merge pull request #105370 from yuantianle/fix-graphnodes-connected-to-headers-rather-than-ports
Fix GraphNode frag/vert port positions misaligned
2025-04-16 10:45:16 -05:00
Thaddeus Crews d07c162d10
Merge pull request #105430 from bruvzg/fix_llvm20_mingw_crash
Fix crash in release build with llvm-mingw.
2025-04-16 10:45:16 -05:00
Thaddeus Crews 1a454b6527
Merge pull request #105427 from Calinou/force-angle-rename-macros
Rename `BLOCK_DEVICE()` macro to `FORCE_ANGLE()` in `main.cpp`
2025-04-16 10:45:15 -05:00
Thaddeus Crews 500a2243df
Merge pull request #105428 from mason1920/array-insert-test
Test for insertion at array's size
2025-04-16 10:45:14 -05:00
Thaddeus Crews 485406b5e0
Merge pull request #104819 from m4gr3d/setup_godot_tools_lib_maven_central
Add maven publishing configuration for Godot tools
2025-04-16 10:45:14 -05:00
Thaddeus Crews 0110048d46
Merge pull request #104826 from smix8/navregion_iteration_id
Add function to get navigation region iteration id from NavigationServer
2025-04-16 10:45:13 -05:00
Thaddeus Crews 7d4ba0759c
Merge pull request #105322 from bruvzg/remove_dbg_draw
Remove debug focus rect draws from MenuBar and GraphNode.
2025-04-16 10:45:12 -05:00
Thaddeus Crews 00bd421089
Merge pull request #105222 from kitbdev/fix-mouse-filter-recursive-and-rename
Fix and rename mouse filter recursive behavior and focus mode recursive behavior
2025-04-16 10:45:12 -05:00
Thaddeus Crews adf41e06fe
Merge pull request #105446 from r3square/fix-editor-scale-nan
Fix division by zero when scaling
2025-04-16 10:45:11 -05:00
Thaddeus Crews 5f74f726a0
Merge pull request #105445 from m4gr3d/require_khr_loader_init
OpenXR: Request the `XR_KHR_loader_init` extension
2025-04-16 10:45:10 -05:00
Thaddeus Crews 6a9f46931a
Merge pull request #104480 from BlueCube3310/image-unsuported-format
Renderer: Warn when images need to be converted due to their formats being unsupported by hardware
2025-04-16 10:44:52 -05:00
Juan 2f39d8ebef Add thread safety to Object signals
* It turns out the majority of this work was done already by AThousandShips as part of #89451. This allows to do lock-less emitting of signals.
* This means, that only the signal map needs to be protected, making the task simple and without risk of deadlocks, or affecting performance.
* Objects can choose to not protect signals for performance (as example Node uses thread guards for protection, so these signals are not thread safe).
2025-04-16 17:14:44 +02:00
Fredia Huya-Kouadio b28e95c8b0 Request the `XR_KHR_LOADER_INIT_EXTENSION_NAME` extension 2025-04-15 17:51:57 -07:00
square b278cc4837
Fix division by zero when scaling 2025-04-16 02:30:25 +02:00
yuantianle 6e1fb68f65 Fix GraphNode frag/vert port positions misaligned
Issue conclusion: GraphNode port connections appear misaligned when switching between vertex and fragment modes, only realigning after zoom or layout refresh.

Investigation: The root cause was due to port positions being calculated before child layouts had finalized, resulting in inaccurate Y positions for ports. The original implementation relied on Control::position.y, which was not yet updated during the initial layout pass.

Explaination: This fix computes vertical offset using titlebar and stylebox sizes instead, ensuring port alignment is correct immediately after layout, without relying on zoom-triggered re-layouts.

Resolves: #105232

Add layout mode check to distinguish GraphEditor and ShaderGraphEditor

Fix port position calculation by distinguishing between GraphEditor and ShaderGraphEditor layouts.

Due to differences in layout flow and update timing (CPU vs GPU), ShaderGraphEditor requires manual vertical offset calculation, while standard GraphEditor can directly get the actual child positions after layout in run time.

This change adds a layout mode check (`is_using_resort_layout) to determine the appropriate method for computing port positions.

Fixed nits using cached values and removed redundant condition variable definition.

Add comment for the condition checking.
2025-04-15 14:25:05 -07:00
Clay John dbddc9ef29
Merge pull request #105408 from bruvzg/fix_bmp_scale
Fix bitmap font scaling.
2025-04-15 12:06:20 -07:00
HolonProduction 6b9641d364 Fix focus cycle through window 2025-04-15 20:24:32 +02:00
Thaddeus Crews 039d9ffd30
Merge pull request #104317 from pafuent/fixing_wrong_focus_style_clipping_on_scroll_container
Fix `ScrollContainer` focus border issue
2025-04-15 12:28:50 -05:00
Thaddeus Crews c6341f49a1
Merge pull request #105337 from L2750558108/pr-fix-duplicate-in-node
Replace duplicate code of `is_ancestor_of()` in node.cpp
2025-04-15 12:28:49 -05:00
Thaddeus Crews df4ac6b237
Merge pull request #105200 from Monstrofil/fix-dds-mipmap-size-compressed-v2
Fix importing compressed dds textures with non-power-of-two width or height
2025-04-15 12:28:48 -05:00
Thaddeus Crews aba5841b34
Merge pull request #105323 from bruvzg/rtl_right_trim
[RTL] Fix VC_GLYPHS_RTL visible character trimming mode.
2025-04-15 12:28:48 -05:00
Thaddeus Crews 29970af190
Merge pull request #105321 from passivestar/audio-bus-theming
Allow theming audio buses
2025-04-15 12:28:47 -05:00
Thaddeus Crews 9906016959
Merge pull request #105301 from syntaxerror247/fix-decimal-keyboard
Android: Fix decimal keyboard
2025-04-15 12:28:46 -05:00
Thaddeus Crews c76e7024c9
Merge pull request #105288 from bruvzg/uid_custom_scene
Fix custom scene argument if it's referenced as UID.
2025-04-15 12:28:45 -05:00
Thaddeus Crews 66c3d0d6ea
Merge pull request #104006 from Wierdox/fix_incomplete_description_for_list_directory
Fix incomplete description for `ResourceLoader.list_directory()`
2025-04-15 12:28:45 -05:00
Thaddeus Crews 86b1fc7205
Merge pull request #104774 from Cykyrios/fix-center-bbcode-ansi-tag
Add missing "/" to "center" tag in `__print_line_rich()`
2025-04-15 12:28:44 -05:00
Thaddeus Crews 0737ebeb17
Merge pull request #105409 from timoschwarzer/fix/typo-oversampling
Fix typo ovrsampling → oversampling
2025-04-15 12:28:43 -05:00
Thaddeus Crews 309177a3a1
Merge pull request #105404 from andOlga/patch-1
Fix typo in the description of RandomNumberGenerator.state
2025-04-15 12:28:43 -05:00
Thaddeus Crews e8b703a80e
Merge pull request #105148 from salianifo/contrib-upstream
Fix exported Node/Resource variables resetting when extending script in the SceneTreeDock
2025-04-15 12:28:42 -05:00
Thaddeus Crews e508573183
Merge pull request #105140 from syntaxerror247/actions-panel-improvements
Android Editor: Add new actions and enhancements to `TouchActionsPanel`
2025-04-15 12:28:42 -05:00
Thaddeus Crews 29dcead192
Merge pull request #105394 from Zylann/quaternion_abs
Use Math::abs to avoid ambiguity with integer abs
2025-04-15 12:28:41 -05:00
Thaddeus Crews b8950a4662
Merge pull request #105392 from aaronp64/array_min_max
Optimize `Array` `min`/`max` methods
2025-04-15 12:28:40 -05:00
Thaddeus Crews fa5dd77566
Merge pull request #105262 from raulsntos/dotnet/android-no-copy
[.NET] Add a preload hook to load .NET assemblies from the APK
2025-04-15 12:28:40 -05:00
Thaddeus Crews 87f986ae67
Merge pull request #97837 from basicer/fix-update-timer
SceneImportSettings update_timer should be a oneshot.
2025-04-15 12:28:39 -05:00
Thaddeus Crews 2bf96fe18c
Merge pull request #105257 from smix8/navbuilder_linkpolys
Remove no longer needed link polygons from NavMapBuilder
2025-04-15 12:28:38 -05:00
Thaddeus Crews 5f6c49af96
Merge pull request #104349 from jaydensipe/scroll-high-refresh-rate-fix
Fix smooth scrolling being tied to physics process
2025-04-15 12:28:38 -05:00
Thaddeus Crews 99d3d44147
Merge pull request #104845 from KoBeWi/project_manager-🤵
Improve Project Manager auto-translation
2025-04-15 12:28:37 -05:00
Thaddeus Crews 372ab03f1b
Merge pull request #105224 from precup/fix-custom-type-scenetree-search
Search custom types when filtering on type in the SceneTree dock
2025-04-15 12:28:36 -05:00
bruvzg da1fca613f
Fix crash in release build with llvm-mingw. 2025-04-15 20:18:11 +03:00
smix8 2b8531d944 Add function to get navigation region iteration id from NavigationServer
Adds function to get navigation region iteration id from NavigationServer.
2025-04-15 19:17:45 +02:00
mason1920 692a244713 Test for insertion at array's size 2025-04-15 12:08:54 -04:00
Hugo Locurcio b7aadabee9
Rename `BLOCK_DEVICE()` macro to `FORCE_ANGLE()` in `main.cpp`
This makes the macro's role more explicit, as devices in the list
are not prevented from running Godot. They are only forced to use ANGLE
when using the Compatibility rendering method.
2025-04-15 17:43:50 +02:00
Timo Schwarzer d0aa95a6d4
Fix typo ovrsampling → oversampling 2025-04-15 11:21:51 +02:00
Pāvels Nadtočajevs b55d3a2516
Fix bitmap font scaling. 2025-04-15 12:14:37 +03:00