Commit Graph

80742 Commits

Author SHA1 Message Date
Thaddeus Crews c6394a1b8b Merge pull request #104357 from FilipeAlexCosta/control-set-position
Fix `Control.set_position` resizes offsets/anchors
2025-04-09 18:11:55 -05:00
Thaddeus Crews d23329a0e4 Merge pull request #104213 from ryevdokimov/shortcuts-gridmap-mouse-captrued
Fix `GridMap` shortcuts being triggered during freelook (mouse captured)
2025-04-09 18:11:54 -05:00
Thaddeus Crews 1be28a7cb2 Merge pull request #102292 from HolonProduction/gizmo-capsule
Editor: Improve capsule gizmos
2025-04-09 18:11:54 -05:00
Thaddeus Crews 171187d1aa Merge pull request #101011 from aaronfranke/limit-max-contacts-reported
Place a hard limit on the `max_contacts_reported` property in 2D/3D physics
2025-04-09 18:11:53 -05:00
Thaddeus Crews ae80141a54 Merge pull request #103306 from Calinou/macos-intel-vulkan-disable-texture-array-reflections
Disable texture array reflections on Intel GPUs on macOS due to driver bugs
2025-04-09 18:11:52 -05:00
Thaddeus Crews 44190d4060 Merge pull request #105096 from Chubercik/ufbx-0.18.0
ufbx: Update to 0.18.0
2025-04-09 18:11:52 -05:00
Thaddeus Crews 36a135ca62 Merge pull request #104451 from WinnerWind/fix_resized_logic_for_control
Fix excessively calling resized and floating point errors in Control.
2025-04-09 18:11:35 -05:00
Sébastien Dunne Fulmer 3c27aa6bcd Prioritise static value type for dictionary properties 2025-04-09 22:03:15 +01:00
clayjohn bf47c42b21 Detect possible usage of SSS and screen textures at load time to allocate needed resources at load time.
This allows us to avoid a class of pipeline compilation stutters and
stutters from allocating screen textures.
2025-04-09 13:31:03 -07:00
clayjohn 6225e25f4a Detect possible usage of SSS and screen textures at load time to allocate needed resources at load time.
This allows us to avoid a class of pipeline compilation stutters and
stutters from allocating screen textures.
2025-04-09 13:15:40 -07:00
nikitalita 2d0ae77719 add GDSOFTCLASS to FileAccess and DirAccess derived classes 2025-04-09 11:52:50 -07:00
hakro 072ed20857 Adjust 2D select/move/rotate/scale shortcuts to match 3D 2025-04-09 19:48:21 +02:00
Adam Scott ab1757c4b9 Add singleton check before adding webxr interface 2025-04-09 12:54:30 -04:00
Aaron Franke d9e1f5d678 Improve 2D/3D main screen auto-switching logic
Co-authored-by: Kit Bishop <kitbdev@gmail.com>
2025-04-09 09:34:44 -07:00
aaronp64 117b1c3da1 Use validated key in Dictionary::has
Updated Dictionary::has to use validated key when checking variant_map, to handle cases when passed in key is converted to Dictionary's key type.
2025-04-09 12:22:48 -04:00
Joaquin Muñiz 5afb3858b7 Turn 'Add/Revoke unique Node' into a checkbox 2025-04-09 13:16:16 -03:00
Pāvels Nadtočajevs 7c4d45ba3b Add bswap methods to the PackedByteArray bindings. 2025-04-09 18:51:50 +03:00
Oleksandr Shyshatskyi 65c9f44a2f Fix incorrect mipmap size calculation for uncompressed DDS textures
Previously, the DDS texture loader incorrectly calculated mipmap dimensions
for uncompressed textures when the original dimensions
were non-power-of-two.

For example, given a 120×120 texture, the expected mipmap chain should be:
    mipmap=0, size=120×120
    mipmap=1, size=60×60
    mipmap=2, size=30×30
    mipmap=3, size=15×15
    mipmap=4, size=7×7
    mipmap=5, size=3×3
    mipmap=6, size=1×1

But the loader was producing:
    mipmap=0, size=120×120
    mipmap=1, size=60×60
    mipmap=2, size=30×30
    mipmap=3, size=15×15
    mipmap=4, size=8×8
    mipmap=5, size=4×4
    mipmap=6, size=2×2

This commit corrects the logic to properly compute width and height independently at each mip level.

Fixes issue #105136.
2025-04-09 18:40:20 +03:00
Oleksandr Shyshatskyi 85a9c73a84 Fix the formula for calculation the size of compressed textures.
Accodring to the DDS documentation, the size of each mipmap level should
be:

    max(1, ( (width + 3) / 4 ) ) x max(1, ( (height + 3) / 4 ) ) x 8(DXT1) or 16(DXT2-5)

