Commit Graph

80742 Commits

Author SHA1 Message Date
Thaddeus Crews d999f873ba Merge pull request #106532 from isaaccp/fix-texture-atlas-import-deadlock
Fix texture atlas import deadlock by keeping group_file= on failed import_file() attempts
2025-11-17 10:56:41 -06:00
Thaddeus Crews 46adcc6268 Merge pull request #112801 from clayjohn/premul-alpha-sss
Apply `PREMUL_ALPHA_FACTOR` only in non-split-specular shader variants.
2025-11-17 10:56:40 -06:00
Thaddeus Crews e81f1df09d Merge pull request #112800 from clayjohn/canvas-rd-varying
Reorganize canvas shader varyings in RD renderer
2025-11-17 10:56:39 -06:00
Thaddeus Crews 0faf4210b4 Merge pull request #112798 from raulsntos/dotnet/compat/displayserver.tts_speak
[.NET] Add compat method for `DisplayServer.TtsSpeak`
2025-11-17 10:56:38 -06:00
Thaddeus Crews fc15c8f63f Merge pull request #106780 from arkology/no-more-distraction
Add "Distraction Free Mode" button to `EditorBottomPanel` when bottom panel is expanded
2025-11-17 10:56:37 -06:00
Thaddeus Crews 9cebf8d957 Merge pull request #112666 from Oblepikha/fix-child-light-selection
Fix wrong AABB when selecting Node3D gizmo in editor
2025-11-17 10:56:36 -06:00
Thaddeus Crews 187ab2161d Merge pull request #112793 from timothyqiu/remove-translation-po
Remove `TranslationPO`
2025-11-17 10:56:35 -06:00
Thaddeus Crews e051f23971 Merge pull request #112792 from lodetrick/bottom-panel-resize
Fix bottom panel not being able to resize on startup
2025-11-17 10:56:34 -06:00
Thaddeus Crews 9323d9d624 Merge pull request #110487 from TokageItLab/fix-read-only-state-for-skel-and-inspector
Fix read-only state for Skeleton and Inspector
2025-11-17 10:56:33 -06:00
Thaddeus Crews cb937c31f8 Merge pull request #112787 from Meorge/bugfix/project-manager-favorite-spelling
Use American spelling of "favorite" in Project Manager code for consistency
2025-11-17 10:56:32 -06:00
Thaddeus Crews 42f06f6d4d Merge pull request #108170 from aaronfranke/test-ps-path-func
Use ProjectSettings path functions instead of hard-coded folder names in tests
2025-11-17 10:56:31 -06:00
Thaddeus Crews c5ebb7a645 Merge pull request #111367 from TokageItLab/relative-look-at
Add relative option to LookAt/AimModifier3D
2025-11-17 10:56:30 -06:00
Thaddeus Crews f00cf63b42 Merge pull request #107652 from vaner-org/set-tab-as-main-scene
Add "Set as Main Scene" option to EditorSceneTabs context menu
2025-11-17 10:56:29 -06:00
Thaddeus Crews 359ef8fc2b Merge pull request #108932 from Nazarwadim/hash_map_final_optimization
Do not zero elements and perform fast clear in `HashMap`
2025-11-17 10:56:27 -06:00
Anish Kumar acdace4f00 Android Editor: Fix padding for display cutout in fullscreen mode 2025-11-17 19:00:37 +05:30
Thomas ten Cate cc7b79cdbd Improve HeightMapShape3D documentation
See also https://github.com/godotengine/godot-docs/issues/7471

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
2025-11-17 12:07:00 +01:00
Will Thompson 1a3a254e26 Support XDG Inhibit portal
Previously, on Linux and BSD, inhibiting the screensaver was handled
using the org.freedesktop.ScreenSaver D-Bus API. Unfortunately, this API
is not available in a Flatpak sandbox. (This is because there is a
desire to tie inhibit sessions to a specific app and visible window; but
the org.freedesktop.ScreenSaver API does not support this.)

As a result, when using the Flatpak build of the Godot Editor (or a
Flatpak-ed build of a game) and using a controller to play a game, the
session will become idle after a few minutes.

The XDG desktop portal -- which is already used for color-picking, file
choosing, and querying the system theme -- has an Inhibit interface that
provides a superset of the functionality of the
org.freedesktop.ScreenSaver API, and is available to any sandboxed app.

Refactor code for making XDG portal requests that was previously
duplicated for the FileChooser and ColorPicker portal code. Check the
portal version to determine whether these portals can be used:

- FileChooser portal version 3 is required due to the use of the
  "directory" parameter.

- On the Settings portal, the only addition in version 2 is the
  ReadOne() method which is not used here, so version 1 suffices.

- On the Screenshot portal, the only addition in version 2 is the
  "interactive" parameter to the Screenshot() method; this code only
  uses the PickColor() method, so version 1 suffices.

Then, add support for the Inhibit portal. Use it if available and if
running in a sandbox. Prefer to use org.freedesktop.ScreenSaver if not
running in a sandbox, even if the portal is available, because (at least
in the GNOME 43 implementation of the portal) it does not work correctly
if the portal cannot map the request to a running app. This adds a small
amount of complexity to the implementation, but supporting both APIs is
necessary anyway (there are many systems in the wild that support
org.freedesktop.ScreenSaver but not the desktop portal).

