Commit Graph

67862 Commits

Author SHA1 Message Date
Jiang Yiheng 864d4fb32a Fix hash calculation for NTSliceKey
A bug was introduced from 057367bf by adding FSR 2.2.1 support.
Which increases hash collision and hurts performance.
2024-09-22 21:08:18 +08:00
A Thousand Ships d49ec39d63
[Core] Add `Engine.print_to_stout` setting to control printing
Also added notes to the related project settings pointing to the
`Engine` properties.
2024-09-22 12:09:01 +02:00
DE YU 307224927c Replace Reflection-Based implementation with Generated one
Co-authored-by: Raul Santos <raulsntos@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-09-22 18:01:14 +08:00
Giganzo 15f344173e Fix Add button style in GroupsEditor 2024-09-22 11:17:06 +02:00
K. S. Ernest (iFire) Lee dd9525be04 Fix animation compression going the wrong way
When compressing animation key frame indices the truncation breaks the animation near the border of pages.

We use banker's rounding (FE_TONEAREST) as implemented by fast_ftoi to get the nearest integer frame.
2024-09-21 19:20:19 -07:00
Ricardo Buring 0333648cea Move Godot Physics 3D into a module; add dummy 3D physics server
If the module is enabled (default), 3D physics works as it did before.

If the module is disabled and no other 3D physics server is registered
(via a module or GDExtension), then we fall back to a dummy
implementation which effectively disables 3D physics functionality (and
a warning is printed).

The dummy 3D physics server can also be selected explicitly, in which
case no warning is printed.
2024-09-21 21:19:45 +02:00
A Thousand Ships ccca41a086
Remove direct render include in `ExternalTexture`
This include introduces `windows/platform_gl.h` into the include
hierarchy which adds defines which break building on MSVC
2024-09-21 17:44:28 +02:00
Haoyu Qiu b7416bf693 Document `OptimizedTranslation.generate()` only works in editor 2024-09-21 23:20:05 +08:00
Haoyu Qiu ef840f935f Make FileSystem dock buttons consistent 2024-09-21 22:02:56 +08:00
Haoyu Qiu 267bb98231 Keep advanced toggle on when searching for settings 2024-09-21 21:15:46 +08:00
Haoyu Qiu 246150453b Better undo action names for localization editor 2024-09-21 19:58:17 +08:00
Rémi Verschelde e4e024ab88
Merge pull request #97273 from timothyqiu/unicode-autoload
Allow using Unicode identifier for Autoload name
2024-09-21 11:51:06 +02:00
Rémi Verschelde 2daea4bb0b
Merge pull request #97269 from timothyqiu/underline-unicode-identifier
Fix script editor not underlining Unicode identifiers when Ctrl-hovered
2024-09-21 11:51:02 +02:00
Rémi Verschelde 0df4a85129
Merge pull request #97268 from MonterraByte/wayland-opengl3-fallback
Fallback to OpenGL 3 if Vulkan isn't available on Wayland
2024-09-21 11:50:59 +02:00
Rémi Verschelde 1ef1c4ee0f
Merge pull request #97264 from clayjohn/obj-no-uv-crash
Fix crash when importing a surface with no UVs after another surface in the same OBJ file that had UVs
2024-09-21 11:50:55 +02:00
Rémi Verschelde 5f5c690481
Merge pull request #97260 from clayjohn/pixel_snap
Calculate pixel snap in canvas space instead of world space
2024-09-21 11:50:52 +02:00
Rémi Verschelde f246419c58
Merge pull request #97259 from alesliehughes/openxr_copy_paste
OpenXR: Correctly set the Depth swapchain name
2024-09-21 11:50:49 +02:00
Rémi Verschelde cc26cacc08
Merge pull request #97242 from timothyqiu/meta-text
Fix wrong displayed category name in `EditorHelpSearch`
2024-09-21 11:50:45 +02:00
Rémi Verschelde aa5c69bfd5
Merge pull request #97239 from Calinou/editor-system-info-add-display-driver-window-mode
Mention display driver and window mode in Copy System Info text
2024-09-21 11:50:42 +02:00
Rémi Verschelde afb1d82bb8
Merge pull request #97237 from Repiteo/style/update-mypy-ruff
Style: Update `ruff` & `mypy` to latest versions
2024-09-21 11:50:38 +02:00
Rémi Verschelde d39f53439f
Merge pull request #96982 from dsnopek/external-texture
Add external texture support (GLES3)
2024-09-21 11:50:35 +02:00
Rémi Verschelde b271a88a9e
Merge pull request #96871 from KoBeWi/borrow_container
Add `SCROLL_MODE_RESERVE` to ScrollContainer
2024-09-21 11:50:31 +02:00
Rémi Verschelde dd7cb059f5
Merge pull request #87344 from AThousandShips/signal_connected
[Core] Add way to check if a signal has any connections
2024-09-21 11:50:24 +02:00
Haoyu Qiu e8462bf3ac Allow using Unicode identifier for Autoload name 2024-09-21 16:47:19 +08:00
Haoyu Qiu 208797d54e Fix script editor not underlining Unicode identifiers when Ctrl-hovered 2024-09-21 14:10:05 +08:00
Joaquim Monteiro c4e4810e93
Fallback to OpenGL 3 if Vulkan isn't available on Wayland 2024-09-21 06:35:35 +01:00
clayjohn 07546006e8 Fix crash when importing a surface with no UVs after another surface in the same OBJ file that had UVs 2024-09-20 19:29:11 -07:00
clayjohn e75900e1ad Calculate pixel snap in canvas space instead of world space
This ensures that you are actually snapping to pixels in the viewport and not an arbitrary amount
2024-09-20 17:43:33 -07:00
Alistair Leslie-Hughes daa4704c44 openxr: Correct set the Depth swapchain name
Introduced in 08ffa5d89e.
2024-09-21 10:00:08 +10:00
David Snopek f7e5e7a400 OpenXR: Allow extending Android surface swapchain creation from GDExtension 2024-09-20 15:42:27 -05:00
Rémi Verschelde 621cadcf65
Merge pull request #97168 from Hilderin/fix-reloading-scripts-already-in-use
Fix reloading scripts already in use
2024-09-20 21:35:08 +02:00
Hugo Locurcio 107675f785
Mention display driver and window mode in Copy System Info text
This is useful information to know, as the X11 display driver can be
used both on X11 natively and on Wayland through XWayland.