But in dds loader a slightly different formula was used which
provided different results. Check gh issue #105136 and pull request for details.
2025-04-09 18:23:16 +03:00
Pāvels Nadtočajevs 6808f66f86 Remove focus draw for editor inspector elements. 2025-04-09 18:00:00 +03:00
Thaddeus Crews a8598cd8e2 Merge pull request #71542 from bruvzg/export_project_settings
[Export] Use project settings overrides with the target preset features instead of current platform features.
2025-04-09 08:51:47 -05:00
Thaddeus Crews c7fc877895 Merge pull request #101745 from Rindbee/remove-is_top_level_control
Remove confusing `Control::is_top_level_control()`
2025-04-09 08:51:46 -05:00
Thaddeus Crews ec675fc329 Merge pull request #100333 from YYF233333/reduce_list
Use `LocalVector` instead of `List` as arg of `Dictionary::get_key_list`
2025-04-09 08:51:45 -05:00
Thaddeus Crews 4362b11557 Merge pull request #103405 from van800/shakhov/macosx
Fix `.sln` project generation logic for Rider to support all OS and all C++ toolchains
2025-04-09 08:51:45 -05:00
Thaddeus Crews d7ced73997 Merge pull request #104939 from HolonProduction/json-rpc-notification-return-fix
JSONRPC: Fix notification return behavior
2025-04-09 08:51:44 -05:00
Thaddeus Crews 4c02239c5f Merge pull request #105180 from bruvzg/thread_crash
Fix Thread crash when using invalid callback signature. And invalid message formatting.
2025-04-09 08:51:43 -05:00
Thaddeus Crews 604e1c16cd Merge pull request #104410 from aaronfranke/color-space-doc
Add color space alpha notes to Color documentation
2025-04-09 08:51:43 -05:00
Thaddeus Crews 217d1c6d2f Merge pull request #105178 from bruvzg/endianess_notes
Remove misleading and incorrect notes about endianness. Fix FileAccess and StreamPeer not doing what name suggests.
2025-04-09 08:51:42 -05:00
Thaddeus Crews 614230566f Merge pull request #105174 from bruvzg/anim_err
Remove error print in the Animation getter.
2025-04-09 08:51:42 -05:00
Thaddeus Crews abbd94107c Merge pull request #105173 from bruvzg/sub_1_ui_scale
Fix initial project manager size and scales < 1.
2025-04-09 08:51:41 -05:00
Thaddeus Crews e6b2a42053 Merge pull request #83027 from rarysson/array-negative-indexes
Add negative index to `Array.remove_at` and `Array.insert`
2025-04-09 08:51:40 -05:00
Thaddeus Crews 2f47254d24 Merge pull request #105170 from ProgrammerOnCoffee/fix-udpserver-poll-typos
Fix typos in `UDPServer::poll` documentation
2025-04-09 08:51:40 -05:00
Thaddeus Crews 0563f4f978 Merge pull request #105166 from Ivorforce/get-class-static-stringname
Change `get_class_static` to return `StringName`.
2025-04-09 08:51:39 -05:00
Thaddeus Crews 5a84a5da1d Merge pull request #102346 from KoBeWi/folding_whalegacy
Add `FoldableContainer`
2025-04-09 08:51:38 -05:00
Thaddeus Crews e764068e99 Merge pull request #105159 from adamscott/define_my_int
Move `THREADS_ENABLED` check after common imports
2025-04-09 08:51:38 -05:00
Thaddeus Crews 7ae1fa0a33 Merge pull request #105157 from adamscott/test_rid_add_threads_enabled
Add `THREADS_ENABLED` check before RID thread tests
2025-04-09 08:51:37 -05:00
Thaddeus Crews 4ddae0a7be Merge pull request #105135 from timothyqiu/delete-window
Remove dead code in AnimationStateMachine editor
2025-04-09 08:51:36 -05:00
Thaddeus Crews 758ce02fcc Merge pull request #105124 from Calinou/script-shader-editor-unify-toggle-files-panel
Unify Scripts Panel naming for the script and shader editors
2025-04-09 08:51:36 -05:00
Thaddeus Crews 4a735a8a23 Merge pull request #104853 from goatchurchprime/gtch/stereofix
Fix AudioStreamPlayer3D stereo panning issue
2025-04-09 08:51:18 -05:00
Cruglet 1a1711f1ee Add middle-click removing for TabBars
Added a boolean option field to enable the firing of the "tab_close_pressed" signal when middle clicking on a tab.
2025-04-09 07:56:09 -04:00
Julian Todd daf8eee9cb fix for stereo panning adding _calc_output_vol_stereo issue 103989 2025-04-09 11:02:04 +01:00
Pāvels Nadtočajevs 41a87f06e1 Fix Thread crash when using invalid callback signature. And invalid message formatting. 2025-04-09 11:57:25 +03:00
Aaron Franke f6515161e1 Add color space alpha notes to Color documentation 2025-04-09 01:25:05 -07:00
Pāvels Nadtočajevs bd98aad3fa Remove misleading and incorrect notes about endianness. Fix FileAccess and StreamPeer not doing what name suggests. 2025-04-09 11:01:25 +03:00
Pāvels Nadtočajevs 33af291421 Remove error print in the Animation getter. 2025-04-09 09:34:26 +03:00
Pāvels Nadtočajevs 5c9d63ff52 Fix initial project manager size and scales < 1. 2025-04-09 08:24:45 +03:00
Jayden Sipe 387ec5eef7 Add Engine Version Update Mode button to Project Manager Quick Settings 2025-04-08 21:04:42 -04:00
Haoyu Qiu 75314c2f87 Remove dead code in AnimationStateMachine editor 2025-04-09 08:39:27 +08:00
Hugo Locurcio e8eeccebcb Unify Scripts Panel naming for the script and shader editors
Both use the same shortcut and action, so it makes sense to call it
a Files panel as opposed to a Scripts panel.
2025-04-09 01:17:36 +02:00
ProgrammerOnCoffee 766c3482b8 Fix UDPServer::poll typos 2025-04-08 18:42:16 -04:00