Fixes https://github.com/godotengine/godot/issues/108634
2025-11-17 11:46:28 +01:00
Bastiaan Olij 21ffbecfa9 Resolve depth buffer in pass if supported by driver 2025-11-17 17:29:38 +11:00
Silc Lizard (Tokage) Renew 031fd66fed Add mutable_bone_axes to IKs 2025-11-17 09:45:31 +09:00
aaronp64 c18332740c Include key in Dictionary::operator[] error message
Include key in error message when lookup fails
2025-11-16 18:06:04 -05:00
Robert Yevdokimov 7df165ce94 Fix preview CSG interfering with itself during drag and drop 2025-11-16 14:31:12 -06:00
Edward Moulsdale 77318d2acd Fix crash in EditorFileDialog by checking for null pointer 2025-11-16 20:02:52 +00:00
Pāvels Nadtočajevs 369e690c55 [TextServer] Remove negative offset from the first char when shaping substrings. 2025-11-16 20:59:26 +02:00
Silc Lizard (Tokage) Renew 0573f874d1 Move the line of importing JointLimitation3D to 3D from Physics3D 2025-11-17 03:30:02 +09:00
Robert Yevdokimov f69ad331eb Fix modifiying shortcuts in project manager causing crash 2025-11-16 12:22:41 -06:00
aaronp64 5c2d12dea3 Check if scale/offset values are provided in gltf KHR_texture_transform
Update GLTFDocument to check if scale/offset values exist when reading KHR_texture_transform extension
2025-11-16 12:13:02 -05:00
kobewi c4c39fba55 Fix display_placeholder not persisting 2025-11-16 03:18:24 +01:00
Robert Yevdokimov 9fadd0d99e Fix modified editor shortcuts being erased 2025-11-15 14:44:01 -06:00
Logan Detrick 2e99891be2 Fix bottom panel not being able to resize on startup 2025-11-15 12:18:23 -08:00
kobewi 141a49b090 Don't save editor settings on startup 2025-11-15 20:39:49 +01:00
kobewi 98523d8a1d Fix not being able to set project path 2025-11-15 20:21:12 +01:00
Lukas Tenbrink 98caaebb72 Fix GodotProfileZone with tracy backend failing with shadowed variable names. 2025-11-15 20:03:14 +01:00
kobewi f722513c08 Fix wrong EditorSettings usage in 3D editor 2025-11-15 19:45:14 +01:00
Silc Lizard (Tokage) Renew c6ab601364 Fix read-only state for Skeleton and Inspector 2025-11-15 23:10:15 +09:00
Silc Lizard (Tokage) Renew e32f7de33d Add relative option to LookAt/AimModifier3D 2025-11-15 23:06:48 +09:00
Lukas Tenbrink d7f5c13db8 Add Span equality (== and !=) operators.
Exchange duplicate equality iteration implementations across `Vector` and `String` with the `Span` version, for a speed boost.
2025-11-15 14:21:54 +01:00
lawnjelly 087dea4b15 FTI - Camera2D accepts resets only after entering tree 2025-11-15 12:02:43 +00:00
clayjohn a7e1a65ca8 Apply PREMUL_ALPHA_FACTOR only in non-split-specular shader variants.
This avoids a shader compile error when using SSS and PREMUL_ALPHA_FACTOR in the same shader.

This doesn't change any functionaility, since in practive, the split-specular shader variant is only ever used for opaque objects while using premul alpha makes the object non-opaque
2025-11-14 23:17:17 -08:00
clayjohn 79ffbfdf73 Reorganize canvas shader varyings in RD renderer 2025-11-14 22:29:28 -08:00
Elliot Valeev 1ce77b8899 Fix wrong AABB when selecting Node3D gizmo in editor 2025-11-15 10:35:36 +05:00
Raul Santos 513e421209 [.NET] Add compat method for DisplayServer.TtsSpeak 2025-11-15 05:55:03 +01:00
vaner-org 8aea5136f8 Adds "Set as Main Scene" option to EditorSceneTabs context menu
Adds the option to quickly set main scene by right-clicking a scene tab. If the scene has no root, then the option is greyed out. If the scene is unsaved, the file is saved and then set as main scene.

Co-Authored-By: Alex Tam <65537185+altamkp@users.noreply.github.com>
2025-11-15 09:24:34 +05:30
robert yevdokimov 3cfcedd6d5 Do not require editor restart when changing Path 3d Tilt Disk Size setting 2025-11-14 21:04:05 -06:00
jinyangcruise b8158adfe3 Fix find in files auto search when changing theme 2025-11-15 10:45:41 +08:00
Haoyu Qiu cbd3528e01 Improve auto-translation of the replication editor
Texts in `ReplicationEditor`, `SceneTreeDialog`, `PropertySelector`.

Also the "Copy Text" button in the general warning dialog.
2025-11-15 10:22:35 +08:00
Aaron Franke e9bfc5a346 GLTF: Determine the component type when encoding object model properties 2025-11-14 18:15:59 -08:00
Haoyu Qiu 43e323dce5 Remove TranslationPO 2025-11-15 10:13:07 +08:00
BrotherShort 918f23f80f Fix tree relationship lines are squeezed together 2025-11-15 08:27:22 +08:00
Samuel Nicholas fa5c17d68c Add memory profile macros to profiling with tracy implementation
Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-11-15 10:20:31 +10:30
kleonc 944bd82d45 Fix TileMapLayer transformations for Node2D scene tiles 2025-11-15 00:39:34 +01:00