Commit Graph

2449 Commits

Author SHA1 Message Date
kobewi ccc91bd0f6 Replace show_accept() with show_warning() 2026-06-24 20:01:00 +02:00
Thaddeus Crews 7b594b5963 Merge pull request #65229 from snibk/menubar-icons
Add icons to certain main menu items
2026-06-24 10:16:09 -05:00
Thaddeus Crews bff324b16e Merge pull request #120320 from KoBeWi/marginalized_docks
Add margin drop support for dock slots
2026-06-23 14:49:14 -05:00
kobewi e487fc5611 Add margin drop support for dock slots 2026-06-23 14:51:00 +02:00
Aaron Franke f89a3efdad Organize 3D editor code and rename a few 3D things 2026-06-20 19:40:06 -07:00
Thaddeus Crews be912aeaff Merge pull request #119443 from KoBeWi/pseudoing_your_labels
Add pseudolocalization preview to the editor
2026-06-19 12:05:55 -05:00
smix8 eb00a8546d Split Node3DEditorViewport into a dedicated file
Splits `Node3DEditorViewport` into a dedicated file.

The main `Node3DEditorPlugin` file was one if the biggest files of the entire engine. It was getting way too big to be viewed, parsed and displayed effectively (e.g. GitHub, certain IDEs). While still big after this PR it at least splits it more or less in half.

- Moves `Node3DEditorViewport` and related helper classes to its own file `node_3d_editor_viewport` file.
- Moves the (shared) constexpr to its own file `node_3d_editor_constants` file.
- Forward declares many more classes.
- Removes unnecessary includes.
- Fixes classes that needed the actual Node3DViewport class.
2026-06-19 17:30:50 +02:00
Thaddeus Crews 32159caaf4 Merge pull request #117849 from WoodWood1299/nonresizable-confirmation-dialogue
Editor: Fix accept/confirmation dialogs being resizable
2026-06-18 15:14:02 -05:00
kobewi a0abdc26e5 Don't edit current object after changing scene 2026-06-17 13:00:12 +02:00
Michael Alexsander a4ae048b73 Fix some issues with the editor dock tabs 2026-05-19 12:13:26 -03:00
kobewi c2f8329f00 Fix various editor state related regressions 2026-05-15 00:04:41 +02:00
kobewi 3970ccabf0 Add pseudolocalization preview to the editor 2026-05-14 12:43:13 +02:00
Thaddeus Crews fe34aa9aed Merge pull request #118853 from KoBeWi/final_final_v2
Assign final path when creating built-in Resources
2026-05-12 12:25:45 -05:00
João Diniz 0046f29e63 Editor: Mark simple confirmation/accept dialogs as non-resizable
Adds set_flag(FLAG_RESIZE_DISABLED, true) to ConfirmationDialog and
AcceptDialog instances which only contain plain content. Dialogs
with content that could leave the borders of the dialog were kept
as resizable.

The flag is set explicitly at dialog creation time, instead of the
previous auto-detect approach. In cases of uncertainty, the dialog was
left as resizable.
2026-05-10 01:35:46 +01:00
Thaddeus Crews 9c36ef4749 Merge pull request #116905 from KoBeWi/slashtableflip
Overhaul scene loading and edit state management
2026-05-07 11:13:25 -05:00
Thaddeus Crews 8699d855f7 Merge pull request #117846 from YeldhamDev/layout_dialog_fixes
Fix and improve the editor layout dialog
2026-05-06 14:56:30 -05:00
Hugo Locurcio 425724aa86 Fix error names not being localized in editor resource saving error dialog 2026-05-05 18:06:25 +02:00
Thaddeus Crews 1f012286cf Merge pull request #119154 from kitbdev/fix-shader-editor-focus
Only focus the shader editor when directly opened
2026-05-05 10:30:07 -05:00
Michael Alexsander 10ac7baae2 Fix and improve the editor layout dialog 2026-05-04 21:40:21 -03:00
Hugo Locurcio 415a52c831 Improve error messages when trying to save invalid resources in the editor 2026-05-05 00:34:09 +02:00
kit 301deec8b2 Only focus the shader editor when directly opened 2026-05-02 11:46:57 -04:00
Thaddeus Crews 665d46bdef Merge pull request #119013 from bruvzg/hdr_scr_2
Fix editor screenshots with HDR enabled.
2026-04-29 12:29:04 -05:00
Thaddeus Crews d4a6f1597b Merge pull request #116626 from Paperzlel/fix-verbose-pm-restart
Fix Verbose mode from being enabled after quitting to the Project Manager
2026-04-29 12:29:00 -05:00
Pāvels Nadtočajevs 37de63d984 Fix editor screenshots with HDR enabled. 2026-04-29 11:15:10 +03:00
Paperzlel 1900c5279d Fix verbose flag from being kept when quitting to the project manager 2026-04-28 17:44:04 +01:00
Thaddeus Crews 6e2b9cbab4 Revert "[HDR] Save editor screenshot as EXR when HDR is enabled."
This reverts commit d97199bcbf.
2026-04-27 13:46:11 -05:00
Lucian Eckert-Dean 478cfebe07 Add additional icons to editor system menus 2026-04-26 11:31:31 -07:00
Pāvels Nadtočajevs d97199bcbf [HDR] Save editor screenshot as EXR when HDR is enabled. 2026-04-26 17:52:30 +03:00
kobewi dc1a6dc07f Avoid repeats in resource gather 2026-04-24 20:25:18 +02:00
kobewi 88bce0d480 Assign final path when creating built-in Resources 2026-04-22 17:49:57 +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 8cd87c2c16 Overhaul scene loading and edit state management 2026-04-14 16:53:30 +02: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