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
Lukas Tenbrink
fbe64ffb45
Change get_class_static to return StringName.
...
Use that static `get_class_static` for `_get_class_namev` to avoid duplication.
2025-04-08 23:25:05 +02:00
kobewi
13741ff913
Add FoldableContainer
...
Co-authored-by: WhalesState <whalesstate@gmail.com >
2025-04-08 22:27:32 +02:00
Yufeng Ying
f7e4987d0e
Dictionary::get_key_list use LocalVector instead of List.
2025-04-09 02:46:24 +08:00
Adam Scott
b7402b7597
Move THREADS_ENABLED check after common imports
2025-04-08 14:24:13 -04:00
bruvzg
c6739f64df
[Export] Use project settings overrides with the target preset features instead of current platform features.
2025-04-08 21:22:37 +03:00
Adam Scott
cba1ee1594
Add THREADS_ENABLED check before RID thread tests
2025-04-08 14:06:56 -04:00
Rarysson Guilherme
fe39ffeb7d
Add negative index to Array.remove_at and Array.insert
2025-04-08 14:55:39 -03:00
Thaddeus Crews
4248411baf
Merge pull request #102521 from HolonProduction/cancel-await
...
GDScript: Cancel suspended functions when reloading a script
2025-04-08 12:32:52 -05:00
Thaddeus Crews
36991aba34
Merge pull request #104264 from YYF233333/layout/gdvirtual
...
Optimize gdvirtual function layout
2025-04-08 12:32:51 -05:00
Thaddeus Crews
86ff668614
Merge pull request #105154 from AThousandShips/fix_pack_zip
...
[Editor] Use separate `EditorFileDialog` for "Pack Project as ZIP"
2025-04-08 12:32:51 -05:00
Thaddeus Crews
36ff5d351c
Merge pull request #105152 from DeeJayLSP/ogg-name
...
Add an actual name for Ogg Vorbis importer visible name.
2025-04-08 12:32:50 -05:00