Thaddeus Crews
1c8cc9e7e2
Merge pull request #118815 from Calinou/new-project-default-stretch-mode-canvas-items
...
Use the `canvas_items`/`expand` stretch mode/aspect by default for new projects
2026-04-23 08:35:00 -05:00
Mrfanta-stick
a3499cf72a
Fix Dictionary editor losing selection when changing types in Remote inspector
2026-04-23 13:08:31 +05:30
Thaddeus Crews
a4ca6aad9e
Merge pull request #118748 from romgerman/fix-visual-profiler-threshold-leakage
...
Fix Visual Profiler reference frame line being drawn outside its container
2026-04-22 12:54:40 -05:00
kobewi
366f3e5ded
Re-add support for installing templates from TPZ
2026-04-22 19:00:59 +02:00
Thaddeus Crews
0e25644655
Merge pull request #118796 from deralmas/gotta-go-wrap
...
Buildsystem: Simplify `format_buffer` utility method
2026-04-22 09:58:29 -05:00
Thaddeus Crews
df910723db
Merge pull request #118797 from YeldhamDev/i_keep_forgetting_to_correctly_set_those
...
Fix shrunken vertical borders for editor `Label`s
2026-04-21 16:46:09 -05:00
Thaddeus Crews
0dc7152366
Merge pull request #118793 from YeldhamDev/export_buttons_update
...
Fix wrong disabled states for buttons in the export dialog
2026-04-21 16:46:08 -05:00
Thaddeus Crews
acad86698f
Merge pull request #118800 from bruvzg/loc_err_sp
...
Do not use empty string as editor locale.
2026-04-21 16:46:06 -05:00
Thaddeus Crews
2aa39f0d74
Merge pull request #118413 from YeldhamDev/resource_popup_search
...
Add search bar for the resource and variant popups in the inspector
2026-04-21 16:46:05 -05:00
Thaddeus Crews
63a5e781e5
Merge pull request #118269 from unit-tick/update_drag_n_drop_behaviour
...
Editor: Fix default behavior of `@export_dir` rejects folders in drag and drop
2026-04-21 16:46:04 -05:00
Dery Almas
e4dcf1d852
Buildsystem: Simplify format_buffer utility method
...
This method is used to generate headers for embedding files into the binary
(think about the new `#embed` feature in C23 and C++26).
While the stringification step itself was plenty fast, it then proceeded
to wrap everything using the `textwrap` module. `textwrap` is *very*
slow, as it's apparently optimized for human text.
This patch reimplements the wrapping logic using a simple regex,
resulting in a tremendous speed improvement (~6x), and switches to `map`
for the stringification itself (thanks Rémi!)
It also removes a (practically) unused argument, `initial_indent`.
The generated files are pretty much the same, with a tiny difference in
line length (for some reason the old logic overshot the requested line
length)
2026-04-21 23:18:42 +02:00
Hugo Locurcio
29795e4fad
Use the canvas_items/expand stretch mode/aspect by default for new projects
...
This ensures 2D elements are always at a readable size regardless of window
size or screen resolution. In the era of hiDPI displays being common, this
is generally considered a better default for nearly all games
(as opposed to non-game applications).
The `expand` stretch aspect ensures there are no black bars when the window
aspect ratio differs from the base aspect ratio (16:9 by default),
which matches previous behavior under the `disabled` stretch mode.
Behavior for controls that are not anchored correctly is overall slightly
improved by these defaults: instead of floating somewhere in the middle of the
screen, the controls will be at their expected location when the window aspect
ratio is the same as the base aspect ratio. Regardless, both the previous and
new defaults require the use of anchors for UIs to scale correctly across
different aspect ratios.
Existing projects are not affected by this change, as this only affects
projects created after this commit is merged.
2026-04-21 16:52:08 +02:00
Thaddeus Crews
7b99b6b975
Merge pull request #115184 from YeldhamDev/asset_lib_hint_fixes
...
Fix scroll hint margins in the asset library
2026-04-21 08:48:09 -05:00
Thaddeus Crews
3a8d1def48
Merge pull request #118705 from StarryWorm/get-back-in-the-center
...
Fix the credits not being centered
2026-04-21 08:48:08 -05:00
Thaddeus Crews
c63e6000b1
Merge pull request #117838 from YeldhamDev/inspector_buttons_rtl_fix
...
Fix animation and key buttons of inspector sections being off-center in the RTL layout
2026-04-21 08:48:07 -05:00
Thaddeus Crews
eb2bafbc85
Merge pull request #118577 from EdwardChanCH/improve_scene_tree_context_menu
...
Improve button order in scene tree context menu
2026-04-21 08:48:02 -05:00
Thaddeus Crews
ad40295e53
Merge pull request #118174 from Akosmo/copy-audio-info
...
Add audio info to "Copy System Info"
2026-04-21 08:48:01 -05:00
Pāvels Nadtočajevs
68d6b92adf
Do not use empty string as editor locale.
2026-04-21 09:10:17 +03:00
Michael Alexsander
74bada2542
Fix shrunken vertical borders for editor Labels
2026-04-21 01:10:04 -03:00
Michael Alexsander
f7ee348499
Fix wrong disabled states for buttons in the export dialog
2026-04-20 19:16:15 -03:00
Thaddeus Crews
3e4f548068
Merge pull request #118783 from cashew-olddew/shader_previews_inside_loop_hotfix
...
Fix shader loop detection for shader previewer
2026-04-20 14:32:08 -05:00
Thaddeus Crews
a95a10e55d
Merge pull request #118756 from bruvzg/subpix_mono
...
Disable rounding remainders and subpixel positioning for editor code fonts.
2026-04-20 14:32:02 -05:00
Thaddeus Crews
abd4a0613e
Merge pull request #118751 from syntaxerror247/export-template-manager
...
Remove the separate "Android Source" group in ExportTemplateManager
2026-04-20 14:31:58 -05:00
cashew-olddew
d549fed7dc
reset brace stack
2026-04-20 20:05:47 +03:00
Thaddeus Crews
a5fa0c920a
Merge pull request #118725 from KoBeWi/rare_unhack
...
Remove StyleBox hack from template manager
2026-04-20 09:15:45 -05:00
Thaddeus Crews
50b1744404
Merge pull request #118711 from arkology/opened-scenes-list-search
...
Add search bar for the Opened Scenes List popup
2026-04-20 09:15:40 -05:00
Thaddeus Crews
2863a2a205
Merge pull request #118712 from cashew-olddew/shader_previews_loop_fix
...
Disable shader previews for loops
2026-04-20 09:15:40 -05:00
Thaddeus Crews
450fb9b8e3
Merge pull request #118710 from KoBeWi/delete_aller
...
Add a button to delete all installed templates
2026-04-20 09:15:30 -05:00
Thaddeus Crews
19981327d1
Merge pull request #118522 from KoBeWi/ID_stealer
...
Copy scene unique ID when replacing imported instance
2026-04-20 09:15:29 -05:00
Thaddeus Crews
f6a80478ac
Merge pull request #118656 from ArokhSlade/fix_import_plugin-_get_internal_option_visibility
...
Fix `EditorScenePostImportPlugin::_get_internal_option_visibility()` having no effect
2026-04-20 09:15:28 -05:00
Anish Kumar
45eecbf133
Remove the separate "Android Source" group in ExportTemplateManager
2026-04-20 17:46:22 +05:30
unit-tick
c351893419
Editor: Update drag and drop behaviour of path export annotations
...
Uses the folder boolean to determine if property expects directory or file.
If directory is expected files are rejected and if files are expected folders
are rejected.
2026-04-19 23:48:11 -04:00
Pāvels Nadtočajevs
327302fce5
Disable rounding remainders and subpixel positioning for editor code fonts.
2026-04-19 19:06:00 +03:00
German
6dd8dac6bb
Fix Visual Profiler reference frame line being drawn outside its container
2026-04-19 14:25:30 +03:00
kobewi
7ce7859125
Remove StyleBox hack from template manager
2026-04-19 12:41:26 +02:00
kobewi
83ffa17f99
Add a button to delete all installed templates
2026-04-18 22:54:07 +02:00
Thaddeus Crews
1b74131694
Merge pull request #117434 from rsubtil/fix-script_debugger_stop
...
Silently stop all script debuggers if no debugging server is active
2026-04-18 07:28:33 -05:00
Thaddeus Crews
6f2f6824b7
Merge pull request #118679 from LanzaSchneider/fix-compile-error-with-deprecated-disabled-2
...
Fix `export_template_manager.cpp` compilation with `deprecated=no`
2026-04-18 07:28:32 -05:00
Thaddeus Crews
b97089bf6a
Merge pull request #118658 from Akosmo/fix-vu-meter-scale
...
Fix VU meter scale
2026-04-18 07:28:30 -05:00
Thaddeus Crews
29cec720e4
Merge pull request #115797 from jinyangcruise/fix_find_in_files_hover_style
...
Fix highlighted word style being overwritten by hover/pressed styles in find in files
2026-04-18 07:28:29 -05:00
cashew-olddew
825a2ad011
Disable previews for loops
2026-04-18 15:10:01 +03:00
arkology
0521f53b6e
Add search bar for the Opened Scenes List popup
2026-04-18 15:03:28 +03:00
Enzo Novoselic
0fc0dd133b
Fix the credits not being centered
2026-04-17 21:54:58 -04:00
Arokh Slade
4fe2e80cf7
fix EditorScenePostImportPlugin::_get_internal_option_visibility() having no effect
...
post_import_plugin_skeleton_rest_fixer::_get_internal_option_visibility() gets called before user plugins.
as it used to return true by default, it would always override/intercept any user implementation.
now it returns null for those cases it is not explicitly coded to handle, indicating "ignore".
see also: https://github.com/godotengine/godot/issues/118652
2026-04-17 19:40:21 +02:00
LanzaSchneider
2a46557eeb
fix: compile error with deprecated=no option
2026-04-17 18:48:20 +08:00
Thaddeus Crews
a8643700ce
Merge pull request #118661 from KoBeWi/AssetLib_is_dead
...
Fix leftover AssetLib icon reference
2026-04-16 21:46:57 -05:00
Thaddeus Crews
e2355e8e0b
Merge pull request #118648 from YeldhamDev/meshlib_editor_focus_fix
...
Fix `MeshLibrary` editor taking priority over `GridMap` when it shouldn't
2026-04-16 21:46:56 -05:00
kobewi
2b9d21aa35
Fix leftover AssetLib icon reference
2026-04-17 01:55:29 +02:00
Michael Alexsander
1255bdf434
Fix scroll hint margins in the asset library
2026-04-16 20:48:58 -03:00
Akosmo
e1f14821e4
Fix VU meter scale
2026-04-16 17:17:31 -03:00