Commit graph

73282 commits

Author SHA1 Message Date
Andreia Gaita
6e7f77adc4 Fix issue where vsproj=yes vsproj_gen_only=no sometimes fails to build
Assigning `env["CCFLAGS"]` directly to a variable causes any changes to that
variable to also be done to the original env object. This means CCFLAGS would
be modified during generation of the VS project with additional flags and
other options set by platforms.

This would normally not be noticed when just generating the project, but when
generating and building at the same time with a compiler that doesn't support
VS-style flags, this flag leakage can cause unexpected build failures.
2025-04-10 15:06:38 +02: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
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
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
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
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
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