Commit Graph

77006 Commits

Author SHA1 Message Date
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
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
Cadence 06dafc9a1a Fix documentation tip for network/debug/remote_host editor setting 2024-10-17 22:29:06 -04:00
Clay John 1435247de0 Merge pull request #98222 from timothyqiu/media-control-rtl
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
TheYellowArchitect e994c49a40 Remove note about missing per-vertex-shading 2024-10-18 00:00:20 +03:00
Anish Mishra 14dd595447 Fix uneditable LineEdit, TexEdit and CodeEdit Virtual Keyboard popup 2024-10-17 23:50:28 +05:30
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
Hugo Locurcio 54995d9850 Add a property range hint to bake_fps in the scene glTF export dialog
This clamps the value to a value greater than `0` (exclusive).
2024-10-17 17:00:20 +02:00
DevPoodle a0829dcc3a Add descriptions to RDTextureFormat's methods 2024-10-17 07:46:40 -07:00
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 3dea83215c Fix some strings not caught by editor pseudolocalization 2024-10-17 09:36:02 +08:00
Haoyu Qiu 3d07fced0c Fix typos in AnimationMarkerEdit 2024-10-17 08:12:00 +08:00
Haoyu Qiu 009446a277 Add System Locale layout direction for Control and Window 2024-10-17 07:52:07 +08:00
David Giardi ebe1a2d7ec Add hover state to Tree items display 2024-10-17 00:21:52 +02:00
Hugo Locurcio 302bba333f Improve documentation on "physics spiral of death" in ProjectSettings
- Link to Troubleshooting physics issues documentation page in various
  locations in the class reference.
2024-10-16 22:51:01 +02:00
Thaddeus Crews 04692d83cb Merge pull request #98238 from timothyqiu/not-append
Fix wording in description of `store_line` and `store_string`
2024-10-16 14:16:05 -05:00
Thaddeus Crews 324659f0ca Merge pull request #97564 from kitbdev/animation-bezier-editor-fix-box-select-mouse
Fix mouse clamping in Animation Bezier Editor box select
2024-10-16 14:16:04 -05:00
Thaddeus Crews e4093b558a Merge pull request #98202 from syntaxerror247/patch-1
Update `use_native_dialog` description in `FileDialog`
2024-10-16 14:16:04 -05:00
Thaddeus Crews 78dbd39d1e Merge pull request #98196 from bruvzg/u16_list
[Font Importer] Update Unicode block list to Unicode 16.0
2024-10-16 14:16:03 -05:00
Thaddeus Crews 74328ac38e Merge pull request #98195 from kleonc/2d_transform_snapping_revert_incorrect_rounding
Revert unintentional rounding change when 2D transform snapping
2024-10-16 14:16:02 -05:00
Thaddeus Crews 30a2a800dd Merge pull request #98127 from darksylinc/matias-wayland-build-error
Fix wrong Wayland path if building with opengl3=no
2024-10-16 14:16:02 -05:00
Thaddeus Crews 6ccff9b009 Merge pull request #98126 from TCROC/macos-codesign-additional-entitlements
Additional macOS codesign entitlements and print verbose
2024-10-16 14:16:01 -05:00