Commit Graph

68479 Commits

Author SHA1 Message Date
Lukas Rieger
5c65f80199 Update Node.xml: specify that normal processing happens in tree order 2024-10-20 18:41:54 +02:00
Giganzo
549bffdcbc Fix PopupPanel menu style 2024-10-20 13:26:45 +02:00
yeojunh
b3b24ded19 Add checks for valid base in String::num_int64, uint64().
- Ensure String::num_int64, uint64 returns an empty string for bases less than 2 or greater than 36.
- Added corresponding test cases to verify the behavior.
- Error messages are printed when invalid bases are encountered. These messages are suppressed in the test output.
2024-10-20 00:22:08 -07:00
Stuart Carnie
83ac274e25
Metal: Performance improvements and bug fixes 2024-10-20 11:15:13 +11:00
Anish Mishra
8baaa2dd5a Add missing HTTPRequest Result descriptions. 2024-10-19 14:22:56 +05:30
katsuhisa yuasa
4dad9c6c05 optimize ImageLoaderSVG::create_image_from_utf8_buffer 2024-10-19 14:09:34 +09:00
Clay John
44fa552343
Merge pull request #83863 from Calinou/editor-lightmap-probe-gizmo-improve-display
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
🔗 GHA / 🪲 Godot CPP (push) Has been cancelled
Improve display for lightmap probes in the editor
2024-10-18 16:57:45 -07:00
Hugo Locurcio
567db2ecb2 Don't swap Advanced Import Settings button position based on Swap OK Cancel
The "Advanced..." and "Reimport" buttons are not OK/Cancel buttons,
so they shouldn't be swapped according to the editor setting (which
itself is determined depending on the OS by default).
2024-10-18 23:28:11 +02:00
Clay John
80f0b33313
Merge pull request #97977 from syntaxerror247/menu_bar_refresh_bug
Refresh `MenuBar` scene after child renamed in editor
2024-10-18 13:54:27 -07:00
Hugo Locurcio
8e0c0d7837 Improve display for lightmap probes in the editor
- Use the default Back cull mode to improve performance slightly
  and prevent obstructing the camera.