Certain editor issues only occur in multi-window mode
(or only in single-window mode). Some issues also only occur
on multi-monitor setups, so the monitor count is now listed.
2024-09-20 18:16:45 +02:00
Hilderin 9638220473 Fix reloading scripts already in use 2024-09-20 12:12:24 -04:00
Haoyu Qiu aa4f7bc2e3 Fix wrong displayed category name in EditorHelpSearch 2024-09-21 00:07:11 +08:00
David Snopek 1a6f8512bc Add external texture support (GLES3)
Co-authored-by: Fredia Huya-Kouadio <fhuyakou@gmail.com>
Co-authored-by: Mauricio Narvaez <nvz@meta.com>
2024-09-20 10:48:32 -05:00
A Thousand Ships 203d3be200
[Core] Add way to check if a signal has any connections
Added to `Object` and `Signal`
2024-09-20 16:39:09 +02:00
Thaddeus Crews fdc6ffd264
Style: Update `ruff` & `mypy` to latest versions 2024-09-20 09:36:09 -05:00
Rémi Verschelde 2be730a05b
Merge pull request #97231 from timothyqiu/missing-period
Add missing period for sentences in classref
2024-09-20 16:26:35 +02:00
Rémi Verschelde 77f779d326
Merge pull request #97167 from MewPurPur/reveal-undoredo
Expose `has_undo()` and `has_redo()` of LineEdit
2024-09-20 16:26:32 +02:00
Rémi Verschelde 8738aae9fc
Merge pull request #94569 from Calinou/script-editor-tweak-zoom-presets
Tweak script editor zoom presets to be more useful
2024-09-20 16:26:23 +02:00
Rémi Verschelde efc7c628b0
Merge pull request #97224 from timothyqiu/transition-names
Update `AnimationTree` parameter list when updating `AnimationNodeTransition` input names
2024-09-20 16:07:09 +02:00
Rémi Verschelde 8ea7f5eac2
Merge pull request #97222 from timothyqiu/csv-not-translation
Don't list CSV as a valid extension for `Translation` resource
2024-09-20 16:07:06 +02:00
Rémi Verschelde 34dd5e0c37
Merge pull request #97217 from stuartcarnie/97185_subpixel_rendering
Metal: Fix subpixel blending; fix inconsistent blend state
2024-09-20 16:07:03 +02:00
Rémi Verschelde 25c4caa5d7
Merge pull request #97209 from kitbdev/fix-tab-container-ensure-visible-offset
Fix TabContainer tab offset moving when not needed
2024-09-20 16:06:59 +02:00
Rémi Verschelde 5070db2575
Merge pull request #97208 from kleonc/transform3d_aabb_multiplication_fix_csharp
Fix C# `operator *(Transform3D, Aabb)`
2024-09-20 16:06:56 +02:00
Rémi Verschelde 2834342a78
Merge pull request #97203 from ev13bird/docs_inspector_plugin_typo
Fix minor typo in EditorPlugin `remove_inspector_plugin`
2024-09-20 16:06:52 +02:00
Rémi Verschelde 93150ffab8
Merge pull request #97202 from jirisvd/fix-typo
Fix typo in CompositorEffect documentation
2024-09-20 16:06:49 +02:00
Rémi Verschelde 2f078e501c
Merge pull request #97198 from raulsntos/dotnet/open-visual-studio-with-dotnet-cli
C#: Use dotnet CLI to launch `OpenVisualStudio.dll`
2024-09-20 16:06:46 +02:00
Rémi Verschelde 90a119225e
Merge pull request #97194 from RobProductions/godot-sharp-error-improvement
Add error messages to `BindingsGenerator`
2024-09-20 16:06:42 +02:00
Rémi Verschelde 7ce8e4fd6b
Merge pull request #97159 from noidexe/Expose-viewport-get-audio-listener
Expose Viewport methods to get current 2D/3D audio listener
2024-09-20 16:06:39 +02:00