Commit graph

68205 commits

Author SHA1 Message Date
Haoyu Qiu
78801f61da Add auto translate mode for tooltips 2024-09-26 22:31:22 +08:00
Adam Scott
a1e409c58b
Update minimum requirements for emscripten to 3.1.62 2024-09-26 10:19:48 -04:00
Pablo Andres Fuente
163753949e Add filter & sort to editor file dialog
Closes https://github.com/godotengine/godot-proposals/issues/2721

On `EditorFileDialog`:
 * Add filter box that only shows folders and files in current directory that match
 * Add sort button to sort files and directories
 * Add a shortcut for CTRL+F for selecting the filter box

Also moved common code between `EditorFileDialog` and `FileSystemDock`
to it's own file.

Co-authored-by: fox <12120644+foxydevloper@users.noreply.github.com>
2024-09-26 11:08:13 -03:00
Rémi Verschelde
a83ea6b57d
Fix EditorFileSystem crash when fetching icons for unknown file types
Fixes crash reported in https://github.com/godotengine/godot/pull/97421#issuecomment-2376684690.
2024-09-26 16:01:23 +02:00
Hugo Locurcio
1959dc9b62
Show GPU name when RenderingDevice is unsupported in the project creation dialog
This helps diagnose issues on multi-GPU setups, particularly when
only one of them supports RenderingDevice-based rendering methods.

This can be the case on old laptops with an Intell Haswell IGP
and a NVIDIA Maxwell dedicated GPU, where the IGP does not support
RenderingDevice but the dedicated GPU does.
(In this case, Godot must be forced to run on the dedicated GPU
to allow using RenderingDevice-based rendering methods.)
2024-09-26 15:39:52 +02:00
Silc Lizard (Tokage) Renew
2eb069f40b Move skin registration process into deferred on ready 2024-09-26 22:36:58 +09:00
Hugo Locurcio
8a485ff658
Fix BaseMaterial3D refracting objects located in front of the material
Depth comparison is now used to prevent refraction from occurring
if the pixel being refracted is located in front of the object.

For pixels slightly behind the object, a `smoothstep()` curve
is used to progressively increases refraction intensity
as the distance between the object and the refraction increases.
This avoids sudden discontinuities in the refraction.

Co-authored-by: GeneralLegendary <generallegendary456@gmail.com>
2024-09-26 15:12:31 +02:00
matheusmdx
3e0d3c433b Fix pink GradientTexture2D 2024-09-26 09:50:55 -03:00
BlueCube3310
2167157aaf Replace squish with bcdec for BC decompression 2024-09-26 14:42:54 +02:00
kobewi
4b734aeda9 Disable auto translation in EditorDirDialog 2024-09-26 14:28:48 +02:00
Lukas Tenbrink
e117ed9cd4
Rename Vector4.components -> coord 2024-09-26 14:02:00 +02:00
Rémi Verschelde
a0d1ba4a3d
Merge pull request #97458 from Faless/fix/imagine_its_2024_and_your_os_cant_handle_few_kbs_of_text
[SCons] Remove MAXLINELENGTH override for MSVC
2024-09-26 12:50:14 +02:00
Rémi Verschelde
a4c1804cab
Merge pull request #97483 from akien-mga/clang-format-19.1.0
CI: Update `clang-format` pre-commit hook to 19.1.0
2024-09-26 12:46:04 +02:00
Rémi Verschelde
b64b464ba7
Merge pull request #97481 from Chaosus/shader_fix_void_return
Fix shader crash when return a void function call
2024-09-26 12:46:01 +02:00
Rémi Verschelde
8493a39e91
Merge pull request #97479 from dustdfg/csg_redudant_3d_disabled_check
Remove redundant `_3D_DISABLED` check from csg module
2024-09-26 12:45:58 +02:00
Rémi Verschelde
dbf1efbd19
Merge pull request #97442 from dustdfg/disable_xr/missing_disable_3d_ifndefs
Add missing `#ifndef _3D_DISABLED` to main file
2024-09-26 12:45:54 +02:00
Rémi Verschelde
bfe74eca3b
Merge pull request #97428 from clayjohn/shadow-filter-jitter-rebase
Jitter shadow map dithering pattern across frames when TAA is enabled
2024-09-26 12:45:50 +02:00
Rémi Verschelde
841061d50e
Merge pull request #97421 from SaNeOr/fix#97387
Fix GDExtension classes inheriting from Resource not using icons in FileSystem
2024-09-26 12:45:46 +02:00
Rémi Verschelde
2912cb9975
Merge pull request #97118 from mihe/patch-exports
Add ability to export patch packs
2024-09-26 12:45:42 +02:00
Rémi Verschelde
991e6c92ab
Merge pull request #96923 from Repiteo/style/warning-admonition
Style: Add `WARNING:` as new comment admonition
2024-09-26 12:45:38 +02:00
Rémi Verschelde
052b122108
Merge pull request #96184 from biswas08433/patch-1
Clarify transform data ordering in `RenderingServer.multimesh_set_buffer`
2024-09-26 12:45:35 +02:00
Rémi Verschelde
ef7547384c
Merge pull request #95678 from Hilderin/fix-slow-load-on-large-project-v2
Fix slow editor load on large projects (v2)
2024-09-26 12:45:31 +02:00
Rémi Verschelde
9d5b59b2ae
Merge pull request #94864 from rune-scape/add-missing-method-bind
Add missing CallableCustomMethodPointer for const methods
2024-09-26 12:45:27 +02:00
Rémi Verschelde
a90da7e87b
Merge pull request #93058 from Repiteo/scons/scons_hints
SCons: Add unobtrusive type hints in SCons files
2024-09-26 12:45:21 +02:00
Fabio Alessandrelli
395a4fc5f2 [SCons] Remove MAXLINELENGTH override for MSVC
It's not clear what is the actual max value that windows support, but
despite their claim of it being 8191 we have been seeing failure with
just 8150.
2024-09-26 12:06:16 +02:00
Rémi Verschelde
c92a6c7e27
CI: Update clang-format pre-commit hook to 19.1.0 2024-09-26 11:46:12 +02:00
Chaosus
3828d45e31 Fix shader crash when return a void function call 2024-09-26 11:20:39 +03:00
Yevhen Babiichuk (DustDFG)
e3eb5ee607 Remove redudant _3D_DISABLED check from csg module
It even won't be considered for building so there is no any sense
for compile time checks

Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2024-09-26 10:24:10 +03:00
Fredia Huya-Kouadio
77202e08b4 Update the set of excluded permissions for the XR Editor
A few permissions including the `USE_SCENE` permission are being renamed with the launch of the Meta Spatial SDK, so we update the excluded list to avoid requesting them on app start.
2024-09-25 23:22:16 -07:00
Hugo Locurcio
c15fe90ac4 Make pressing Enter confirm project creation/import in the project manager
This makes the project manager more friendly to keyboard usage.