- Fade probes when the camera gets close as to be less intrusive.
2024-10-18 22:52:50 +02:00
alexkar598
fd6138ed7e Fixes window_id being erased when emulating mouse events from touch events 2024-10-18 15:37:39 -04:00
Clay John
58a7f9b4d8
Merge pull request #98271 from DarioSamo/d3d12-enhanced-barrier-fix
Some checks are pending
🔗 GHA / 📊 Static checks (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
🔗 GHA / 🌐 Web (push) Blocked by required conditions
🔗 GHA / 🪲 Godot CPP (push) Blocked by required conditions
Move transitions of textures from transfer workers to the graphics queue.
2024-10-18 12:03:50 -07:00
Cadence
b4fd9d1f38 Fix iOS audio driver attempting to start output too early 2024-10-18 13:05:30 -04:00
Haoyu Qiu
fc7dd35d78 Clarify LineEdit.shortcut_keys_enabled only affects context menu items 2024-10-19 00:49:07 +08:00
Thaddeus Crews
f8c4a683d7
Core: Add DisplayServer flag for sharp corners 2024-10-18 11:20:21 -05:00
aaronp64
aa1d469ffb Avoid unnecessary Dictionary conversions in GDScriptInstance::validate_property
Updated GDScriptInstance::validate_property to only convert PropertyInfo to Dictionary if _validate_property function is found.
2024-10-18 12:10:19 -04:00
Yevhen Babiichuk (DustDFG)
af6d260c17 Don't include core/io/image.h in core/os/os.h
`core/os/os.h` doesn't use `core/io/image.h`. It just brings
transitive dependencies. Lots of dependencies because `core/os/os.h`
is transitively included in almost every file of godot

Also added `core/io/image.h` into files^1 where `Ref<Image>` and `core/os/os.h`
were used to prevent obscure errors involving `Ref<Image>`

^1 except those which include `core/io/image_loader.h` or `core/io/image.h` by
corresponding .h file with the same name

Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-10-18 19:04:19 +03:00
Haoyu Qiu
17642692c5 Fix button click detection when Tree is rotated 2024-10-18 22:43:48 +08:00
Hugo Locurcio
35a20fa96a Use a shared copy of placeholder textures, tweak placeholder appearance
This reduces memory usage a bit in case multiple placeholders were
requested, e.g. when using multiple NoiseTextures with no noise property
defined.

The placeholder texture's appearance was also changed from a plain magenta
color to a checkerboard alternating between magenta and black pixels.
This makes it easier to spot when the placeholder texture ends up
being used in a complex scene (usually by accident).
The texture's dimensions remain identical to keep the physical size
identical in 2D.
2024-10-18 14:51:51 +02:00
Dario
8c3e46b13b Move transitions of textures initialized by transfer workers to the main graphics queue.
Also adds a new possible texture layout and API trait to support a particular behavior in D3D12 where only the COMMON layout is supported in copy queues. Fixes #98158.
2024-10-18 09:15:25 -03:00
Haoyu Qiu
5adb489a04 Fix error when undo tile deletion in TileSetAtlasSourceEditor 2024-10-18 20:06:31 +08:00
BlueCube3310
184395401b LightmapGI: Clean up and improve lightmap atlas storage 2024-10-18 10:20:37 +02:00
Chaosus
155cf6a5b6 Add #error preprocessor directive to shading language 2024-10-18 10:56:58 +03:00
A Thousand Ships
610635e1c8
Add test 2024-10-18 08:47:29 +02:00
A Thousand Ships
79f654ced5
[Core] Fix sorting of Dictionary keys
`StringName` keys were sorted as `StringName` which is unstable.
2024-10-18 08:47:05 +02:00
Clay John
4631a617e5
Merge pull request #98255 from timothyqiu/form-is-indeed-emptiness
Some checks are pending
🔗 GHA / 📊 Static checks (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
🔗 GHA / 🌐 Web (push) Blocked by required conditions
🔗 GHA / 🪲 Godot CPP (push) Blocked by required conditions
Don't pseudolocalize empty strings
2024-10-17 21:27:30 -07:00
Clay John
14fc9a545c
Merge pull request #98230 from and-rad/android_permissions
Fix Android app permissions for SDK levels earlier than 28
2024-10-17 21:26:27 -07:00
Clay John
4dd0b67ec9
Merge pull request #98254 from timothyqiu/marker-typos
Fix typos in `AnimationMarkerEdit`
2024-10-17 21:24:11 -07:00
Juan Pablo Arce
e3790de461 Fix exported typed dictionaries in .NET having an incorrect hint, which led to incorrect scene serialization 2024-10-18 00:55:24 -03:00
tetrapod00
4b37fb3f88 Docs: Add link to 2D lights and shadows from CanvasModulate 2024-10-17 19:53:41 -07:00
Clay John
1435247de0
Merge pull request #98222 from timothyqiu/media-control-rtl
Some checks are pending
🔗 GHA / 📊 Static checks (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
🔗 GHA / 🌐 Web (push) Blocked by required conditions
🔗 GHA / 🪲 Godot CPP (push) Blocked by required conditions
Don't flip playback control buttons in RTL layout
2024-10-17 16:58:23 -07:00
Clay John
0ce4d8fcd3
Merge pull request #98086 from DarioSamo/transfer-queues-semaphores
Rewrite semaphore handling for transfer workers.
2024-10-17 16:54:43 -07:00
Clay John
cdf45f73ab
Merge pull request #96893 from tetrapod00/docs-crosslink-antialiasing
Docs: Add cross-links to antialiasing project settings
2024-10-17 16:54:19 -07:00
Clay John
f6279ffd56
Merge pull request #97885 from timothyqiu/useful-tooltip
Make `EditorFileDialog`'s Recent and Fav list show full path in tooltip
2024-10-17 16:53:55 -07:00
Clay John
e50b864b64
Merge pull request #98085 from dalexeev/gds-fix-typed-dict-static-default-init
GDScript: Add missing static default initialization for typed dictionaries
2024-10-17 16:53:11 -07:00
Clay John
acc3786db2
Merge pull request #98009 from TokageItLab/init-skel-skin
Fix initial skin update timing in Skeleton3D
2024-10-17 16:51:05 -07:00
Clay John
be9e42c6a4
Merge pull request #97888 from Gamemap/Itemlist-fix-right-padding
ItemList - Fix right padding missing
2024-10-17 16:47:11 -07:00
Clay John
c6b94ca9b4
Merge pull request #93005 from CozyCubeGames/sqr-dist-optimization
Replace some distance checks with square distance checks in NavMap
2024-10-17 16:41:02 -07:00
Clay John
a2117f5796
Merge pull request #98187 from EnlightenedOne/98102
Fix Mobile Renderer - Shadow Disabled and User Vertex Lighting flags
2024-10-17 16:37:09 -07:00
Hugo Locurcio
5ed10e3604 Remove "Using present mode" verbose prints in Vulkan and Direct3D 12
These messages were printed every time the swapchain was recreated
(e.g. on viewport size change), which could easily end up spamming
the output.

The chosen present mode is already displayed when using the Print FPS
project setting or command line argument.
2024-10-17 23:18:28 +02:00
Dario
7a936e8bac Rewrite semaphore handling for transfer workers. 2024-10-17 14:07:08 -03:00
yesfish
274076c5be Lightmap Dynamic Bugfix 2024-10-17 16:27:30 +01:00
Anish Mishra
9d25cf76f2 Improve _begin_customize_scenes description 2024-10-17 20:36:32 +05:30
Yuri Rubinsky
ad7e7a51b2 Allow usage of discard inside custom shader functions 2024-10-17 16:06:33 +03:00
Yuri Rubinsky
74c000db17 Allow using stage functions inside custom shader functions 2024-10-17 15:47:01 +03:00
Lalit Shankar Chowdhury
25687c5b99
Display proper message on invalid folder path 2024-10-17 13:06:48 +05:30
Lain
4e6d9813b2 Add support for BGRA textures with Texture*RD
This adds the ability to use BGRA textures created with RenderingDevice
with classes such as Texture2DRD.
2024-10-16 22:31:43 -07:00
Rudolph Bester
ed3f990952 Alternative fix to occlusion culling where all math is based on Euclidean distance. 2024-10-17 05:59:37 +02:00
Haoyu Qiu
f61fe2799c Don't pseudolocalize empty strings 2024-10-17 10:30:17 +08:00
Haoyu Qiu
3d07fced0c Fix typos in AnimationMarkerEdit 2024-10-17 08:12:00 +08:00