Thaddeus Crews
504036466b
Merge pull request #102878 from Giganzo/tree-jiggle
...
Fix Tree buttons jiggle on horizontal scrolling
2025-04-10 10:18:11 -05:00
Thaddeus Crews
ef3e8b1609
Merge pull request #102786 from Giganzo/top-toolbar-menu-button-styles
...
Fix MenuButton style in editor top menu bar
2025-04-10 10:18:10 -05:00
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
Ibrahn Sahir
147b8415b1
Fix shadow offset larger than shadow size in PopupMenu and PopupPanel.
...
Panel shadow offsets larger than shadow size should no longer place the
panel edges outside its window.
2025-04-10 12:31:06 +01:00
A Thousand Ships
889410dcda
Add String::replace_char(s) methods for performance and convenience
2025-04-10 13:08:45 +02:00
Aaron Franke
e96828673f
Allow completely opting out of name suffix magic in 3D scene import
2025-04-10 01:11:54 -07:00
Micky
16df264750
Fix differences between PhysicsDirectSpaceState2D/3D docs
2025-04-10 09:26:39 +02:00
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
kit
d16e8b7ca4
Fix and rename mouse filter recursive behavior
...
and focus mode recursive behavior.
2025-04-09 23:45:03 -04: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
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