You can now create projects more easily without touching the mouse
by opening the project manager, pressing Ctrl + N, entering a project
name and pressing Enter.
2024-09-26 02:06:30 +02:00
Haoyu Qiu
6a7183119f Make _make_custom_tooltip receive raw tooltip for buttons with shortcut enabled 2024-09-26 08:05:10 +08:00
Hilderin
21f7c8a25f Fix slow editor load on large projects (v2) 2024-09-25 17:36:39 -04:00
Hugo Locurcio
b3d413d4b4
Clarify when LineEdit's text_submitted signal is emitted 2024-09-25 22:48:35 +02:00
Juan Linietsky
08947d366f Make RID_Owner lock-free for fetching.
This PR makes RID_Owner lock free for fetching values, this should give a very
significant peformance boost where used.

Some considerations:

* A maximum number of elements to alocate must be given (by default 256k).
* Access to the RID structure is still safe given they are independent from addition/removals.
* RID access was never really thread-safe in the sense that the contents of the data are not protected anyway. Each server needs to implement locking as it sees fit.
2024-09-25 15:05:24 -03:00
Rémi Verschelde
f7c567e2f5
Merge pull request #97447 from dsnopek/x11-focus-bugs-take-twenty-seven-million-and-seven
Fix renaming nodes on X11
2024-09-25 19:34:11 +02:00
Mikael Hermansson
d3be030ea6 Add ability to export patch packs
Co-authored-by: Poq Xert <poqxert@poqxert.ru>
2024-09-25 17:07:28 +02:00
A Thousand Ships
0fdbd22f56
Update CODEOWNERS
* Added shared responsibilities for documentation and tests
* Made buildsystem manage all build scripts (uniquely)
* Cleaned up unused cases
* Added unmanaged cases
2024-09-25 16:48:00 +02:00
Thaddeus Crews
32c83a228d
Style: Add WARNING: as new comment admonition 2024-09-25 09:44:42 -05:00
Thaddeus Crews
9f9ee0c813
SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
David Snopek
36293a2dbf Fix renaming nodes on X11 2024-09-25 09:05:51 -05:00
Yevhen Babiichuk (DustDFG)
415607784f Add missing #ifndef _3D_DISABLED to main file
XR is disabled when 3D is disbled so there is no sense in
setting xr specific settings and adding `--xr-mode` option

Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2024-09-25 14:24:59 +03:00
Rémi Verschelde
0a9d8f04c1
Merge pull request #97410 from KoBeWi/it's_redover
Discard additional redo on commiting actions
2024-09-25 12:39:32 +02:00
Rémi Verschelde
ca1a390050
Merge pull request #97398 from timothyqiu/color-picker-etr
Add missing `ETR` macros in `ColorPicker`
2024-09-25 12:39:29 +02:00
Rémi Verschelde
5d5cdc02c5
Merge pull request #97392 from BastiaanOlij/xr_cleanup_action_map_dialogs
Cleanup of action map dialogs
2024-09-25 12:39:25 +02:00
Rémi Verschelde
4c5e879cc5
Merge pull request #97380 from TheSofox/handle_modes_default_fix
Ensure `handle_modes` is given default values rather than flagging error if undefined
2024-09-25 12:39:22 +02:00
Rémi Verschelde
65c94ec873
Merge pull request #97290 from fire/fix-animation-compression
Fix animation compression going the wrong way
2024-09-25 12:39:18 +02:00
Rémi Verschelde
95e7e653f2
Merge pull request #97101 from aryan-11825114/fix-network-profiler-not-disabling-buttons
Fix Network Profiler not disabling buttons
2024-09-25 12:39:14 +02:00
Rémi Verschelde
73bf121ceb
Merge pull request #93786 from alvinhochun/viewport-pixel-snap-fix
Apply "snap 2D transforms to pixel" to viewport
2024-09-25 12:39:10 +02:00
Rémi Verschelde
70fede82c5
Merge pull request #93324 from tracefree/reinhard-fix
Fix incorrect Reinhard tonemap operator
2024-09-25 12:39:06 +02:00
Rémi Verschelde
26340e0b91
Merge pull request #53666 from pkowal1982/camera
Add Linux camera support
2024-09-25 12:39:03 +02:00