Commit Graph

79202 Commits

Author SHA1 Message Date
b651fc3204 Merge pull request #93889 from dalexeev/gds-exclude-addons-exceptions-setting
GDScript: Add `debug/gdscript/warnings/directory_rules` project setting
2025-11-17 10:56:51 -06:00
dd3df2a075 Merge pull request #112831 from ryevdokimov/fix-erased-editor-shortcuts
Fix modified editor shortcuts being erased
2025-11-17 10:56:50 -06:00
f4bb9eaafe Merge pull request #112702 from enetheru/tracy-mem
Add memory profiling macros for tracy profiler option
2025-11-17 10:56:49 -06:00
58054297e7 Merge pull request #112828 from KoBeWi/diss_holdplacer
Fix display_placeholder not persisting
2025-11-17 10:56:48 -06:00
bf99866abe Merge pull request #112825 from KoBeWi/why_would_you_do_that
Don't save editor settings on startup
2025-11-17 10:56:47 -06:00
18c58dfffe Merge pull request #112824 from KoBeWi/connection_lost_(good)
Fix not being able to set project path
2025-11-17 10:56:46 -06:00
9cb514c67a Merge pull request #112693 from Calinou/doc-canvasgroup-tweak-description
Tweak CanvasGroup description to be more explicit about its purpose
2025-11-17 10:56:45 -06:00
11dd67108d Merge pull request #112174 from kleonc/editor_property_layers_grid_allow_drag_toggling
Allow drag setting flags in layers property editor
2025-11-17 10:56:44 -06:00
d78725646b Merge pull request #110761 from fkeyzuwu/assign-export-value-bug
Fix drag and drop `@export` variable assignment when script has errors
2025-11-17 10:56:43 -06:00
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
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
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
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
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
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
187ab2161d Merge pull request #112793 from timothyqiu/remove-translation-po
Remove `TranslationPO`
2025-11-17 10:56:35 -06:00
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
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
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
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
c5ebb7a645 Merge pull request #111367 from TokageItLab/relative-look-at
Add relative option to LookAt/AimModifier3D
2025-11-17 10:56:30 -06:00
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
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
acdace4f00 Android Editor: Fix padding for display cutout in fullscreen mode 2025-11-17 19:00:37 +05:30
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
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
21ffbecfa9 Resolve depth buffer in pass if supported by driver 2025-11-17 17:29:38 +11:00
031fd66fed Add mutable_bone_axes to IKs 2025-11-17 09:45:31 +09:00
c18332740c Include key in Dictionary::operator[] error message
Include key in error message when lookup fails
2025-11-16 18:06:04 -05:00
7df165ce94 Fix preview CSG interfering with itself during drag and drop 2025-11-16 14:31:12 -06:00
77318d2acd Fix crash in EditorFileDialog by checking for null pointer 2025-11-16 20:02:52 +00:00
369e690c55 [TextServer] Remove negative offset from the first char when shaping substrings. 2025-11-16 20:59:26 +02:00
0573f874d1 Move the line of importing JointLimitation3D to 3D from Physics3D 2025-11-17 03:30:02 +09:00
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
c4c39fba55 Fix display_placeholder not persisting 2025-11-16 03:18:24 +01:00
9fadd0d99e Fix modified editor shortcuts being erased 2025-11-15 14:44:01 -06:00
2e99891be2 Fix bottom panel not being able to resize on startup 2025-11-15 12:18:23 -08:00
141a49b090 Don't save editor settings on startup 2025-11-15 20:39:49 +01:00
98523d8a1d Fix not being able to set project path 2025-11-15 20:21:12 +01:00
98caaebb72 Fix GodotProfileZone with tracy backend failing with shadowed variable names. 2025-11-15 20:03:14 +01:00
f722513c08 Fix wrong EditorSettings usage in 3D editor 2025-11-15 19:45:14 +01:00
c6ab601364 Fix read-only state for Skeleton and Inspector 2025-11-15 23:10:15 +09:00
e32f7de33d Add relative option to LookAt/AimModifier3D 2025-11-15 23:06:48 +09:00
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
087dea4b15 FTI - Camera2D accepts resets only after entering tree 2025-11-15 12:02:43 +00:00
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
79ffbfdf73 Reorganize canvas shader varyings in RD renderer 2025-11-14 22:29:28 -08:00
1ce77b8899 Fix wrong AABB when selecting Node3D gizmo in editor 2025-11-15 10:35:36 +05:00
513e421209 [.NET] Add compat method for DisplayServer.TtsSpeak 2025-11-15 05:55:03 +01:00
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