Commit Graph

2419 Commits

Author SHA1 Message Date
kobewi dc1a6dc07f Avoid repeats in resource gather 2026-04-24 20:25:18 +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 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
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
Rémi Verschelde 0fd8c2cf2f Merge pull request #116308 from deralmas/wl/restore-workaround
Wayland: Re-enable window restore logic
2026-04-15 12:40:31 +02:00
Rémi Verschelde 637e23472b Merge pull request #112992 from YeldhamDev/asset_store_new_api
Improve asset store and port it to the new API
2026-04-15 12:40:26 +02:00
Akosmo fe928d9aec Add audio info to Copy System Info 2026-04-14 14:55:26 -03:00
kobewi 25b04932c9 Copy scene unique ID when replacing imported instance 2026-04-13 17:43:02 +02:00
Aaron Franke fc722636bf 3D scene import: Allow importing files as Mesh or MeshLibrary via RIS
RIS = ResourceImporterScene
2026-04-11 16:23:17 -07:00
Michael Alexsander 2b835503cf Improve asset store and port it to the new API 2026-04-11 12:56:08 -03:00
Chaosus 34777ad0e4 Implement inline text shader previews
Co-authored-by: Cashew OldDew <155181921+cashew-olddew@users.noreply.github.com>
2026-04-10 08:40:02 +03:00
Aaron Franke cfded120ae Move visual shaders to a module 2026-04-08 12:05:22 -07:00
Thaddeus Crews 0adfb22e41 Merge pull request #116480 from YeldhamDev/editor_feature_closed_dock_fix
Fix closed docks still being present in the dock menu after being disabled
2026-04-08 09:25:47 -05:00
Thaddeus Crews 92a41bc222 Merge pull request #118041 from olaron/fix-system-theme
Fix icons and code completion colors when following system theme
2026-04-08 09:25:18 -05:00
Thaddeus Crews 8f0ebc2f2b Merge pull request #117754 from allenwp/renderer_selector_editor_setting
Hide renderer selector in main editor window and add editor setting
2026-04-07 06:44:44 -05:00
Robin Alonzo 207caf2020 Fix icons and code completion colors when following system theme 2026-03-31 16:38:51 +02:00
Thaddeus Crews 308fbaf3e4 Merge pull request #112919 from vaner-org/scene-tab-right-click-without-focus
Make right-clicking on unfocused scene tabs possible
2026-03-30 13:35:24 -05:00
Thaddeus Crews 89672d1341 Merge pull request #117827 from YeldhamDev/stay_closed_please
Fix bottom dock always opening a tab on startup
2026-03-30 13:35:23 -05:00
StarryWorm 4ae336740d Add missing resource_*.h includes
Add missing `resource_importer.h` includes
Add missing `resource_loader.h` includes
Add missing `resource_saver.h` includes
2026-03-27 07:03:39 -04:00
vaner-org 1f70e1cebb Right-click on scene tab without selecting it 2026-03-27 00:42:20 +05:30
Rémi Verschelde 623b859221 Merge pull request #112736 from MartinDelille/switch-quick
Switch Quick Open dialog quickly via shortcuts
2026-03-26 16:00:46 +01:00
Michael Alexsander 8dd7cc9a3a Fix bottom dock always opening a tab on startup 2026-03-25 15:00:28 -03:00
Martin Delille 42cec5bb57 Switch Quick Open dialog quickly via shortcuts 2026-03-24 14:57:43 +01:00
Rémi Verschelde 6bc2cf8d6a Merge pull request #117688 from KoBeWi/usureuwannacanceldadownload
Ask before quitting when templates are downloading
2026-03-23 22:35:58 +01:00
Allen Pestaluky 85b45fd58e Hide renderer selector in main editor window and add editor setting to show it. 2026-03-23 10:58:28 -04:00
Michael Alexsander c766fb1ce8 Create a proper editor for MeshLibrary 2026-03-21 11:16:26 -03:00
kobewi 7606284fcc Ask before quitting when templates are downloading 2026-03-20 21:03:46 +01:00
Dery Almas 30f48fd540 Wayland: Re-enable window restore logic
It was disabled due to issues with HiDPI but it looks like we can work
around it by using the window scale.
2026-03-16 09:46:47 +01:00
Jayden Sipe 7608e3ccb0 Support folding, groups and subgroups in Remote Scene Inspector 2026-03-13 10:49:23 -04:00
kobewi 42da4512c6 Reorganize Output dock 2026-03-11 12:14:19 +01:00
Rémi Verschelde a772f16387 Merge pull request #117109 from syntaxerror247/script-editor-portrait
Android editor: Enable orientation change in Script Editor
2026-03-06 12:44:31 +01:00
Anish Kumar 25a203aa34 Android editor: Enable orientation change in Script Editor 2026-03-06 06:24:42 +05:30
Rémi Verschelde 18edfa5245 Explicitly include scene_tree.h where used
Pre-requisite before removing `scene_tree.h` from `node.h`
which has cascading consequences on most of the codebase.
2026-03-05 10:43:25 +01:00
Thaddeus Crews bed242666a Merge pull request #116848 from billuo/bugfix/issue-116788-crash
Fix `reload_scene_from_path` may crash
2026-03-04 11:20:41 -06:00
Thaddeus Crews 371282b28e Merge pull request #92984 from adamscott/reveal-me
Customize the file manager label for each platform
2026-03-04 11:20:31 -06:00
Rémi Verschelde eabb9a63d4 Rename callable_method_pointer.h to callable_mp.h and include it explicitly
This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.

Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
2026-03-04 16:23:23 +01:00
Rémi Verschelde 727b06a79f Move ProcessID typedef out of OS
This allows decoupling a number of files from `os.h`.
2026-03-04 15:00:45 +01:00
Rémi Verschelde 765362b033 Explicitly include core/config/engine.h where used 2026-03-04 10:17:10 +01:00
Zhen Luo 0b4f18be7a Fix reload_scene_from_path may crash 2026-03-03 21:51:53 +08:00
Rémi Verschelde a447ac95ec Move DisplayServer enums and typedefs to DisplayServerEnums
This will allow decoupling `display_server.h` from a number of headers in the
codebase which only require those enums and not all the DisplayServer API.
2026-03-03 12:44:02 +01:00
Adam Scott f441172719 Customize the file manager for each platform 2026-03-02 09:42:13 -05:00
kobewi 1b543e85cf Reorganize interface/editor setttings 2026-02-27 22:25:59 +01:00
Thaddeus Crews 77c66698e6 Merge pull request #116248 from KoBeWi/ReloadHD
Rework updating editor viewport HDR
2026-02-26 16:18:39 -06:00
Thaddeus Crews 20f1e1000f Merge pull request #116557 from KoBeWi/siz_issue
Improve DockContextPopup spacing
2026-02-26 16:18:38 -06:00
kobewi 7e2d260e68 Rework updating editor viewport HDR 2026-02-26 17:52:53 +01:00
Rémi Verschelde f0a448540e Misc dependency improvements for files depending on rendering_server.h
On my machine, this reduces incremental compilation time after an edit of
`rendering_server.h` by 3s.
2026-02-25 20:17:27 +01:00
Rémi Verschelde f5a290ac46 Move RenderingServer enums to a dedicated RenderingServerEnums (RSE) namespace
A number of headers in the codebase included `rendering_server.h` just for
some enum definitions. This means that any change to `rendering_server.h` or
one of its dependencies would trigger a massive incremental rebuild.

With this change, we decouple a number of classes from `rendering_server.h`,
greatly speeding up incremental rebuilds for that area.

On my machine, this reduces incremental compilation time after an edit of
`rendering_server.h` by 60s (from 2m57s).
2026-02-25 19:43:03 +01:00
Thaddeus Crews dfd842b8cd Merge pull request #105308 from KoBeWi/spinning_in_the_shadows
Don't process invisible update spinner
2026-02-25 09:27:39 -06:00
kobewi 7832fafc66 Improve DockContextPopup spacing 2026-02-25 01:35:56 +01:00
LilithSilver 11d7e298dd Add EditorInterface::get_unsaved_scenes()
Co-Authored-By: Nikita <69168929+nikitalita@users.noreply.github.com>
2026-02-23 11:36:02 -06:00