Rémi Verschelde
c40c89f94c
Merge pull request #90457 from Chubercik/ruff-formatter
...
Replace `black` formatter with `ruff`
2024-05-22 09:26:42 +02:00
Rémi Verschelde
e34b97312e
Merge pull request #89630 from jsjtxietian/pick-color
...
Make "Pick Color"'s result less precise, keep only 3 decimals
2024-05-22 09:26:37 +02:00
Daylily-Zeleen
f523d4f16f
Fix confusing descriptions of ConfirmationDialog's description.
2024-05-22 15:05:56 +08:00
lmyers421
dfc9976c6f
Increase width of project settings window
...
Fixes #91009 .
2024-05-22 08:41:39 +02:00
clayjohn
c5346a62b0
Only apply LOD when camera is outside the AABB of mesh in mobile renderer.
...
This copies the existing logic from the Forward+ renderer
2024-05-21 18:32:04 -07:00
Bastiaan Olij
db32707bb2
Stereo rendering: Fix omni lights
2024-05-22 10:09:31 +10:00
Jakub Marcowski
d9f8ef68df
Update pre-commit hooks configuration to use ruff
instead of black
2024-05-21 18:02:29 -05:00
kobewi
e065d7132a
Remove duplicate shortcut definitions
2024-05-21 23:28:49 +02:00
Rémi Verschelde
214968243c
Merge pull request #92216 from dsnopek/runtime-classes-err-print-once
...
Don't use `ERR_PRINT_ONCE()` for runtime class error because it will hide errors
2024-05-21 23:19:09 +02:00
Rémi Verschelde
9d792dd4dc
Merge pull request #92204 from akien-mga/pre-commit-downstream-hooks
...
Pre-commit: Allow adding downstream hooks without (less) risk of conflicts
2024-05-21 23:19:06 +02:00
Rémi Verschelde
4c0d5e59bf
Merge pull request #92200 from devloglogan/composition-layer-viewport-fix
...
Allow `OpenXRCompositionLayer` property `layer_viewport` to always be assigned `nullptr`
2024-05-21 23:19:03 +02:00
Rémi Verschelde
03aa82849d
Merge pull request #92197 from lyuma/better_fbx_defaults
...
FBX: Change trimming default and use FBX2glTF for compatibility
2024-05-21 23:18:59 +02:00
Rémi Verschelde
7ecf3eb437
Merge pull request #92194 from KoBeWi/TileMap_is_dead
...
Remove some TileMap dependencies from TileMapLayer
2024-05-21 23:18:56 +02:00
Rémi Verschelde
d916423327
Merge pull request #92181 from smix8/recast_vertices_dup
...
Remove duplicated vertices after 3D NavigationMesh bake
2024-05-21 23:18:53 +02:00
Rémi Verschelde
aa20f54cb7
Merge pull request #92137 from BastiaanOlij/fix_fb_swapchain_foveation
...
OpenXR: Fix updating swapchain for foveation
2024-05-21 23:18:45 +02:00
David Snopek
62f9365b21
Don't use ERR_PRINT_ONCE()
for runtime class error because it will hide errors
2024-05-21 13:55:56 -05:00
Lyuma
c433754d34
fbx: change import option defaults
...
ufbx has special logic to handle animation/trimming, and most users expect trimming to be on.
For existing projects, we should upgrade files0 to FBX2glTF to preserve node compatibility.
2024-05-21 07:58:36 -07:00
Rémi Verschelde
00e52d975c
Pre-commit: Allow adding downstream hooks without (less) risk of conflicts
...
Apply Godot copyright header only on the platform folders that we maintain upstream.
This lets downstream forks decide what to do with their potential proprietary platforms.
2024-05-21 15:58:47 +02:00
devloglogan
3d7b712c86
Allow OpenXRCompositionLayer property layer_viewport to be assigned to nullptr
2024-05-21 07:52:40 -05:00
smix8
4128c7b311
Remove duplicated vertices after 3D NavigationMesh bake
...
Removes duplicated vertices that may exist on shared polygon corners after a ReCast navigation mesh bake.
2024-05-21 14:18:32 +02:00
Lyuma
ef486db569
Support Import As Skeleton Bones on glTF and AnimationLibrary import
2024-05-21 03:19:35 -07:00
kobewi
6559bb68e6
Remove some TileMap dependencies from TileMapLayer
2024-05-21 11:32:14 +02:00
Rémi Verschelde
aaa4560729
Merge pull request #92192 from timothyqiu/no-thank-you
...
Don't translate preview in node batch rename dialog
2024-05-21 11:23:11 +02:00
Rémi Verschelde
0e39ac6ac6
Merge pull request #92176 from emrekultursay/master
...
Fix detecting when Gradle is invoked from Studio
2024-05-21 11:23:08 +02:00
Rémi Verschelde
365d25de3e
Merge pull request #92173 from cosparks/fix-tilemap-occluder-sdf
...
Fix 2d sdf collision for TileMapLayer Occluders
2024-05-21 11:23:05 +02:00
Rémi Verschelde
9e9fb165bc
Merge pull request #92171 from KoBeWi/gridder_grid
...
Fix tile polygon grid not covering whole tile
2024-05-21 11:23:02 +02:00
Rémi Verschelde
d7a5f9d67c
Merge pull request #92164 from DarioSamo/force_update_skeleton
...
Replace List with LocalVector on Skeleton3D's bone transform update.
2024-05-21 11:22:59 +02:00
Rémi Verschelde
0f044855f5
Merge pull request #92158 from bruvzg/win_crlf
...
[Windows] Use CRLF in the terminal prints.
2024-05-21 11:22:56 +02:00
Rémi Verschelde
dcc7cb01a7
Merge pull request #92154 from lawnjelly/is_polygon_clockwise_doc
...
Clarify `is_polygon_clockwise()` coordinate system
2024-05-21 11:22:53 +02:00
Rémi Verschelde
149e3b85aa
Merge pull request #92145 from jsjtxietian/doc-init
...
Prevent add shader uniform doc when DocTool is not inited
2024-05-21 11:22:50 +02:00
Rémi Verschelde
008fd5fee6
Merge pull request #92078 from lawnjelly/increase_tight_cull_epsilon
...
Tight shadow culling - increase epsilon to prevent flickering
2024-05-21 11:22:47 +02:00
Rémi Verschelde
ee1f898b5d
Merge pull request #92004 from timothyqiu/drop-audio
...
Create AudioStreamPlayer when dropping AudioStream
2024-05-21 11:22:44 +02:00
Rémi Verschelde
c0eb347946
Merge pull request #91557 from AThousandShips/dotnet_doc_fix
...
[C#] Unexpose `GodotSharp`
2024-05-21 11:22:40 +02:00
Rémi Verschelde
0cf42d6273
Merge pull request #88919 from nongvantinh/fix-88834
...
Revise implementation of C# `Aabb.GetSupport` to match the implementation in `core`
2024-05-21 11:22:36 +02:00
Rémi Verschelde
a720ce3046
Merge pull request #84331 from Alex2782/debug-InputEventScreenDrag
...
Fix InputEventScreenDrag on Android
2024-05-21 11:22:31 +02:00
Haoyu Qiu
09feef3572
Don't traslate preview in node batch rename dialog
2024-05-21 15:55:06 +08:00
Emre Kultursay
3b8d0bee4a
Fix detecting when Gradle is invoked from Studio
...
The existing 'idea.platform.prefix' system-property approach
only worked because of a Android Studio bug that leaks the
system properties from Android Studio into Gradle build:
- https://issuetracker.google.com/201075423
This bug was fixed in Android Studio 2023.3.1 (Jellyfish).
The correct way of identifying builds from Android Studio is to
use the following project property (not system property):
- android.injected.invoked.from.ide
2024-05-20 17:02:36 -07:00
aaronp64
f81e0fcbf4
Improve memory usage for image import and PortableCompressedTexture2D
...
When importing images, we store a compressed version of the image to a .ctex file with ResourceImporterTexture::save_to_ctex_format. When importing many large images at once, this can use a large amount of memory, especially when the .ctex file uses WebP format.
This change is for ResourceImporterTexture::save_to_ctex_format to use the original Image object instead of p_image->get_image_from_mipmap(0), to avoid creating a copy of the full uncompressed image when looping through the base Image and mipmaps. This reduces the import memory usage for large images by around 10% when using WebP, and 35-40% when Project Settings/Rendering/Textures/Lossless Compression/Force PNG is enabled, may vary depending on the image and number of import threads running. Same change applied to PortableCompressedTexture2D::create_from_image, which has similar logic.
This helps with #92084 , but does not fully resolve the issue on its own, as compressing with WebP on many threads can still use a large amount of memory - this just lowers that amount, and makes it more likely that enabling "Force PNG" will reduce memory usage enough to import the files.
2024-05-20 19:40:39 -04:00
Alexander Hartmann
ab9e377fe6
Fix InputEventScreenDrag on Android
2024-05-21 01:04:23 +02:00
cosparks
601edc7d3e
Fix 2d sdf collision for TileMapLayer
2024-05-20 13:03:02 -07:00
kobewi
e70ca3bf5a
Fix tile polygon grid not covering whole tile
2024-05-20 20:16:06 +02:00
lawnjelly
331ecf3ca8
Clarify is_polygon_clockwise() coordinate system
...
The function assumes a normal Cartesian coordinate system.
2024-05-20 18:34:45 +01:00
Rémi Verschelde
40b4130c93
Merge pull request #92151 from timothyqiu/frame-dup
...
Fix error when duplicating visual shader node inside a Frame
2024-05-20 17:07:08 +02:00
Rémi Verschelde
eef7e29527
Merge pull request #92143 from m4gr3d/cleanup_android_plugin_on_exit
...
Add logic to unregister the Godot plugins on engine termination
2024-05-20 17:07:05 +02:00
Rémi Verschelde
b44e9b0ce4
Merge pull request #92136 from Maran23/editor-feature-profile-improvements
...
Editor Feature Profile: Only rebuild selected TreeItem and all children when a property is edited
2024-05-20 17:07:02 +02:00
Rémi Verschelde
15a888712d
Merge pull request #92116 from RadiantUwU/new_audio_icons
...
Change the AudioStreamPlayer icons to be clearer.
2024-05-20 17:06:58 +02:00
Rémi Verschelde
b0822250d6
Merge pull request #92112 from KoBeWi/is_there_something_this_class_can't_do
...
Improve documentation on TreeItem's cell modes
2024-05-20 17:06:52 +02:00
Rémi Verschelde
fc9a8d1e91
Merge pull request #92108 from KoBeWi/stash_focus_for_later
...
Disable follow focus while updating inspector
2024-05-20 17:06:48 +02:00
Rémi Verschelde
45f6aaeb10
Merge pull request #91887 from minionprocyk/master
...
Use Option+Cmd+Left/Right for script editor history navigation on macOS
2024-05-20 17:06:46 +02:00
Rémi Verschelde
3bd2a6ad6e
Merge pull request #91700 from Sievaxx/checkbox_max_width
...
Fix CheckBox and CheckButton not using `icon_max_width`
2024-05-20 17:06:37 +02:00