Commit Graph

64479 Commits

Author SHA1 Message Date
Hugo Locurcio
60084dcc2c
Prevent label width from flickering rapidly in editor frametime panel
This also improves the background display by drawing a single background
for all 3 labels. This avoids visible corners between each label.
2024-05-23 20:50:25 +02:00
clayjohn
267ea14616 Fix LOD selection in compatibility backend and clean up LOD code 2024-05-23 11:30:22 -07:00
smix8
a545ba0bb7 Fix NavigationRegion3D not reacting to runtime debug enabled change
Fixes NavigationRegion3D not reacting when the main debug enabled property got changed as it only looked at the navigation mesh specific debug.
2024-05-23 20:01:47 +02:00
K. S. Ernest (iFire) Lee
24f56008ac Add bake_fps for FBXDocument, GLTFDocument and both import-export. 2024-05-23 09:09:36 -07:00
Dario
ce4f19a034 Switch vectors in each render pass to use TLS. 2024-05-23 10:52:29 -03:00
bruvzg
628c81d2d9
[DisplayServer] Add method to check if window transparency is supported and enabled. 2024-05-23 15:23:18 +03:00
Danil Alexeev
49594d8c41
Optimize Color::find_named_color() 2024-05-23 15:19:19 +03:00
ajreckof
32e29cc24b Fix bounding box glitch 2024-05-23 11:18:59 +02:00
Rémi Verschelde
b947c53ddc
Merge pull request #92253 from KoBeWi/hash_zeroth
Fix scene hash not updated when scene is empty
2024-05-23 08:59:26 +02:00
Rémi Verschelde
7870b28ed3
Merge pull request #92252 from poiati/fix-wayland-window-class
Properly set window class in Wayland
2024-05-23 08:59:23 +02:00
Rémi Verschelde
55af739d78
Merge pull request #92243 from bruvzg/popup_emb_change
Fix `PopupMenu` focus issues after `Viewport::set_embedding_subwindows` is changed.
2024-05-23 08:59:20 +02:00
Rémi Verschelde
01b804f8ac
Merge pull request #92242 from Daylily-Zeleen/daylily-zeleen/fix_ConfirmationDialog_doc
Fix confusing descriptions of ConfirmationDialog.
2024-05-23 08:59:17 +02:00
Rémi Verschelde
782a0261cb
Merge pull request #92196 from lyuma/gltf_anim_library_import_as_bones
Support Import As Skeleton Bones on glTF and AnimationLibrary import
2024-05-23 08:59:13 +02:00
Rémi Verschelde
da979ecaca
Merge pull request #92134 from Calinou/editor-particles-restart-add-shortcut
Add Ctrl + R keyboard shortcut to restart particle emission in the editor
2024-05-23 08:59:10 +02:00
Rémi Verschelde
de490253fe
Merge pull request #92124 from Repiteo/scons/platform-flags-dict
SCons: Convert platform `get_flags` to dictionary
2024-05-23 08:59:07 +02:00
Rémi Verschelde
f2f6727984
Merge pull request #91863 from patwork/upgrade-to-eslint-9
[Web] Update to eslint 9
2024-05-23 08:59:04 +02:00
jsjtxietian
97af135f1b Fix mesh instance not updated when changing blend shape values 2024-05-23 12:36:31 +08:00
Haoyu Qiu
4def6b6fef Explain add_to_end parameter of add_property_editor() 2024-05-23 09:08:12 +08:00
Michael Alexsander
e1798f4278
Fix unchecking theme overrides not creating an undo action 2024-05-22 21:24:31 -03:00
Thaddeus Crews
896b003cc8
SCons: Convert platform get_flags to dictionary 2024-05-22 13:53:20 -05:00
Hugo Locurcio
57f52092c3
Add Ctrl + R keyboard shortcut to restart particle emission in the editor
Restarting particle animation frequently is often done in the VFX
tweaking process.

This shortcut is available for both GPUParticles and CPUParticles,
in 2D and 3D.
2024-05-22 18:42:04 +02:00
Paulo Poiati
a3769c0edc Properly set window class in Wayland 2024-05-22 10:42:12 -03:00
kobewi
d276e8ba0b Fix scene hash not updated when scene is empty 2024-05-22 14:55:39 +02:00
patwork
1a89ae70eb Upgrade to eslint 9 2024-05-22 11:32:25 +02:00
bruvzg
cb3ce85902
Fix PopupMenu focus issues after Viewport::set_embedding_subwindows is changed. 2024-05-22 11:17:43 +03:00
Rémi Verschelde
8e2141eac5
Merge pull request #92232 from clayjohn/RD-mobile-LOD
Only apply LOD when camera is outside the AABB of mesh in mobile renderer.
2024-05-22 09:27:03 +02:00
Rémi Verschelde
408228889f
Merge pull request #92223 from KoBeWi/do_people_really_copy_whole_shortcut_definitions_multiple_times_and_unironically_think_this_is_alright_🤔
Remove duplicate shortcut definitions
2024-05-22 09:27:00 +02:00
Rémi Verschelde
256f52f816
Merge pull request #92186 from BastiaanOlij/fix_stereo_omni_lights
Stereo rendering: Fix omni lights
2024-05-22 09:26:56 +02:00
Rémi Verschelde
4c96dcf6e0
Merge pull request #92179 from aaronp64/image_import_memory
Improve memory usage for image import and `PortableCompressedTexture2D`
2024-05-22 09:26:53 +02:00
Rémi Verschelde
c4a899f924
Merge pull request #91087 from lmyers421/91009-project-settings-window-too-small
Increase width of project settings window.
2024-05-22 09:26:49 +02:00
Rémi Verschelde
381ce56f8a
Merge pull request #90770 from kitbdev/show-version
Display Godot version and last edited timestamp in project manager
2024-05-22 09:26:47 +02:00
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
Danil Alexeev
4b692959de
GDScript: Fix lambdas capturing non-local variables 2024-05-22 10:07:31 +03: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
ajreckof
0e8abb5132 Fix array variable with@export_multiline not registering changes. 2024-05-21 22:57:32 +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
Hugo Locurcio
a008896f70
Use OS::delay_usec() to avoid using deprecated usleep() on Linux
usleep(3) was declared obsolete in POSIX.1-2001 and removed in POSIX.1-2008.
nanosleep(2) was recommended to be used instead.

`OS::delay_usec()` internally uses `nanosleep()`.

This also uses large number separators for improved readability.
2024-05-21 17:32:40 +02:00