1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-06 17:25:19 +00:00
Commit Graph

73472 Commits

Author SHA1 Message Date
Pāvels Nadtočajevs
9870c8ca68 Fix visual shader editor popups not using editor scale. 2025-04-10 10:17:17 +03:00
Pāvels Nadtočajevs
0497522933 Change DisplayServerMacOS from GDCLASS to GDSOFTCLASS. Add GDSOFTCLASS to other display servers. 2025-04-10 09:18:58 +03:00
Logan Detrick
07c91e80f6 Consolidate Shader Menu in plugin 2025-04-09 22:53:07 -07:00
bruvzg
aa0ade5b49 [TextEdit / LineEdit] Add support for OEM Alt codes input. 2025-04-10 08:52:19 +03:00
Pāvels Nadtočajevs
1054ab8239 Remove "dummy" renderer from the editor dropdown. 2025-04-10 08:45:47 +03:00
风青山
9996bf369a Fix setting root inspector's follow_focus to true when update_tree() method ends
This may produce unexpected behavior in **recursive** calls.
2025-04-10 10:23:59 +08:00
Stuart Carnie
8c8d6de3e7 Apple: Add pthread implementation of Thread class
This allows Apple platforms to override the default stack size of
a thread in the WorkerThreadPool, which is 512KiB by default.

This must be increased, as SPIRV-Cross, used by the Metal driver, can
use deeply nested stacks, as can debug builds.
2025-04-10 09:35:40 +10:00
Thaddeus Crews
c374ce211c Merge pull request #104830 from chocola-mint/fix-#104822
Add null check for SpriteFramesEditor's SpriteFrames
2025-04-09 18:12:03 -05:00
Thaddeus Crews
807ce83f00 Merge pull request #103805 from rsubtil/fix-recovery_lock_on_import
Fix recovery mode lock file not being cleared on import/export
2025-04-09 18:12:03 -05:00
Thaddeus Crews
7b74eb1a9b Merge pull request #105205 from aaronp64/dictionary_has_validated_key
Use validated key in `Dictionary::has`
2025-04-09 18:12:02 -05:00
Thaddeus Crews
80350c5b84 Merge pull request #105075 from heyitszackb/add-clarity-to-canvas-layer-docs
Add missing word to canvas layer docs
2025-04-09 18:12:02 -05:00
Thaddeus Crews
4636d0abc9 Merge pull request #105193 from Monstrofil/fix-dds-mipmap-size-uncompressed-dds
Fix incorrect mipmap size calculation for uncompressed DDS textures
2025-04-09 18:12:01 -05:00
Thaddeus Crews
f7b72704db Merge pull request #104804 from etherealxx/fix-advanced-import-inspector-missing-tooltip
Fix missing tooltips on "Advanced Import Settings for Scene" window
2025-04-09 18:12:00 -05:00
Thaddeus Crews
f76190092d Merge pull request #104780 from aaronfranke/gltf-fix-invalid-byte-stride
GLTF: Fix importing files with invalid buffer view byte strides
2025-04-09 18:12:00 -05:00
Thaddeus Crews
cf3f02c550 Merge pull request #94143 from Mickeon/documentation-object-connect-to-signal-too-long-didn't-read
Move and simplify Object's `connect` description slightly
2025-04-09 18:11:59 -05:00
Thaddeus Crews
45fb66f4b0 Merge pull request #104632 from ibrahn/popup-menu-mouseover-calc
Fix and simplify hit calculation in `PopupMenu::_get_mouse_over`.
2025-04-09 18:11:58 -05:00
Thaddeus Crews
6e0af7d083 Merge pull request #105005 from beicause/pctex-fix-basis-crash
PortableCompressedTexture: Fix BasisU crash and wrong format
2025-04-09 18:11:57 -05:00
Thaddeus Crews
7a6c3b309f Merge pull request #105130 from bruvzg/uri_fix_plus
Add uri_file_decode to handle + in file names.
2025-04-09 18:11:56 -05:00
Thaddeus Crews
997cdc47dc Merge pull request #105126 from ProgrammerOnCoffee/fix-codeedit-typos
Fix CodeEdit typos
2025-04-09 18:11:56 -05:00
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
Adam Scott
ab1757c4b9 Add singleton check before adding webxr interface 2025-04-09 12:54:30 -04: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