Rémi Verschelde
928441052b
Merge pull request #90608 from raulsntos/editor/enable-plugin-after-adding
...
Enable `EditorPlugin` added by modules and GDExtensions
2024-05-02 12:46:29 +07:00
Daylily-Zeleen
5c133f5432
Fix crash when switching main screen from a disabled plugin main screen if code editor is floating.
2024-05-01 15:05:56 +07:00
Haoyu Qiu
1e20612940
Allow setting editor dock tabs to icon only
2024-04-30 09:34:14 +07:00
Aaron Franke
1bcbbe96c4
Organize existing code for editor plugins
2024-04-27 11:59:58 +07:00
David Snopek
52324ebbb3
Fix GDExtension documentation disappearing after hot-reload
2024-04-25 07:24:55 +07:00
Rémi Verschelde
c50e80b481
Merge pull request #90653 from ajreckof/Fix-going-forward-backward-in-editor-selection-history-
...
Fix going forward backward in editor selection history.
2024-04-17 20:26:20 +07:00
Rémi Verschelde
544ecc123a
Merge pull request #90616 from Rindbee/update-undo-redo-allowed-after-switching-scene-tab
...
Update undo redo allowed after switching scene tab
2024-04-17 10:58:42 +07:00
风青山
b5157e0686
Make the loading scene open in the current scene tab if the current scene is empty
2024-04-16 23:04:25 +07:00
Hugo Locurcio
ed540964ee
Add an editor setting to import resources while unfocused
...
This can be used to speed up iteration by starting the import process
earlier when saving files in the project folder. This also allows getting
visual feedback on changes without having to click the editor window,
which is useful with multi-monitor setups.
The downside is that this increases idle CPU usage and may steal CPU
time from other applications when importing resources, so this is
disabled by default.
2024-04-15 19:40:04 +07:00
kobewi
445302a4b2
Improve error when scene/resource is saved with newer format
2024-04-15 12:08:35 +07:00
Adam Scott
a0e644eab5
Rename Q&A to Forum in the Help top bar
2024-04-14 15:34:49 +07:00
Adam Scott
38d8abea12
Improve UX when saving newer files on disk
2024-04-14 11:36:07 +07:00
ajreckof
48a6476861
Fix going forward backward in editor selection history.
2024-04-14 17:21:11 +07:00
风青山
29ef52c8ac
Update undo redo allowed after switching scene tab
...
It has different status in different tabs.
2024-04-13 16:53:51 +07:00
Raul Santos
db763ae16e
Enable `EditorPlugin` added by modules and GDExtensions
2024-04-13 06:03:59 +07:00
Rémi Verschelde
7c23d32446
Merge pull request #90441 from Calinou/editor-move-build-profile-editor
...
Move engine build profile editor to Tools submenu
2024-04-10 17:49:39 +07:00
Rémi Verschelde
9c5e968bbc
Merge pull request #90432 from Rindbee/correctly-replace-scene-root-when-must_reload
...
Correctly replace scene root when `must_reload` in `EditorData::check_and_update_scene()`
2024-04-10 14:22:29 +07:00
Rémi Verschelde
492c19732e
Merge pull request #86386 from timothyqiu/empty-layout-name
...
Strip edges of editor layout names
2024-04-10 14:21:37 +07:00
ajreckof
248e5bfba2
Revert what needs to be reverted
2024-04-10 09:49:30 +07:00
Hugo Locurcio
8e924bcb22
Move engine build profile editor to Tools submenu
...
- Rename it to Engine Compilation Configuration Editor. This makes
it clearer that it requires compiling the engine to work ("build"
can be understood as exporting a project or building C# solutions
by some).
- Add it to the editor command palette and allow defining a keyboard
shortcut for it, for consistency with other tools.
2024-04-09 19:08:31 +07:00
ajreckof
609559c074
Fix strange visual bug with camera and external change.
2024-04-07 03:49:43 +07:00
kobewi
b9c78ba174
Prevent dropping Resource to the same resource picker
2024-04-05 22:26:29 +07:00
Rémi Verschelde
70f6650404
Merge pull request #90078 from SirLich/project-tools-palette
...
Include 'Orphan Resource Explorer' and 'Upgrade Mesh Surfaces' in Command Palette.
2024-04-04 14:37:07 +07:00
Rémi Verschelde
89109e8b01
Merge pull request #89974 from jsjtxietian/tab-close
...
Reset `tab_closing_menu_option` when cancelling closing editor
2024-04-04 14:35:41 +07:00
Rémi Verschelde
27dec32699
Merge pull request #89735 from bruvzg/ed_native_fd2
...
[Native File Dialog] Add support for using native dialogs in the editor.
2024-04-04 14:31:39 +07:00
Rémi Verschelde
1dacd6a527
Merge pull request #89179 from groud/expose_tile_map_layer
...
Expose TileMapLayer
2024-04-04 14:31:16 +07:00
Rémi Verschelde
b5369ee3b3
Merge pull request #89017 from kitbdev/add-close-docks
...
Allow docks to be closed and opened
2024-04-04 14:31:11 +07:00
ajreckof
ae472865d0
fix node duplication in update after external changes.
2024-04-03 12:19:38 +07:00
Gilles Roudière
3cd4b2859c
Expose TileMapLayer
2024-04-03 11:02:34 +07:00
SirLich
c90b2b4299
Include project->tools in command palette
2024-03-31 20:03:51 +07:00
Haoyu Qiu
23d50b1117
Strip edges of editor layout names
2024-03-31 17:43:03 +07:00
kit
860bff926e
Allow docks to be closed
2024-03-29 22:03:59 +07:00
jsjtxietian
41dce99831
Reset `tab_closing_menu_option` when cancel closing editor
2024-03-28 19:22:52 +07:00
bruvzg
61f7145f43
[Native File Dialog] Add support for using native dialogs in the editor.
2024-03-28 11:53:03 +07:00
Rémi Verschelde
c76d2f03b7
Merge pull request #89447 from ajreckof/fix-error-crash-on-change-type-root-after-external-changes
...
Fix error where update wouldn't reconnect the signal it should have reconnected and led to errors and crash.
2024-03-24 01:15:38 +07:00
Rémi Verschelde
ae8d43b0bb
Merge pull request #88003 from kitbdev/dock-manager-fixes
...
Refactor and fix issues in Editor Dock Manager
2024-03-24 01:13:26 +07:00
ajreckof
69e5e582c8
fix error where update wouldn't reconnect the signal it should have reconnected and led to errors and crash
2024-03-22 01:00:33 +07:00
kit
0c9c84f7a6
Refactor and fix issues in Editor Dock Manager
...
Extract Dock Context Menu.
2024-03-16 13:51:31 +07:00
bruvzg
ebb19c4198
[NativeMenu] Fix changes lost due to incorrect rebase (menu goes under task bar, dark mode, item text get, docs) and check to ensure help menu is not using native menu on Windows.
2024-03-15 22:46:47 +07:00
Matt Enad
d4ac3fabac
Fix main button margins in custom themes
...
Defined more theme variations and styleboxes for those variations to work around an issue where external editor themes would apply incorrect margins to certain buttons. This should eliminate clipping/alignment issues while a custom theme is in use.
Also simplified the step where margins are copied over thanks to @Rindbee 's suggestion
2024-03-13 15:38:09 +07:00
Rémi Verschelde
0475011c66
Merge pull request #82084 from ogapo/pr/pck-cache-merge
...
Merge `uid_cache.bin` and `global_script_class_cache.cfg` after mounting PCKs
2024-03-11 14:01:16 +07:00
Danil Alexeev
87718d2a6e
Editor Help: Add syntax highlighting for code blocks
2024-03-09 00:02:31 +07:00
Rémi Verschelde
51bfda9446
Fix reporting exit code when command line export fails
...
Fixes #83042 .
2024-03-07 01:01:04 +07:00
David Nikdel
5e6adb4a2d
Merge uid_cache.bin and global_script_class_cache.cfg after mounting PCKs
...
fixes godotengine#82061
fixes godotengine#61556
Also, distinguish between main pack and DLC packs.
It's desirable to downloaded content to be as small as possible. This change avoids bloating non-main pack files with new versions of resources that are all read on startup and never used again. They have no effect if loaded after startup.
- project.godot/project.binary file
- extension_list.cfg
- app icon and boot_splash
- .ico and .icns files (these can still be opted in for DLC by listing them explicitly in the include filter)
2024-03-06 12:14:21 +07:00
Rémi Verschelde
13954fc33e
Merge pull request #87452 from bruvzg/native_menu
...
Move `global_menu_*` methods to a separate `NativeMenu` class.
2024-03-06 13:16:52 +07:00
Hugo Locurcio
8221e7546b
Add editor shortcuts to toggle bottom panel visibility
...
Default shortcuts use the first or second letter of each word.
This also adds a new shortcut to toggle the last opened bottom panel.
On editor startup, this defaults to the first panel in the list
(which is the Output panel).
2024-03-05 15:53:15 +07:00
RedMser
2bd714e34e
Allow configuring the script filename casing rule
...
Defaults to "Auto", which detects the casing based on the
preference of the currently selected language (C# for example
prefers PascalCase whereas GDScript prefers snake_case).
2024-03-05 09:43:29 +07:00
bruvzg
c65a667924
Move `global_menu_*` methods to a separate `NativeMenu` class.
2024-03-04 23:41:41 +07:00
Rémi Verschelde
82fbbc94fc
Merge pull request #88913 from Cass-dev-web/macos-shortcut-savior
...
Modify shortcut for closing scene on macOS only
2024-03-04 20:43:38 +07:00
Christen Lofland
e6d0bf32e9
Do not attempt to set cursor shape when that feature is not available.
...
Co-authored-by: Riteo <riteo@posteo.net>
2024-03-02 17:44:55 +07:00
Rémi Verschelde
16bdd83ea4
Merge pull request #86705 from KoBeWi/resourception
...
Improve saving of built-in resources
2024-02-29 13:53:44 +07:00
Cass
ea3c303b7e
Modify shortcut override for closing scene on macOS
2024-02-27 14:31:17 +07:00
Rémi Verschelde
4582ee1a0f
Merge pull request #87760 from kitbdev/extract-bottom-dock
...
Extract BottomPanel from EditorNode
2024-02-23 22:18:50 +07:00
Rémi Verschelde
42a15bcc49
Merge pull request #85477 from KoBeWi/submenus_that_shall_not_be_named
...
Add methods to add submenus without using names
2024-02-23 11:29:28 +07:00
Rémi Verschelde
15bb860fa1
Merge pull request #88609 from Cass-dev-web/master
...
Improve user experience for VCS metadata generator menu button to mitigate accidentally overriding
2024-02-22 23:34:35 +07:00
Rémi Verschelde
43771659cb
Merge pull request #86610 from Joseph-DiGiovanni/system-theme-options
...
Add option for editor to follow system theme and accent colors
2024-02-22 16:39:40 +07:00
cass-dev-web
87ba714a3a
Added clarity on VCS metadata creator button
2024-02-22 15:38:39 +07:00
kobewi
aeec3c1309
Add methods to add submenus without using names
2024-02-22 15:13:53 +07:00
kit
eb6ca91ba6
Extract BottomPanel from EditorNode
2024-02-20 15:09:07 +07:00
Rémi Verschelde
9e9dcdbba4
Merge pull request #86378 from RobProductions/update-hover-styling
...
Add hover highlight to main editor buttons
2024-02-20 19:34:40 +07:00
kobewi
a031911c82
Use check_changed_settings_in_group() everywhere
2024-02-19 21:34:45 +07:00
Silc Lizard (Tokage) Renew
772a753960
Fix some animation state corruptions on activate and reset on save
2024-02-19 13:04:22 +07:00
A Thousand Ships
dde5368dee
[Editor] Add missing ellipses to menu options that open dialogs
2024-02-17 17:09:17 +07:00
Rémi Verschelde
4731958174
Merge pull request #88380 from Calinou/editor-move-settings-to-central-location
...
Move EditorNode setting registration so they are in class reference
2024-02-17 15:54:59 +07:00
Rémi Verschelde
2c5fa95aea
Merge pull request #87530 from YeldhamDev/atr_inheritance
...
Rework the auto translation system
2024-02-17 15:54:31 +07:00
Rémi Verschelde
dcd11cce6b
Merge pull request #85978 from Calinou/editor-tweak-help-menu-icons
...
Tweak Help menu icons for better visibility of commonly used items
2024-02-17 15:53:11 +07:00
Hugo Locurcio
6ae54fd787
Move EditorNode setting registration so they are in class reference
...
Co-authored-by: Micky <micheledevita2@gmail.com>
2024-02-17 11:33:22 +07:00
Rémi Verschelde
66b33c15e4
Merge pull request #88297 from dsnopek/android-configure-gradle-path
...
Android: Allow using alternative Gradle build directory
2024-02-17 00:23:32 +07:00
David Snopek
a37ad265dc
Android: Allow using alternative Gradle build directory
2024-02-16 15:20:47 +07:00
Matt Enad
5b5de0e167
Add hover highlight to main editor buttons
...
Updates styling of the editor run bar, plugin, bottom panel, icon buttons, and main menu buttons for accessibility.
2024-02-16 14:49:44 +07:00
Michael Alexsander
7b42c24550
Make auto translation inheritable
2024-02-15 16:51:19 +07:00
Rémi Verschelde
3ed81a8f70
Merge pull request #88334 from passivestar/ctrl-tab-mac
...
[macOS] Fix `Ctrl+Tab` and `Ctrl+Shift+Tab` not working
2024-02-15 15:45:15 +07:00
Rémi Verschelde
828cf954f6
Merge pull request #88291 from dsnopek/export-plugin-option-overrides
...
Allow export plugins to override export option values
2024-02-15 15:45:07 +07:00
passivestar
757a691b5e
Fix `Ctrl+Tab` and `Ctrl+Shift+Tab` on macOS
2024-02-15 02:49:31 +07:00
Joseph DiGiovanni
7eacb6ddbf
Add follow system theme settings
2024-02-14 15:31:21 +07:00
David Snopek
ac88acde6f
Allow export plugins to override export option values
2024-02-14 10:51:16 +07:00
Rémi Verschelde
351a869af6
Merge pull request #88288 from KoBeWi/uninspectorable
...
Rework how script is edited when clicking icon
2024-02-13 23:43:43 +07:00
Rémi Verschelde
dc99c8d4a4
Merge pull request #87008 from KoBeWi/cache_mode_replace_fixes²
...
Fix² behavior of ResourceFormatLoader `CACHE_MODE_REPLACE`
2024-02-13 23:43:18 +07:00
Rémi Verschelde
c2a53dff71
Merge pull request #87773 from bruvzg/undo_global_fix
...
Fix script editor `undo` shortcut with global menu enabled.
2024-02-13 17:24:03 +07:00
kobewi
8ec86e29c8
Rework how script is edited when clicking icon
2024-02-13 16:54:33 +07:00
Hugo Locurcio
7e25292205
Show update spinner by default in `dev_build=yes` editor builds
...
This ensures contributors can see when something forces the
editor to redraw constantly.
The existing boolean `true` value will be casted to `1` in the setting,
so it'll switch to Enabled automatically if the setting was previously
enabled.
2024-02-10 00:45:56 +07:00
Rémi Verschelde
b98c2f23da
Merge pull request #48364 from Calinou/add-vsync-editor-setting
...
Add a V-Sync editor setting
2024-02-08 10:52:59 +07:00
Hugo Locurcio
6f9586443a
Add a V-Sync editor setting
...
The editor setting makes it possible to tweak V-Sync status
independently of the project setting.
Use cases:
- Decrease input lag and increase editor responsiveness when editing
a project that has V-Sync enabled.
- Avoid tearing when editing a project that has V-Sync disabled.
2024-02-05 22:14:20 +07:00
smix8
4d0c21c131
Make MeshLibrary export do recursive depth-search for MeshInstance3D nodes
...
Makes MeshLibrary export do recursive depth-search for MeshInstance3D nodes.
2024-02-04 04:00:38 +07:00
bruvzg
32939f82f1
Fix script editor `undo` shortcut with global menu enabled.
2024-01-31 07:48:58 +07:00
Hugo Locurcio
d3963a979b
Tweak Help menu icons for better visibility of commonly used items
...
External links no longer have an icon, so that commonly used items
such as Copy System Info are more immediately visible.
2024-01-31 01:22:09 +07:00
kobewi
4ad74a5663
Some editor code cleanup
2024-01-30 21:33:31 +07:00
Yuri Sizov
068c0d2699
Implement a quick settings dialog for the project manager
...
Currently it allows to adjust language, theme preset,
UI scaling, and network mode.
Project manager has been updated to support
dynamic theme updates.
2024-01-30 17:52:19 +07:00
Yuri Sizov
7496f99060
Create a MainScreenButton theme variation
...
This turns custom font theme properties into a proper
variation, which makes applying it simpler.
2024-01-30 17:35:46 +07:00
Juan Linietsky
000367893a
Ability to move FileSystem dock to bottom
...
* Allows moving the filesystem dock to the bottom
* Added ability to drag resources across bottom docks
2024-01-29 15:15:38 +07:00
Rémi Verschelde
fa48a51183
Merge pull request #87688 from AThousandShips/what_is_this
...
Remove unnecessary `this->` expressions
2024-01-29 13:18:09 +07:00
Rémi Verschelde
0796d08b8f
Merge pull request #84515 from Calinou/editor-multi-window-unavailable-disable-buttons
...
Disable multi-window buttons instead of hiding them when support is unavailable
2024-01-29 13:16:01 +07:00
Rémi Verschelde
e2c5d2fada
Merge pull request #82113 from nongvantinh/fix-50163
...
Allow Editor to reload external changes of scripts
2024-01-29 13:15:53 +07:00
A Thousand Ships
15369fdb1d
Remove unnecessary `this->` expressions
2024-01-29 09:59:18 +07:00
Hugo Locurcio
04a930d9a6
Disable multi-window buttons instead of hiding them when support is unavailable
...
This is more explicit as for why this functionality isn't available
depending on editor settings and current platform.
This also exposes a `EditorInterface.is_multi_window_enabled()` method
so that editor plugins can easily query whether the editor is able and
expected to create multiple windows.
2024-01-27 19:38:39 +07:00
Nông Văn Tình
c051c44df9
Allow Editor to reload external changes of scripts
2024-01-26 21:05:36 +07:00
A Thousand Ships
97b469c46d
[Editor] Add `EditorPlugin::scene_saved` signal
...
Matches the `EditorNode` one for parity with the exposed
`resource_saved` signal
2024-01-22 17:51:12 +07:00
Yuri Sizov
de95a3effe
Merge pull request #85117 from BastiaanOlij/openxr_runtime_select
...
OpenXR: Add runtime selection dropdown
2024-01-18 19:26:52 +07:00
Bastiaan Olij
afd1dcf1b1
OpenXR: Add runtime selection dropdown
2024-01-18 15:59:22 +07:00
Yuri Sizov
45eedba1fa
Improve editor theme generation after the refactor
2024-01-17 15:16:53 +07:00
Yuri Sizov
635b8a1474
Split theme generation logic into several subroutines
...
This change introduces a new theme configuration struct to be
passed to the aforementioned routines to better control reuse
of styles and definitions in the generator.
Everything not passed and not explicitly shared is scoped so it
is not automatically accessible throughout the routine. This
should ensure that the decision to share styles is a conscious one.
In the future we will try to reduce the number of unique definitions
and share most of it. This PR is a stepping stone on this path.
This also puts the effort into separating redefinitions of
default theme items vs custom types introduced only by the editor.
In a few cases where editor-specific definitions need to reference
default definitions we simply fetch them from the theme. It's not
ideal and hides the dependency a bit, but hopefully these cases
will be abstracted properly in due time.
2024-01-16 11:57:45 +07:00
Yuri Sizov
95b27fe8c7
Reorganize code related to editor theming
...
This change introduces a new EditorThemeManager class
to abstract theme generatio and its subroutines.
Logic related to EditorTheme, EditorColorMap, and editor
icons has been extracted into their respective files with
includes cleaned up.
All related files have been moved to a separate folder to
better scope them in the project. This includes relevant
generated files as well.
2024-01-16 11:57:45 +07:00
Rémi Verschelde
039379d272
Merge pull request #84193 from kitbdev/dock-manager-extract
...
Extract `EditorDockManager` from `EditorNode`
2024-01-16 10:35:11 +07:00
kit
2323f040e9
Extract editor dock manager
2024-01-15 15:15:42 +07:00
Rémi Verschelde
03767fbf3b
Merge pull request #86446 from reduz/transient-to-focused
...
Implement a `transient_to_focused` Window mode
2024-01-15 13:25:00 +07:00
Juan Linietsky
15144c24bd
Implement a transient_to_focused mode
...
This intends to be the correct way to handle non-child windows becoming covered by the current window when becoming focused.
Enabling this property on select windows, they will become transient to the currently focused one when becoming visible.
This deprecates the "unparent_when_invisible" function introduced by #76025 .
2024-01-14 18:51:44 +07:00
kobewi
0e8f90f4c8
Update deferred calls to use Callables
2024-01-09 16:11:47 +07:00
kobewi
2e09985c0d
Fix² behavior of ResourceFormatLoader CACHE_MODE_REPLACE
2024-01-09 16:01:37 +07:00
Rémi Verschelde
9ca3d3ec83
Revert "Fix behavior of ResourceFormatLoader `CACHE_MODE_REPLACE`"
2024-01-09 10:49:14 +07:00
Rémi Verschelde
15186b6606
Merge pull request #72461 from Calinou/editor-renderer-select-mobile
...
Make the rendering method dropdown also affect mobile if compatible
2024-01-08 11:48:59 +07:00
Aaron Franke
9753a35c76
Move 3D scene import classes to their own folder
2024-01-04 11:02:49 +07:00
Rémi Verschelde
6c390b620d
Merge pull request #84445 from Rubonnek/add-const-references-clang-tidy
...
Add const references detected by clang-tidy
2024-01-04 14:25:33 +07:00
Hugo Locurcio
57f3bdb1e5
Make the rendering method dropdown also affect mobile if compatible
...
This prevents visual discrepancies between desktop and mobile platforms
after switching rendering methods using this dropdown.
The restart dialog now displays which rendering methods will be used,
and the dropdown tooltip also lists caveats related to specific platforms.
2024-01-03 18:38:37 +07:00
kobewi
e534dbf53a
Improve saving of built-in resources
2024-01-02 12:53:18 +07:00
Vedat Gunel
f35f1a1849
Store horizontal and vertical split offsets separately in FileSystem dock
2023-12-25 18:11:18 +07:00
Yuri Sizov
aae58cd688
Merge pull request #85887 from YuriSizov/editor-enforce-min-window
...
Correctly enforce minimum window size in editor
2023-12-20 15:07:48 +07:00
Yuri Sizov
416e594eb3
Correctly enforce minimum window size in editor
...
Also set the maximum size for the language
picked in the project manager.
2023-12-20 13:19:21 +07:00
kobewi
ce9fec9b4d
Improve editing of min/max particle properties
2023-12-20 06:31:08 +07:00
Yuri Sizov
02d4579fa2
Merge pull request #85000 from bruvzg/ed_ui_direction
...
[Editor] Add option to override editor UI layout direction.
2023-12-19 13:01:35 +07:00
Yuri Sizov
c3ee2b9c52
Merge pull request #86008 from Delsin-Yu/4.2
...
Correctly free relevant scripts when closing scene tabs
2023-12-18 18:18:05 +07:00
Yuri Sizov
644e236e5c
Merge pull request #83987 from bruvzg/macos_window_and_help
...
[macOS] Add default Window and Help menus, allow special menu customization.
2023-12-18 18:17:41 +07:00
DE-YU
b37b40ff76
Correctly free relevant scripts when closing scene tabs
2023-12-18 21:41:07 +07:00
Wilson E. Alvarez
a3cb1b096f
Add const references detected by clang-tidy
2023-12-16 13:36:44 +07:00
Yuri Sizov
a5529f759c
Merge pull request #86129 from TheSofox/color-picker-memory
...
Remember last `color_mode` and `picker_shape` in `ColorPicker`s in the editor
2023-12-14 21:22:39 +07:00
Sofox
7979412c75
Remember last 'color_mode' and 'picker_shape' in 'ColorPicker's in the editor
2023-12-14 18:57:57 +07:00
Yuri Sizov
4269a57b0c
Merge pull request #85387 from jsjtxietian/fix-forward-plus-crash
...
Use render method from OS instead of project settings in compositor RD
2023-12-14 17:38:43 +07:00
jsjtxietian
453c2246b6
Use render method from OS in compositor RD; Update related UI
2023-12-14 11:38:46 +07:00
bruvzg
0d44b50520
[macOS] Add default Window and Help menus, allow special menu customization.
2023-12-13 23:20:05 +07:00
Aaron Franke
52f1b86ebc
Fix referring to ResourceImporterScene static importers via instances
2023-12-11 20:01:39 +07:00
Rémi Verschelde
8f2b5cc109
Merge pull request #82899 from aaronfranke/import-settings-dialogs
...
Rename ImportSettings dialogs to have "Dialog" in the name
2023-12-12 00:15:59 +07:00
Yuri Sizov
07677f0f51
Merge pull request #85885 from YuriSizov/bench-pressing
...
Improve engine startup/shutdown benchmarks
2023-12-08 17:12:26 +07:00
Yuri Sizov
9dce1a45a0
Merge pull request #85819 from Malcolmnixon/export-android-build-template
...
Add option to install android build template for export
2023-12-08 16:58:54 +07:00
Yuri Sizov
2e94be2ea4
Merge pull request #84167 from SaracenOne/cache_mode_replace_fixes
...
Fix behavior of ResourceFormatLoader `CACHE_MODE_REPLACE`
2023-12-08 15:23:13 +07:00
Yuri Sizov
6c86974022
Merge pull request #84122 from kitbdev/fix-dock-visibility
...
Fix dock visibility issues
2023-12-08 15:23:09 +07:00
Malcolm Nixon
988c1bf298
Add option to install android build template for export
...
This PR adds a new "--install-android-build-template" command-line option which causes the android build template to be installed before exporting the project.
2023-12-08 09:00:25 +07:00
Yuri Sizov
fc3f40f37d
Improve engine startup/shutdown benchmarks
...
- Add contexts to give a better sense of benchmarked areas.
- Add missing benchmarks and adjust some begin/end points.
- Clean up names.
- Improve Android's internal benchmarks in a similar manner.
Co-authored-by: Fredia Huya-Kouadio <fhuya@meta.com>
2023-12-08 12:53:04 +07:00
Rémi Verschelde
3e7cc5ec32
Merge pull request #85271 from YuriSizov/core-check-please!
...
Correctly check scripts that must inherit `EditorPlugin`
2023-12-04 23:12:24 +07:00
Bartłomiej T. Listwon
44d14cf6af
Defer creating new editor process in "Quit to Project List" just like in "Reload Current Project"
2023-12-02 13:25:24 +07:00
kobewi
0b172742cf
Save external data even without scene
2023-11-29 16:19:17 +07:00
bruvzg
27ca31f359
[Editor] Save and restore previous window mode when toggling full-screen.
2023-11-27 12:44:30 +07:00
Aaron Franke
a8dc34b8f0
Rename ImportSettings dialogs to have "Dialog" in the name
2023-11-26 22:59:01 +07:00
Yuri Sizov
bc1949d797
Correctly check scripts that must inherit `EditorPlugin`
...
Also updates some error messages related to this kind of check
across the codebase.
2023-11-23 16:24:43 +07:00
Yuri Sizov
10b70e2498
Rework the surface upgrade tool to inform users without blocking
...
This removes the immediate confirmation dialog and insteads prints the
message to the editor log (and it also appears as a toast). The immediate dialog
is a devil's plaything, and it cannot be used in this scenario (if it can be used
anywhere at all). The condition that triggers the SUT can happen during any
attempt by the rendering server to read a mesh. This means it will conflict
with a number of editor processes, like loading, importing, preview
generation, export, CLI mode, etc.
So while this is less on the nose as far as informing users goes, it's also
our best option to use the log and the toaster.
2023-11-22 19:03:14 +07:00
David C. Drake
45e2908d30
Adjust pick_main_scene punctuation
2023-11-20 14:46:29 +07:00
kobewi
d84ba48d8f
Avoid saving scene while already saving the scene
2023-11-20 21:57:21 +07:00
Yuri Sizov
fdaee9ee89
Prevent the surface upgrade tool from running during export
...
Also add an explicit way to trigger the tool manually
at user's will.
2023-11-20 15:36:45 +07:00
bruvzg
932174fedf
[Editor] Add option to override editor UI layout direction.
2023-11-17 14:56:45 +07:00
Rémi Verschelde
b049ac43ba
Merge pull request #84927 from bruvzg/macos_ext_frame_upd
...
[macOS] Process events before changing title style to update window frame.
2023-11-16 14:52:28 +07:00
Saracen
f392a9c4f8
Fix CACHE_MODE_REPLACE
2023-11-15 18:55:20 +07:00
Rémi Verschelde
6d47eff457
Merge pull request #83104 from jsjtxietian/fix-crash-when-reimport-animation-while-playing
...
Fix editor crash when re-importing GLTF while animation is playing
2023-11-15 13:15:54 +07:00
bruvzg
c64c1053e9
[macOS] Process events before changing title style to update window frame.
2023-11-15 09:33:23 +07:00
jsjtxietian
3c10493d0b
Fix Editor crash when re-importing GLTF while animation is playing
2023-11-15 11:13:42 +07:00
kobewi
da55c06322
Save scene when saving built-in resource
2023-11-13 16:34:17 +07:00
Fredia Huya-Kouadio
136b7f9c52
Preserve the output from the gradle build command
...
Updates `EditorNode#execute_and_show_output(...)` to return the output of the executed command.
2023-11-12 12:07:04 +07:00
clayjohn
95fbb2ecb2
Scan the filesystem in the first frame when using headless mode
2023-11-07 10:46:56 +07:00
Rémi Verschelde
98baac7172
Merge pull request #84200 from clayjohn/surface-upgrade-tool-rework
...
Overhaul the SurfaceUpgradeTool
2023-11-01 22:32:09 +07:00
clayjohn
be386e1876
Overhaul the SurfaceUpgradeTool
...
This defers the update to a fresh restart of the editor (to ensure we aren't mid way through loading scenes anymore.
It also ensures that the popup can't be used by multiple threads at once
Co-authored-by: Yuri Sizov <yuris@humnom.net>
2023-11-01 15:32:54 +07:00
Yuri Sizov
8c39a2d169
Disconnect `EditorNode` from file dialogs on destruction
2023-11-01 13:01:28 +07:00
kobewi
a92ed50777
Make remote inspector groups not foldable
2023-10-31 17:29:53 +07:00
Rémi Verschelde
8f0b742a9a
Merge pull request #83576 from raulsntos/fix-80883
...
Enable new addon after hiding ProjectSettings
2023-10-30 17:47:23 +07:00
Rémi Verschelde
a7c81f4275
Merge pull request #73981 from stmSi/fix-filter-files-shortcut-input-not-handling
...
Fix Filter Files shortcut input is not properly handled
2023-10-30 16:25:24 +07:00
kit
a2674463fa
fix dock visibility issues
2023-10-30 10:52:07 +07:00
Rémi Verschelde
e2c79bcb95
Merge pull request #82471 from SaracenOne/recache_bone_attachment
...
Reimport bone attachment fixes
2023-10-30 10:18:00 +07:00
Rémi Verschelde
fe64786a91
Merge pull request #83498 from SaracenOne/mesh_unwrap_rules
...
Mesh instance UV2 unwrapping improvements
2023-10-28 12:30:22 +07:00
Saracen
e865bad06a
Mesh instance UV2 unwrapping improvements:
...
Enforce foreign resource modification rules.
Add more helpful error handling for ArrayMesh unwrapping.
2023-10-28 03:04:15 +07:00
Saracen
4b671eec0e
Reimport bone attachment fixes:
...
Assign bone_idx to GLTF importer to fix serialization.
Notifies Skeletons and BoneAttachments when reimporting.
Removes usage of NOTIFICATION_NODE_RECACHE_REQUESTED
2023-10-27 20:34:01 +07:00
Rémi Verschelde
ba79e53dd0
Merge pull request #84048 from SaracenOne/extra_readonly_info
...
Add read-only info to resource embedded in other scenes.
2023-10-27 13:33:53 +07:00
Saracen
ada1f66fc1
Add read-only info to resource embedded in other scenes.
2023-10-27 12:01:22 +07:00
Jordyfel
50b7387a3f
Use Hashset for dependency list when moving
2023-10-25 21:05:53 +07:00
Rémi Verschelde
f021d33940
Merge pull request #81167 from bitsawer/fix_sdfgi_editor_change
...
Reset SDFGI when changing editor scene tabs
2023-10-25 10:27:03 +07:00
Rémi Verschelde
bc5d5978ea
Merge pull request #83695 from YuriSizov/core-lock-and-key
...
Improve threading in ClassDB and EditorHelp
2023-10-24 10:54:19 +07:00
Rémi Verschelde
50d17f6b8c
Merge pull request #83613 from clayjohn/surface_upgrade_tool
...
Add an editor tool to automatically upgrade and re-save meshes
2023-10-24 00:10:37 +07:00
clayjohn
318ef8461f
Implementation of tool to automatically upgrade and re-save meshes
2023-10-23 22:39:48 +07:00
kit
701c8d8323
Fix tab dragging issues
2023-10-22 13:58:31 +07:00
Yuri Sizov
9b03fb36f9
Improve threading in ClassDB and EditorHelp
2023-10-20 22:14:04 +07:00
Yuri Sizov
cd31407cb3
Clean up some Editor, OpenXR, VideoStream code
...
- EditorNode has excessive and pointless checks for Input singleton.
- EditorNode initialization order is a bit awkward.
- OpenXR binds a method that doesn't need that (for call deferred).
- VideoStream has a formatting error.
2023-10-20 17:54:39 +07:00
Rémi Verschelde
15955e5d9e
Merge pull request #83512 from zaevi/fix_remove_from_floating_dock
...
Editor: Fix `remove_control_from_dock` fails when dock is floating.
2023-10-20 15:08:40 +07:00
Raul Santos
7b34fa8dd2
Enable new addon after hiding ProjectSettings
...
- Enabling newly created addons can show a warning dialog, doing so before hiding the `ProjectSettingsEditor` dialog causes rendering glitches.
- Remove unused `PuginConfigDialog` in `EditorNode`. The one actually being used is an instance in `EditorPluginSettings`.
2023-10-18 20:20:46 +07:00
Yuri Sizov
582ed157b5
Fix StringName leaks in GDExtension, core, and editor themes
2023-10-18 17:36:20 +07:00
Rémi Verschelde
e06d09228b
Merge pull request #83251 from Rindbee/fix-current_edited_scene-wrong-move
...
Fix saving wrong edited scene state when switching scene tabs
2023-10-18 00:01:24 +07:00
Zae
acf0d395c8
Editor: Fix `remove_control_from_dock` fails when dock is floating.
2023-10-18 01:14:26 +07:00
风青山
225a5e225f
Fix saving wrong edited scene state when switching scene tabs
...
When creating a new scene, the scene tab will actually switch to the newly created one.
Also worth noting that switching scene tabs saves state (by `save_edited_scene_state`).
When trying New Scene again, the previously empty scene tab will be removed.
So the correct logic is: switch the tab save state first, and then remove the previous
empty scene tab. To prevent `current_edited_scene` from being incorrect when saving state.
2023-10-17 22:52:44 +07:00
Rémi Verschelde
230bdda872
Merge pull request #82742 from kitbdev/empty-dock-layout
...
Fix loading floating dock layout
2023-10-13 11:43:35 +07:00
kobewi
41fa6c32b4
Disable update spinner when debug redraw is active
2023-10-11 13:21:29 +07:00
Saracen
c0e872c05b
Fix dependency menu not showing up if scene failed to load.
2023-10-09 03:15:46 +07:00
kobewi
a6de7a8a3f
Allow contextual plugins to persist temporarily
2023-10-06 15:58:50 +07:00
bruvzg
af00c4a54a
[X11] Add support for using EGL/GLES instead of GLX.
2023-10-04 14:15:36 +07:00
kit
349da99476
fix load floating dock layout
2023-10-03 15:36:53 +07:00
Silc Lizard (Tokage) Renew
1b95827d3e
Implement AnimationManager the base class of AnimationPlayer/Tree
2023-09-29 08:23:57 +07:00
Rémi Verschelde
da91cf9367
Merge pull request #82347 from SaracenOne/dir_access_checks
...
Add error checks for DirAccess creation
2023-09-26 16:36:47 +07:00
David Snopek
2733a6f762
Implement reloading of GDExtensions
2023-09-25 22:10:17 +07:00
Saracen
3f4513d4de
Add error checks for DirAccess creation.
2023-09-26 03:07:43 +07:00
Kevin Cardona
c1146632b2
Add Ctrl/CMD+P as a shortcut to quick open files in addition to Shift+Alt+O
2023-09-16 15:32:37 +07:00
A Thousand Ships
75ee58fd04
[Editor] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-09-15 20:15:39 +07:00
Yuri Sizov
8ecc0c4f47
Fix accessing editor theme items throughout the UI
...
This also exposes `EditorInterface::get_editor_theme`.
2023-09-15 14:51:01 +07:00
Danil Alexeev
f8a0c487a8
Editor: Rearrange "Main Menu > Help" items
2023-09-07 16:17:28 +07:00
Yuri Sizov
fc01e2e7f6
Add a theme preview switcher to the 2D viewport
...
This commit adds a new View submenu that allows switching
between the project theme (default), the editor theme, and
the default theme. The last selected option is stored per
project and is restored when reloading the project.
2023-09-06 19:40:43 +07:00
Yuri Sizov
512182f147
Add theme contexts to various parts of the editor
...
This change defines additional theme contexts for editor
branches to prevent theme leaking between the default
theme, the project theme, and the editor theme.
- Both editor window and EditorNode define an editor-specific
context with the editor theme and the default theme.
- The 2D viewport defines a project-specific context with
the project theme and the default theme.
- Theme editor preview tabs define the default-only context
with the default theme.
Additionally, the default theme context now only includes
the project theme for running projects (both export and debug).
This prevents the project theme from leaking into the editor.
This commit also does a little clean up on the theming aspects
of the EditorNode.
2023-09-06 19:40:43 +07:00
Yuri Sizov
21c5f86d5d
Check the native base of scripts when resolving icons
2023-09-06 15:20:07 +07:00
kobewi
6de34fde27
Add EditorStringNames singleton
2023-09-03 19:58:18 +07:00
Rémi Verschelde
60422759fa
Merge pull request #80849 from KoBeWi/edit_NOTHING
...
Unedit nodes early when closing scene tab
2023-09-02 14:29:00 +07:00
Rémi Verschelde
5588980e47
Merge pull request #80184 from MewPurPur/gray=abstract
...
Use the gray color for all abstract classes
2023-09-01 16:00:58 +07:00
MewPurPur
398ca4e71a
Use the gray color for all abstract classes
2023-08-31 12:59:18 +07:00
Hugo Locurcio
3ba031602b
Display time of last save in the unsaved changes confirmation editor dialog
...
When multitasking, this makes it clearer whether closing a window with unsaved
changes is potentially dangerous or not.
2023-08-31 00:47:11 +07:00
bitsawer
836705d7a9
Reset SDFGI when changing editor scene tabs
2023-08-30 19:50:05 +07:00
Rémi Verschelde
91c5273ec5
Merge pull request #75656 from YuriSizov/core-iconic-builtins
...
Add a script method to get its class icon
2023-08-29 12:41:03 +07:00
kobewi
cbd01043f0
Fix Quick Open not opening binary resources
2023-08-28 12:57:14 +07:00
Rémi Verschelde
0655a7d7d3
Merge pull request #80517 from YuriSizov/tsa-randomly-picked-you-for-mandatory-inspection-i-think-not
...
Avoid unnecessary inspector updates when loading or switching scenes
2023-08-28 12:05:06 +07:00
Rémi Verschelde
2967084fe3
Merge pull request #80490 from YuriSizov/editor-scene-tabs-unchained
...
Extract editor scene tabs into their own component
2023-08-28 12:04:41 +07:00
Yuri Sizov
e21ded8f8f
Merge pull request #80450 from KoBeWi/settings_freeze,_no_more_changes
...
Deprecate `project_settings_changed` signal
2023-08-25 14:58:32 +07:00
Yuri Sizov
2c77f07aaa
Add a script method to get its class icon
...
Co-authored-by: Danil Alexeev <danil@alexeev.xyz>
2023-08-24 13:05:41 +07:00
Yuri Sizov
6ab34005ad
Extract editor scene tabs into their own component
2023-08-24 12:24:29 +07:00
kobewi
dd7152a311
Unedit nodes early when closing scene tab
2023-08-21 14:12:26 +07:00
Rémi Verschelde
c7356c795b
Merge pull request #80647 from jsjtxietian/CollisionShape3D-Shape-Size-handles-missing-when-Script-editor-floating
...
Fix 2D/3D viewport context switching issues when script editor is floating
2023-08-17 11:27:04 +07:00
Rémi Verschelde
678c89aa1a
Merge pull request #79382 from MewPurPur/better-prepare-scene-context-menu
...
Disable irrelevant scene tab context menu items
2023-08-17 11:20:57 +07:00
Tomasz Chabora
3dd881b4e4
Add option to allow echo events in menu shortcuts
2023-08-16 16:59:17 +07:00
jsjtxietian
fec0396cac
fix CollisionShape3D Shape Size handle will missing
...
when Script editor floating
2023-08-15 12:41:20 +07:00
Yuri Sizov
2445414aa0
Avoid unnecessary inspector updates when loading or switching scenes
...
This should result in some noticeable performance improvements,
aside from fixing bugs due to conflicts in logic.
This also simplifies some related code identified while debugging.
2023-08-12 13:32:59 +07:00
kobewi
fca3ab5564
Deprecate project_settings_changed signal
2023-08-10 15:07:25 +07:00
Rémi Verschelde
1b132b7c23
Merge pull request #80377 from YuriSizov/importers-are-made-to-be-alone
...
Register and cleanup resource importer singletons in a predictable way
2023-08-09 17:46:33 +07:00
Rémi Verschelde
8375f73680
Merge pull request #80355 from jcovin293/issue/80347/fix-missing-ellipsis
...
Fix menu items that trigger secondary interface missing ellipsis
2023-08-09 17:46:26 +07:00
RandomWalrus13
585633ea85
Fix menu items that trigger secondary interface missing ellipsis
...
fix #80347
2023-08-09 08:30:35 +07:00
Rémi Verschelde
f6b9d445b5
Merge pull request #80285 from YeldhamDev/just_a_little_bit
...
Further separate icon from text of buttons in both editor and default themes
2023-08-09 15:20:25 +07:00
Rémi Verschelde
1163dac9e3
Merge pull request #80215 from clayjohn/HDR-2D
...
Add option to enable HDR rendering in 2D
2023-08-08 16:57:33 +07:00
Michael Alexsander
98bdb56815
Further separate icon from text of buttons in both editor and default themes
2023-08-07 13:22:39 +07:00
Yuri Sizov
237515d0ed
Register and cleanup resource importer singletons in a predictable way
2023-08-07 17:49:33 +07:00
Rémi Verschelde
5413b185f1
Merge pull request #79971 from Calinou/editor-filesystem-dock-expand-favorites
...
Uncollapse favorites by default in the editor FileSystem dock
2023-08-07 14:49:58 +07:00
clayjohn
57eb762bae
Add option to enable HDR rendering in 2D
...
This is needed to allow 2D to fully make use of 3D effects (e.g. glow), and can be used to substantially improve quality of 2D rendering at the cost of performance
Additionally, the 2D rendering pipeline is done in linear space (we skip linear_to_srgb conversion in 3D tonemapping) so the entire Viewport can be kept linear.
This is necessary for proper HDR screen support in the future.
2023-08-07 11:24:03 +07:00
MewPurPur
4b0ee492ae
Disable irrelevant scene tab context menu items
2023-08-04 19:04:18 +07:00
Pedro J. Estébanez
b3a5e10f4a
Avoid crash on exiting due to late prints
2023-08-02 13:38:58 +07:00
Rémi Verschelde
f8ead6d5b6
Merge pull request #80089 from AThousandShips/editor_settings_fix
...
Fix API hash related crash in `EditorSettings`
2023-08-02 12:20:47 +07:00
Yuri Sizov
77785c340d
Merge pull request #79852 from YeldhamDev/that_was_getting_annoying
...
Fix usability issues with scene tabs
2023-08-01 17:25:33 +07:00
Yuri Sizov
fbe7602bd3
Merge pull request #79945 from hvarga/fix-current-scene-update
...
Fix out of bounds access when updating current scene
2023-07-31 21:01:43 +07:00
Yuri Sizov
f15898161a
Merge pull request #79917 from hvarga/fix-scene-tab-close
...
Fix crash when using "Close All Tabs"
2023-07-31 21:01:40 +07:00
Ninni Pipping
e2a91309d0
Fix API hash related crash in `EditorSettings`
2023-07-31 16:35:41 +07:00
Michael Alexsander
3e539fff78
Fix some issues with scene tabs
...
- Stop scene creation on double-click when hovering the offset buttons.
- Fix the "Add Scene" button's position on RTL mode.
2023-07-30 01:13:36 +07:00
Hugo Locurcio
075bd4b281
Uncollapse favorites by default in the editor FileSystem dock
2023-07-28 01:09:14 +07:00
Yuri Sizov
6535b7475d
Merge pull request #79908 from YeldhamDev/output_icon_space
...
Fix spacing between icon and "Output" button
2023-07-27 15:22:44 +07:00
Hrvoje Varga
ba2850759d
Fix current-scene update
2023-07-27 07:45:53 +07:00
Hrvoje Varga
51923fc528
Fix scene tab close
2023-07-27 07:38:40 +07:00
Michael Alexsander
2883a40aa1
Fix spacing between icon and "Output" button
2023-07-26 15:22:44 +07:00
Yuri Sizov
921776f0a5
Merge pull request #79203 from KoBeWi/visible_confusion
...
Don't grab theme icons for scripts
2023-07-26 18:39:52 +07:00
Yuri Sizov
bc0e646076
Merge pull request #78827 from Rindbee/fix-history-mismatch
...
Fix history mismatch
2023-07-26 18:39:32 +07:00
Yuri Sizov
92960b7a22
Merge pull request #78615 from RandomShaper/fix_doc_cache
...
Re-enable docs cache with fixes
2023-07-26 18:39:22 +07:00
Yuri Sizov
fc1b392e08
Merge pull request #79793 from trollodel/hide_make_floating_swm
...
Make the single window mode check more strict
2023-07-25 21:51:31 +07:00
Yuri Sizov
623787061a
Merge pull request #79492 from dsnopek/gdextension-remove-editor-plugins-at-shutdown
...
Prevent GDExtensions from trying to remove editor plugins at shutdown
2023-07-25 21:25:58 +07:00
trollodel
0f6327b59b
Make the single window mode check more strict
...
Check the "interface/editor/single_window_mode" editor settings.
2023-07-22 17:24:47 +07:00
Yuri Sizov
547f88aa8c
Merge pull request #79396 from Sauermann/fix-systeminfo-displayserver
...
Include display server type in "Copy System Info"
2023-07-21 17:54:30 +07:00
kobewi
51f92d1100
Don't grab theme icons for scripts
2023-07-21 02:13:07 +07:00
Fredia Huya-Kouadio
d17811c814
Re-architect how Android plugins are packaged and handled at export time
...
The previous packaging format for Godot Android plugins consisted of the plugin's `gdap` config file accompanied by binaries defined in the `gdap` file.
This format is now deprecated (starting with Godot 4.2), and instead Godot Android plugins are now packaged as `EditorExportPlugin` plugins.
The `EditorExportPlugin` class has been updated with the following methods to provide the necessary set of functionality:
- `_supports_platform`: returns true if the plugin supports the given platform
- `_get_android_dependencies`: retrieve the set of android dependencies (e.g: `org.godot.example:my-plugin:0.0.0`) provided by the plugin
- `_get_android_dependencies_maven_repos`: retrieve the urls of the maven repos for the provided android dependencies
- `_get_android_libraries`: retrieve the local paths of the android libraries (AAR files) provided by the plugin
- `_get_android_manifest_activity_element_contents`: update the contents of the `<activity>` element in the generated Android manifest
- `_get_android_manifest_application_element_contents`: update the contents of the `<application>` element in the generated Android manifest
- `_get_android_manifest_element_contents`: update the contents of the `<manifest>` element in the generated Android manifest
2023-07-18 19:14:53 +07:00
kobewi
b883f32188
Check for unsaved changes when closing a scene
2023-07-18 14:27:56 +07:00
kobewi
6dc5dc3479
Add `_get_unsaved_status()` method to EditorPlugin
2023-07-18 14:18:36 +07:00
Yuri Sizov
79a9e79561
Merge pull request #79416 from sepTN/fix-copy-system-info
...
Fix rendering driver in Copy System Info for the Compatibility rendering method
2023-07-18 13:28:30 +07:00
Septian
c4b878ccb3
Fix Copy System Info to copy the correct rendering driver for the Compatibility rendering method
2023-07-18 06:16:15 +07:00
kobewi
de4a3fa151
Unify and streamline connecting to Resource changes
2023-07-17 19:35:57 +07:00
Markus Sauermann
1712b78e18
Include Display Server Type in Copy System Info
...
Add info about X11 or Wayland to System Information on LinuxBSD.
2023-07-16 10:32:54 +07:00
David Snopek
62af007aa0
Prevent GDExtensions from trying to remove editor plugins at shutdown
2023-07-14 17:48:14 +07:00
Hendrik Brucker
7e21eb7e00
Extract and reorganize texture resource classes
2023-07-14 20:04:21 +07:00
WiseNoodle
d1c70cf7d4
Add missing word to text of the alert dialog
2023-07-12 11:53:31 +07:00
Rindbee
28db5e7649
Fix history mismatch
...
Set the properties of the resource's proxy instead of setting the resource's
properties directly. (For action "Set ...")
Update the path of the edited scene when saving the scene. (For action "Add
atlas source")
2023-07-11 05:45:37 +07:00
kobewi
59ae7e2445
Collapse bottom panel if there is no active tab
2023-07-05 23:07:12 +07:00
Pedro J. Estébanez
cac4d44cde
Re-enable docs cache with fixes
2023-07-05 10:44:58 +07:00
kobewi
0458ac4b81
Improve script icon cache
2023-06-26 14:03:21 +07:00
Yuri Sizov
f623509086
Handle contextual editors gracefully when restoring layout
2023-06-23 15:46:06 +07:00
Yuri Sizov
8cfbc6bda2
Revert "Remember only permanent bottom tabs"
...
This reverts commit 5dde57e958 .
2023-06-23 15:23:36 +07:00
kobewi
5dde57e958
Remember only permanent bottom tabs
2023-06-23 10:53:39 +07:00
Michael Alexsander
41a75cfa4f
Allow exporting release Android builds without a debug keystore
2023-06-19 01:00:13 +07:00
Rémi Verschelde
ad85ecef8d
Merge pull request #77750 from RandomShaper/tidy_shader_data_items
...
Let editor workaround a case of inconsistency in compound scenes
2023-06-13 13:52:51 +07:00
Pedro J. Estébanez
96c469a138
Let editor workaround a case of inconsistency in compound scenes
2023-06-13 11:05:57 +07:00
Alex Drozd
454befc880
Prevent non-existent scene from being saved to persistent editor config
2023-06-12 22:49:49 +07:00
Rémi Verschelde
c3e5e4ed4b
Merge pull request #68599 from Rindbee/update-edited_scene_root-in-time
...
Update the edit scene root in time after it is replaced
2023-06-12 17:08:50 +07:00
Rindbee
eb74079dfb
Update the edit scene root in time after it is replaced
...
When changing the type of the edited scene root node, it may be necessary
to update edited scene root in time for the child nodes to work properly.
2023-06-12 21:49:30 +07:00
kobewi
0a4d0506d1
Fix problems reloading MeshLibrary
2023-06-11 19:42:24 +07:00
Rémi Verschelde
a08aa9627c
Merge pull request #75226 from AThousandShips/file_dialog_default
...
Do not use editor setting for FileDialog hidden files
2023-06-09 15:30:48 +07:00
MJacred
2c5e2196bd
Replace get_rendering_device() call to prevent crashes on OpenGL.
...
And make OpenGL video adapter info align with Vulkan.
2023-06-06 23:29:36 +07:00
lawnjelly
b69c8b4791
Single Compilation Unit build.
...
Adds support for simple SCU build (DEV_ENABLED only).
This speeds up compilation by compiling multiple cpp files within a single translation unit.
2023-06-06 15:36:51 +07:00
kobewi
53a15d85be
Get rid of mouse wheel switch in scene tabs
2023-05-31 22:21:40 +07:00
David Giardi
a8fc343f80
Make main editor window border margin controllable by theme
2023-05-30 19:19:39 +07:00
Rémi Verschelde
60871fd4b7
Merge pull request #77574 from MJacred/editor/system_info_single_line
...
Make system information for issue reports single-line
2023-05-30 09:33:13 +07:00
MJacred
ca1ee316b5
Make system information for issue reports single-line
...
Additionally:
* for custom builds, add commit hash
* added a tooltip to help mitigate potential/understandable confusion whether the single-line output might be a bug
* prettify driver name
2023-05-29 22:20:40 +07:00
Yuri Sizov
fd5faae29c
Merge pull request #75983 from timothyqiu/dialog-rebase
...
Fix theme of editor VCS dialogs
2023-05-29 17:42:16 +07:00
Yuri Sizov
4c5c7cbb58
Fix auto-reparenting logic in the `ProgressDialog`
...
* Make sure `Popup` signals are disconnected when unparented.
* Remove a fail condition from `Window::is_embedded` when
not in tree.
2023-05-29 17:02:16 +07:00
Haoyu Qiu
b30a332009
Fix theme of editor VCS dialogs
...
These dialogs were added to the plugin itself so theme can't be
propagated.
Also moved initialization of the VCS menu after the creation of
EditorInterface.
2023-05-29 21:25:31 +07:00
Yuri Sizov
c670c4334a
Merge pull request #65902 from MJacred/editor/copysysteminfo
...
Add an editor option to copy system info to clipboard
2023-05-27 20:11:54 +07:00
MJacred
9e5bf3d589
Copy system info to clipboard + Update bug_report.yml
...
plus minor static-related fixes
* linuxbsd: get_systemd_os_release_info_value() -> static breaks usage if used multiple times
* windows/linuxbsd: get_video_adapter_driver_info() writes info into static
* linuxbsd: get_distribution_name() + get_version() -> write bsd fallback into static variable
* windows/uwp/android: remove unnecessary use of static
2023-05-27 18:21:23 +07:00
kobewi
8eb076a630
Uncollapse res:// by default
2023-05-26 13:25:09 +07:00
Rémi Verschelde
699b66b62d
Merge pull request #77010 from dsnopek/gdextension-editor-plugins
...
Allow GDExtensions to add editor plugins
2023-05-26 11:00:32 +07:00
David Snopek
3007163210
Allow GDExtensions to add editor plugins
2023-05-25 09:14:29 +07:00
Fredia Huya-Kouadio
831b4a5366
Improve startup benchmarking
...
Move the benchmarking measuring methods from `Engine` to `OS` to allow for platform specific overrides (e.g: can be used to hook into platform specific benchmarking and tracing capabilities).
2023-05-23 13:22:35 +07:00
Pedro J. Estébanez
2648232fe8
Make certain editor callbacks thread-safe
2023-05-20 11:17:41 +07:00
Yuri Sizov
17f492fb82
Expose dialog parent-and-popup logic to the API
2023-05-15 19:49:28 +07:00
Pedro J. Estébanez
45d0b38076
Enhance thread safety of loaders and importers
2023-05-12 17:44:48 +07:00
Pedro J. Estébanez
7537a0521f
Simplify ResourceLoader error callbacks
2023-05-12 17:44:48 +07:00
Aaron Franke
b4129680fb
Sort the list of addons before saving them
2023-05-11 13:39:26 +07:00
Hendrik Brucker
dc46163b12
Improve editor state persistence
2023-05-11 04:17:03 +07:00
Rémi Verschelde
5271186f2f
Merge pull request #75901 from reduz/refactor-node-processing
...
Refactor Node Processing to allow Scene Multithreading
2023-05-10 12:46:44 +07:00
trollodel
b4d6b47c17
Add multi window code and shader editors
2023-05-10 09:14:21 +07:00
Juan Linietsky
98c655ec8d
Refactor Node Processing
...
* Node processing works on the concept of process groups.
* A node group can be inherited, run on main thread, or a sub-thread.
* Groups can be ordered.
* Process priority is now present for physics.
This is the first steps towards implementing https://github.com/godotengine/godot-proposals/issues/6424 .
No threading or thread guards exist yet in most of the scene code other than Node. That will have to be added later.
2023-05-09 19:17:51 +07:00
Fredia Huya-Kouadio
bd1bc68ba0
Merge pull request #75718 from m4gr3d/add_scale_editor_icons_main
...
Adds a `scale_gizmo_handles` entry to the `Touchscreen` editor settings
2023-05-07 17:05:12 +07:00
Fredia Huya-Kouadio
30824e9818
Adds a `scale_gizmo_handles` entry to the `Touchscreen` editor settings
...
When enabled, this scales the editor icons to improve usability on touchscreen devices.
In addition this commit fixes touch detection for the collision_shape_2d_editor_plugin so it scales with the icons size.
2023-05-07 15:55:28 +07:00
Max Hilbrunner
f6bf51ca49
Merge pull request #75864 from KoBeWi/assassin_of_shaders
2023-05-05 14:37:54 +07:00
Rémi Verschelde
8f7b09916d
Merge pull request #76026 from YuriSizov/editor-running-up-that-gui
...
Extract editor run toolbar into its own component
2023-04-26 12:15:29 +07:00
Rémi Verschelde
e54ebaf0eb
Merge pull request #76421 from timothyqiu/editor-dialog
...
Fix inconsistent file dialog settings usage
2023-04-25 10:01:06 +07:00
Daylily-Zeleen
b12ced0a26
Implement and expose OS::shell_show_in_file_manager()
2023-04-25 11:29:32 +07:00
Haoyu Qiu
2ccc9e1456
Fix inconsistent file dialog settings usage
...
* Project Manager ignores display mode settings.
* EditorFileDialog's default display mode and show hidden files settings
are not updated when corresponding editor settings change.
2023-04-25 09:11:57 +07:00
Yuri Sizov
8a74d8438f
Extract editor run toolbar into its own component
...
- Simplify and update its logic.
- Simplify EditorScript.
- Improve EditorNode and other relevant includes.
- Fix scene-based path in the movie writer when
reloading a scene.
2023-04-19 17:12:28 +07:00
Yuri Sizov
49d7041d34
Decouple EditorInterface from EditorPlugin
...
- Simplify some includes in the process.
- Also exposes EditorInterface.movie_maker_enabled as a property.
2023-04-17 21:59:09 +07:00
Rémi Verschelde
c5d9470c7c
Merge pull request #75765 from YuriSizov/editor-node-optimize-includes
...
Improve includes of `EditorNode` (and everything else)
2023-04-11 19:40:24 +07:00
kobewi
71011e0855
Adjust size of some dialogs
2023-04-10 17:04:53 +07:00
kobewi
aaf02ec04a
Close built-in shaders when closing scene
2023-04-09 22:10:43 +07:00
Yuri Sizov
4154039832
Improve includes of EditorNode (and everything else)
...
Also start organizing editor-specific GUI components
into a dedicated folder, `editor/gui`.
Also move `editor_file_server` next to the rest of debugger classes.
2023-04-07 18:59:49 +07:00
kobewi
ddc8567022
Scene tab closing refactor
2023-04-03 22:19:07 +07:00
Yuri Sizov
ee2cc347c6
Add support for icons in GDExtension classes
...
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-03-31 21:39:02 +07:00
Yuri Sizov
1522762dc9
Make icons of scripted and custom classes fit the editor UI
...
Also:
- Add an option to limit the icon size in PopupMenu.
This is similar to how this works in Tree and TreeItem.
- Add the same option to TabBar.
- Add a theme constant for Tree, PopupMenu, Button, and
TabBar to apply this limit on the control level.
Co-authored-by: Daylily-Zeleen <daylily-zeleen@foxmail.com>
2023-03-31 21:39:02 +07:00
Yuri Sizov
9fae65404a
Streamline class icon resolution in the editor
2023-03-31 21:17:59 +07:00
Haoyu Qiu
26553be424
Turn off auto translate for some editor controls
...
* Scene tab
* Animation name list in Animation panel
* Feature profile name list in Editor Feature Profile dialog
* Layout names in editor layout menu
* Subresource list in Inspector dock
* Resource type shown in EditorResourcePicker
* Enum dropdowns in inspectors: We'll eventually allow auto translating
these after implementing a way to opt-out auto translation on a
property-by-property basis and a way to extract enumerators.
2023-03-28 23:18:32 +07:00
Yuri Sizov
b57f3c2e67
Merge pull request #75331 from KoBeWi/remove_removed_plugins
...
Remove disabled plugins from active plugins
2023-03-27 11:42:33 +07:00
Haoyu Qiu
8ab11127bc
Make Add Scene button the same height as scene tabs
2023-03-27 16:13:17 +07:00
kobewi
0b8b37c35d
Remove disabled plugins from active plugins
2023-03-25 21:12:47 +07:00
Ninni Pipping
c04c69b903
Do not use editor setting for FileDialog hidden files
2023-03-22 16:27:06 +07:00
Yuri Sizov
ac2e82463c
Merge pull request #74114 from dalexeev/editor-help-enable-context-menu
...
Enable `RichTextLabel` context menu if selection is enabled
2023-03-16 12:19:05 +07:00
Yuri Sizov
5dd52f47b1
Merge pull request #74795 from KoBeWi/MassNodeEdit
...
Fix MultiNodeEdit not cleared after deleting nodes
2023-03-15 15:39:13 +07:00
John Veness
4505049ba6
Corrected capitalisation of macOS
...
In documentation and comments, ignoring thirdparty code
2023-03-12 16:48:52 +07:00
kobewi
fbffd686e2
Fix MultiNodeEdit not cleared after deleting nodes
2023-03-11 22:46:31 +07:00
Ninni Pipping
3de5332fcb
Document `editor/naming/scene_name_casing` setting
...
Moved definitions of editor related project settings to `editor/register_editor_types.cpp` to make documentation work.
2023-03-09 21:17:49 +07:00
Rémi Verschelde
009bdc587c
Merge pull request #74634 from Haydoggo/floating-dock-error-fix
...
Fix errors when closing floating docks
2023-03-09 12:20:22 +07:00
Hayden Leete
21578e0bb4
Fix errors when closing floating docks
...
dock->get_index() on line 4463 was not behaving as expected
due to dock having an internal sibling, so now we just get the
index excluding internal nodes.
line 4742 would throw an error if you made multiple docks
floating then redocked the end docks first, but no longer
2023-03-09 17:00:50 +07:00
Yuri Sizov
496bd94c21
Prevent cache corruption when saving resources in the editor
2023-03-08 19:46:55 +07:00
Haoyu Qiu
ac7a4f6e87
Fix coloring of the renderer options button
2023-03-08 19:12:43 +07:00
Danil Alexeev
06c7940a5a
Enable `RichTextLabel` context menu if selection is enabled
2023-03-06 13:18:36 +07:00
Rémi Verschelde
0885e4b931
Merge pull request #73365 from bruvzg/no_transient_children
...
Automatically reparent editor message dialogs to avoid error spam.
2023-03-02 11:41:17 +07:00
Haoyu Qiu
43bf0ca8d2
Fix dock name lost translation after layout change
...
* After you click in the dock select panel
* After you load an editor layout
2023-03-01 22:18:51 +07:00
stmSi
656cdf121a
Fix Filter Files shortcut input is not properly handling
2023-02-26 20:04:27 +07:00
Rémi Verschelde
a5e944661d
Merge pull request #73775 from SaracenOne/fix_node_ownership_on_scene_update_addition
...
Fix ownership bug on ancestor nodes when scene is reimported
2023-02-23 13:53:47 +07:00
George Marques
554b55ae74
Load script for addons without cache
...
Since they are postponed sometimes due to transient script errors, it
needs to try again without the cache to compile the script again
instead of using the failed one.
2023-02-22 15:52:36 +07:00
SaracenOne
7bbd7833de
Fix ownership bug on ancestor nodes when scene is reimported.
2023-02-22 18:21:14 +07:00
Davi
21fcf657ce
Add Output font size in Theme regeneration conditions
2023-02-21 17:45:20 +07:00
bruvzg
921f3b7589
Automatically reparent editor message dialogs to avoid error spam.
2023-02-21 12:32:11 +07:00
bruvzg
b3c64675cc
[macOS] Replace all `Alt/Option+Letter/Number` default shortcuts to avoid conflicts with special character input.
2023-02-20 22:02:47 +07:00
Gilles Roudière
88f3d18bc6
Fix TileMap dragging selection
2023-02-17 17:55:03 +07:00
Yuri Sizov
bbbcd77217
Make use of a theme cache in EditorHelp and ensure it's updated
...
- Migrates the existing cache to the standard theme cache struct
- Moves some parts of the codebase to use cache instead of ad-hoc fetching
- Adds hooks to editor settings previously missing from theme regeneration
2023-02-11 20:09:35 +07:00
Aaron Franke
be916233f9
Check for CanvasItem instead of Control and Node2D
2023-02-11 02:18:10 +07:00
Rémi Verschelde
09b2c5fd05
Merge pull request #72552 from m4gr3d/cleanup_custom_build_main
...
Rename Godot's 'custom build' to 'gradle build' to better reflect the underlying build process
2023-02-06 22:50:22 +07:00
Silc Renew
1f9dbbe07b
Fix AnimationTrackEditor doesn't open when selecting AnimationPlayer
2023-02-07 03:08:06 +07:00
kobewi
50297a9cef
More fixes to over plugin handling
2023-02-06 15:35:33 +07:00
Fredia Huya-Kouadio
ca593f2f89
Rename Godot's 'custom build' to 'gradle build' to better reflect the underlying build process.
2023-02-02 07:17:31 +07:00
Rémi Verschelde
d9ade633b3
Merge pull request #71936 from akien-mga/remove-some-unused-signals
...
Remove some unused signals
2023-02-01 07:53:52 +07:00
kobewi
360c71c3f6
Prevent wrong unedit when clicking editor viewport
2023-02-01 00:50:34 +07:00
Rémi Verschelde
b342dcdf04
Remove some unused signals
...
Part of #37604 .
2023-01-31 18:54:04 +07:00
Rémi Verschelde
6c859889eb
Merge pull request #72420 from TokageItLab/fix-animation-editor-plugin
...
Fix broken bottom panel switching
2023-01-31 13:18:06 +07:00
Silc Renew
fc22583b34
Fix broken bottom panel switching
2023-01-31 19:34:26 +07:00
clayjohn
9071809021
Remove viewport_set_disable_environment in favor of viewport_set_environment_mode
...
This allows us to set a default value inherited by child viewports and have child viewports set the value themselves which is needed for disabling the environment in the editor
2023-01-30 12:25:49 +07:00
Rémi Verschelde
312011fade
Fix various typos with codespell
...
And include #72377 .
Co-authored-by: Wiktor Kocielski <withaust@gmail.com>
2023-01-30 14:22:47 +07:00
kobewi
3f17bfad8d
Fix editors potentially being used twice
2023-01-28 21:44:20 +07:00
Rémi Verschelde
619604093f
Merge pull request #71725 from bruvzg/mac_mpass_title
...
[macOS] Move extended title bar input to _gui_input and add mouse filters to prevent editor buttons from passing double-click to title.
2023-01-26 22:49:38 +07:00
SaracenOne
fc74cbe835
Fix path for unsaved inherited scenes.
2023-01-25 03:06:59 +07:00
Yuri Sizov
fab9926a95
Merge pull request #65137 from dalexeev/editor-naming
...
Rearrange `editor/naming/*` project settings
2023-01-24 22:26:03 +07:00
Rémi Verschelde
885cb808db
Merge pull request #65302 from KoBeWi/middle_click_of_exasperation
...
Remove middle click shortcut to open scene tab
2023-01-24 09:44:46 +07:00
Rémi Verschelde
1dfd236f15
Merge pull request #70377 from dsnopek/server-export-mk2
...
Add "dedicated server" export mode which can strip unneeded visual resources
2023-01-23 22:13:28 +07:00
David Snopek
74458b6e9b
Add "dedicated server" export mode which can strip unneeded visual resources
2023-01-23 13:24:54 +07:00
Rémi Verschelde
11e2278844
Merge pull request #57606 from SaracenOne/update_on_reimport
...
Update instances of scenes which have been reimported.
2023-01-23 15:35:44 +07:00
kobewi
0d90b46b97
Fix plugins over not working
2023-01-23 14:19:42 +07:00
PrecisionRender
38fb8259d0
Use selected node type for choosing editor tab
...
Use selected node type for choosing editor tab
Update editor/editor_node.cpp
Co-authored-by: Tomek <kobewi4e@gmail.com>
2023-01-22 16:24:52 +07:00
Rémi Verschelde
84aaa1e90e
Merge pull request #71849 from EricEzaM/fix-run-specific-scene-shortcut
...
Fix 'run specific scene' shortcut on Windows/non-Mac
2023-01-22 16:07:14 +07:00
Eric M
6fa4f43dee
Fix 'run specific scene' shortcut on Windows/non-Mac
2023-01-22 20:31:31 +07:00
Rémi Verschelde
bda87300e8
Merge pull request #71770 from KoBeWi/better_editing_or_something
...
Rework EditorPlugin editing logic
2023-01-22 11:07:39 +07:00
kobewi
4ae168eb04
Rework EditorPlugin editing logic
2023-01-22 00:20:45 +07:00
Rémi Verschelde
906ee0b219
Merge pull request #67253 from KoBeWi/PICKER_USAGE_NO_EDITOR
...
Remove editor dependencies from ColorPicker
2023-01-21 20:52:16 +07:00
bruvzg
4b2323e030
[macOS] Move extended title bar input to _gui_input and add mouse filters to prevent editor buttons from passing double-click to title.
2023-01-20 12:47:05 +07:00
kobewi
c0083e431b
Cleanup unused engine code v2
2023-01-19 13:02:18 +07:00
kobewi
67baca5514
Increase default size of docks
2023-01-18 16:49:08 +07:00
SaracenOne
4628736894
Update instances of scenes which have been reimported.
2023-01-16 13:46:33 +07:00
Rémi Verschelde
0f0b853c98
Merge pull request #70668 from KoBeWi/never_give_up
...
Retry loading addons after filesystem scan
2023-01-16 09:47:17 +07:00
kobewi
b58111588a
Add EditorUndoRedoManager singleton
2023-01-16 01:11:52 +07:00
bruvzg
5406b001ca
Move remote debug buttons to a single menu.
2023-01-14 22:25:35 +07:00
bruvzg
026002859b
Fix editor progress dialog theme update.
2023-01-14 01:07:24 +07:00
Rémi Verschelde
f79c58aac5
Merge pull request #71209 from bruvzg/ed_progress_reparent
...
Automatically reparent editor progress dialog to avoid error spam.
2023-01-13 00:29:48 +07:00
Pedro J. Estébanez
d0e37cd04c
Add framework for avoidance of color flash in new windows
2023-01-12 21:42:51 +07:00
Danil Alexeev
8f706be6fa
Rearrange `editor/naming/*` project settings
2023-01-12 11:41:13 +07:00
bruvzg
19293d1813
Automatically reparent editor progress dialog to avoid error spam.
2023-01-11 10:13:21 +07:00
Rémi Verschelde
dce8cdbca8
Merge pull request #70863 from bruvzg/win_init_min
...
Set main window min. size via Window object instead of DisplayServer to preserve it during window updates.
2023-01-09 23:08:52 +07:00
Juan Linietsky
0e0a6bb39b
Removed unused property hints and `Object::get_translatable_strings()`
...
* Remove unused `EditorPropertyMember` and related hints, previouly used by
VisualScript. Such logic should be implemented in the VS module itself.
* As the above broke compatibility with the VS module, clean up the other
hacks that were still in core in support of VisualScript.
* `PROPERTY_USAGE_INTERNATIONALIZED` was only used in Object's
`get_translatable_strings()`, which is a legacy function not used anywhere.
So both are removed.
* Reordered some usage flags after the above removal to minimize the diff.
* General clean up.
Fixes #30203 .
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-01-09 16:56:01 +07:00
Rémi Verschelde
c3c5eceb35
Merge pull request #70463 from DarkKilauea/nav-server-const
...
[4.x] Rework const on NavigationServer methods
2023-01-08 22:50:05 +07:00
Rémi Verschelde
56522f7f8f
Merge pull request #71057 from EricEzaM/editor-node-cleanup
...
Remove unnecessary changing of shortcut name in editor node.
2023-01-08 22:45:32 +07:00
Eric M
8d0178a589
Remove unnecessary changing of shortcut name.
...
The same effect which was desired here can just be done with `set_item_text(...)`, which is what this PR does. It removes the need to constantly update the shortcut name when the scene menu is opened.
2023-01-08 20:48:56 +07:00
Eric M
8256b4ea23
Fix Undo/Redo not working until Scene menu is opened.
2023-01-08 20:35:30 +07:00
Josh Jones
a0715b30f9
Rework const on NavigationServer methods
...
`const` is used on all methods, even when they cause modification of the server. This reworks the methods of the server to only use `const` on method that don't change the state of the server.
2023-01-07 17:29:00 +07:00
Rémi Verschelde
163f6f5fe8
Merge pull request #68429 from KoBeWi/PropertySettings
...
Add PropertyInfo overload for GLOBAL_DEF
2023-01-06 22:59:29 +07:00
Rémi Verschelde
b14f7aa9f9
Merge pull request #70500 from hakro/readd-renderer-options
...
Bring back the renderer options button on the main editor
2023-01-06 08:10:42 +07:00
Yuri Sizov
82c00c21e6
Simplify some editor plugin logic and remove dead code
2023-01-05 21:04:54 +07:00
Rémi Verschelde
d95794ec8a
One Copyright Update to rule them all
...
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.
It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).
We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).
Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-05 13:25:55 +07:00
bruvzg
06551dfa3a
Set main window min. size via Window object instead of DisplayServer to preserve it during window updates.
2023-01-03 09:25:45 +07:00
kobewi
f2367e0782
Retry loading addons after filesystem scan
2022-12-28 15:40:45 +07:00
Hakim
6a60300193
Bring back the renderer options button on the main editor
2022-12-24 00:43:18 +07:00
Silc Renew
060fb2d093
Add inspector plugin for key time edit & Change find key argument
2022-12-22 10:03:06 +07:00
Marius Hanl
c6da15fed7
Do not add child twice and set initial focus
2022-12-21 22:26:11 +07:00
reduz
e93d991329
Add a dialog for customizing FBX import
...
* If FBX files are found, a dialog will pop up asking to configure FBX2glTF.
* Dialog can also be accessed by going Editor -> Configure FBX Import.
* The dialog also shows a link to click to download the converter, which
should contain instructions.
2022-12-18 01:08:54 +07:00
kobewi
ff994585b3
Add scope prefix to undo actions
2022-12-14 22:51:10 +07:00
clayjohn
5b5cd2b98b
Remove high quality glow as it is not any higher quality than regular glow
2022-12-13 10:15:45 +07:00
kobewi
7c6b659bd7
Add PropertyInfo overload for GLOBAL_DEF
2022-12-11 21:36:48 +07:00
Markus Sauermann
e18107a57c
Fix Determining Window for Touchscreen
...
DisplayServer::screen_is_touchscreen will likely never utilize its
parameter p_screen.
This PR replaces this function by DisplayServer::is_touchscreen_available()
with the same functionality.
This solves the problem, that a SubViewport was used for determining
the screen, which resulted in error messages.
2022-12-07 09:54:29 +07:00
kobewi
5d2a9a3570
Make remote inspector groups not foldable
2022-11-30 15:31:24 +07:00
Rémi Verschelde
5669834f82
Merge pull request #66995 from HolonProduction/main_window_bug
...
Fix a bug with main window `EditorPlugin`.
2022-11-29 16:50:03 +07:00
Rémi Verschelde
9d64a2e97b
Merge pull request #66194 from YeldhamDev/feature_fixes
...
Fix some stuff with the editor features
2022-11-29 16:47:26 +07:00
HolonProduction
1da0a12705
Solve a bug with main window plugins.
...
When removing a main window plugin the bindings of the main window buttons was not changed to reflect the changed indices.
2022-11-29 16:16:23 +07:00
trollodel
c90d0bd84f
Use forward-declarations in big editor classes
2022-11-29 09:59:43 +07:00
Markus Sauermann
302ddbcfd9
Fix that the History Dock appears before other Docks in old projects
...
Newly introduced docks, that are not apparent in old projects should
be positioned after the ones in the project-config-file.
This way it seems to be less irritating.
2022-11-25 03:09:03 +07:00
Rémi Verschelde
e836284667
Merge pull request #69072 from souplamp/history-dock-check-connected
...
Add history dock to default editor layout, and prevent signal connecting multiple times
2022-11-24 19:04:10 +07:00
souplamp
51cf968e56
History dock singleton, set default editor layout, ready notification
...
- add the history dock to the default editor layout, so when a user does Editor -> Editor Layout -> Default the history dock will no longer disappear
- change the enter tree notification to a ready notification to prevent the history dock from trying to connect 'on_history_changed' signal everytime the dock is moved in the editor layout
2022-11-24 11:45:42 +07:00
Zae
4fdfc5176c
[Editor] Fix float dock shows untranslated title.
2022-11-24 18:52:15 +07:00
Rémi Verschelde
a66fc4cf7e
Merge pull request #60686 from trollodel/move_editor_registration
...
Move editor class and plugin registrations to a dedicated file
2022-11-18 23:07:48 +07:00
trollodel
75177455d9
Move editor class and plugin registrations to a dedicated file
2022-11-18 08:02:08 +07:00
Rémi Verschelde
6d2a7cb46d
Merge pull request #68709 from MewPurPur/instance-begone-part3
...
Remove more instances of 'instance' being used as a verb
2022-11-16 14:41:42 +07:00
VolTer
3b4f5f8a04
Remove more instances of 'instance' being used as a verb
2022-11-16 14:01:53 +07:00
cespeute
4b00c2ec57
Add EditorInterface.get_selected_paths()
...
Exposes the selected paths in the editor filesystem dock.
Implements this proposal : https://github.com/godotengine/godot-proposals/issues/2424
Also renamed the old `get_selected_path` to `get_selected_directory` to
better match the already existing get_current_path function.
2022-11-14 22:46:27 +07:00
Fabio Alessandrelli
d568b25e36
[Editor] Better expose EditorDebuggerPlugin.
...
Now splitted into two classes:
- EditorDebuggerPlugin (RefCounted).
- EditorDebuggerSession (abstract).
This allows the EditorPlugin to be in control of the debugger plugin
lifecycle, be notified when sessions are created, and customize each of
them independently.
We should slowly transition the various profilers and captures in
ScriptEditorDebugger to their own plugins, and decouple
ScriptEditorDebugger from it's UI part (making it the "real"
EditorDebuggerSession potentially dropping the wrappers).
2022-11-14 14:55:22 +07:00
Michael Alexsander
441af72c6e
Fix some stuff with the editor features
2022-11-12 21:09:19 +07:00
trollodel
ba9e619b51
Use forward-declarations in EditorPlugin where possible
2022-11-11 20:25:51 +07:00
kobewi
d9f066d5fa
Remove duplicate project settings definitions
2022-11-08 01:29:39 +07:00
Rémi Verschelde
518b4bcc0d
Merge pull request #68342 from KoBeWi/Godot_museum't
...
Allow to disable History Dock via feature profile
2022-11-07 13:41:29 +07:00
kobewi
c89100e571
Allow to disable History Dock via feature profile
2022-11-07 13:06:59 +07:00
RedMser
f1743263d3
Fix disambiguate_filenames absolute paths on Unix
...
Also clean up relative path handling to use get_basename()
2022-11-06 16:34:59 +07:00
Rémi Verschelde
17497b1eb9
Merge pull request #65012 from KoBeWi/Godot_museum
...
Add history dock
2022-11-02 18:52:42 +07:00
Alfred Reinold Baudisch
07e367cb0b
Cast dragged file extension name to lowercase, closes #68104
2022-11-01 09:48:09 +07:00
Rémi Verschelde
778ffce1e3
Merge pull request #62416 from Calinou/movie-maker-request-attention-on-finish
...
Request attention on the editor window when done recording a movie
2022-10-31 23:03:21 +07:00
Rémi Verschelde
5947f22be9
Merge pull request #67578 from KoBeWi/GEDITOR
...
Unify usage of GLOBAL/EDITOR_GET
2022-10-31 13:15:58 +07:00
Rémi Verschelde
f4f98c4ecb
Merge pull request #67055 from GuilhermeGSousa/custom-node-export
...
Added custom node export
2022-10-31 11:11:07 +07:00
Marc Gilleron
7543a5e014
Rename queue_delete => queue_free
...
# Conflicts:
# editor/plugins/tiles/tiles_editor_plugin.cpp
2022-10-24 22:07:02 +07:00
kobewi
e48c5daddf
Unify usage of GLOBAL/EDITOR_GET
2022-10-18 19:01:48 +07:00
Guilherme Sousa
5d06843fcf
Added custom node export
2022-10-14 17:31:00 +07:00
kobewi
072f6feaba
Make some Image methods static
2022-10-14 14:34:15 +07:00
Rémi Verschelde
736a2df437
Merge pull request #67244 from RandomShaper/split_render_further_2
...
Polish rendering driver refactor further (take 2)
2022-10-11 21:08:42 +07:00
Pedro J. Estébanez
f82deaa5b3
Polish rendering driver refactor further (take 2)
2022-10-11 19:06:55 +07:00
kobewi
a3661ad079
Remove editor dependencies from ColorPicker
2022-10-11 16:09:27 +07:00
Rémi Verschelde
3a2e749a10
Merge pull request #59382 from akien-mga/editor-acceptdialog-swap-cancel-ok
...
Add editor setting for AcceptDialog OK/Cancel buttons positioning
2022-10-11 12:34:04 +07:00
bruvzg
73430f292b
[macOS] Fix window button position and title bar size when editor scale do not match OS UI scale.
2022-10-10 10:32:41 +07:00
HolonProduction
301a8fd559
Fix a bug with moving dock left and right.
...
Fixes #67039
`get_index` counts internal children by default but `move_child` ignores them therefore `move_child` had no effect.
The call to `set_current_tab` is not needed anymore in Godot 4 since the current tab will change when calling `move_child`.
2022-10-07 19:15:20 +07:00
bruvzg
0103af1ddd
Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4.
2022-10-07 11:32:33 +07:00
Rémi Verschelde
9bb05de89f
Add editor setting for AcceptDialog OK/Cancel buttons positioning
...
The position (left/right) of the Cancel and OK buttons in AcceptDialog
are DisplayServer specific, as Windows uses OK/Cancel and macOS uses Cancel/OK.
Linux/X11 currently uses the macOS convention which is also the GTK+/GNOME one,
though it's not consistent with Qt/KDE applications which follow the Windows
convention.
Since that can't satisfy everyone, it's best if it's configurable also for the
editor (it's already configurable for the project).
Fixes #59379 .
2022-10-05 17:51:04 +07:00
Rémi Verschelde
b4157cd6ac
Merge pull request #65857 from MinusKube/inherited-open-crash
...
Prevent unsaved inherited scenes from being detected as the 'placeholder' scene
2022-10-05 13:38:12 +07:00
Micky
ae5771e1b1
Rename remaining "Spatial" in Plugins to "Node3D"
...
For EditorNode3DGizmo:
- `get_spatial_node` -> `get_node_3d`
- `set_spatial_node` -> `set_node_3d`
For EditorPlugin:
- `add_spatial_gizmo_plugin` -> `add_node_3d_gizmo_plugin`
- `remove_spatial_gizmo_plugin` -> `remove_node_3d_gizmo_plugin`
Also renames some internal methods for consistency (`forward_3d_draw_over_viewport` & `forward_3d_force_draw_over_viewport` ...). Basically, Spatial has been completely eradicated.
2022-10-04 16:27:29 +07:00
Rémi Verschelde
73f5683c34
Merge pull request #58049 from jmb462/fix-distraction-mode-docks-tab
...
Prevent docks to be reset to first tab when switching dock visibility
2022-09-28 00:16:08 +07:00
Hugo Locurcio
a98e2eb36f
Fix project run/stop buttons disappearing in the editor
2022-09-26 14:53:26 +07:00
Hugo Locurcio
74b324c434
Rename editor run/pause/stop shortcuts and tooltips for consistency
...
The new naming better suits non-game applications and is more explicit.
2022-09-25 20:17:58 +07:00
bruvzg
0dab11afa4
[macOS extend-to-title] Add scene/project name to the editor title, fix incorrect window button position/order when system primary language is RTL.
2022-09-22 23:09:56 +07:00
Rémi Verschelde
e82a237f99
Merge pull request #65934 from YuriSizov/editor-theme-big-thumb
...
Improve icon generation in the editor theme
2022-09-21 18:55:33 +07:00
Hugo Locurcio
375ea5558a
Fix error string referring to invalid metadata name in Movie Maker dialog
2022-09-20 14:53:19 +07:00
bruvzg
0ed4cc6287
[macOS] Add an option to align window buttons in "extend to title" mode.
2022-09-20 12:55:59 +07:00
Rémi Verschelde
7da532275b
Merge pull request #65541 from clayjohn/renderer-setting
...
Split rendering driver project setting into renderer_name and rendering_driver
2022-09-20 09:43:59 +07:00
clayjohn
4a1c7de57c
Split rendering driver project setting into renderer_name and rendering_driver. To differentiate between a driver (e.g. Vulkan or D3D12) and a renderer (e.g. clustered or mobile renderer).
2022-09-19 10:26:10 +07:00
Rémi Verschelde
e5594c26b1
Merge pull request #44143 from KoBeWi/callable_multiplayer
2022-09-18 13:47:04 +07:00
Tomasz Chabora
882a4f8906
Port remaining connections to callable_mp
2022-09-18 13:08:54 +07:00
Rémi Verschelde
c6e5c76536
Merge pull request #65561 from ryburnj/inconsistent-cap-scene-file-name
...
Fix inconsistent scene file name casing
2022-09-18 10:49:00 +07:00
ryburnj
9d6af9323a
Fix inconsistent scene file name casing by moving existing Name_Casing code to separate function in editor_node, and adding a call from both editor_node and scene_tree_dock.
2022-09-18 11:17:22 +07:00
kobewi
6cec00b099
Remove unused _clear_undo_history method
2022-09-17 21:03:04 +07:00
Yuri Sizov
02572f2c62
Improve icon generation in the editor theme
2022-09-16 23:34:01 +07:00
MinusKube
5f8293db54
Prevent unsaved inherited scenes from being detected as the 'placeholder' scene
2022-09-16 02:09:54 +07:00
Rémi Verschelde
85cd6960c6
Merge pull request #65494 from V-Sekai/fix_inspect_command_context
2022-09-14 14:44:03 +07:00
Fredia Huya-Kouadio
9d5e48f873
Disable menus and functionality that are not relevant on the Android Editor port
2022-09-13 20:48:33 +07:00
Rémi Verschelde
b52305351d
Merge pull request #64465 from TokageItLab/bind-after-gui-input
...
Bind `AfterGUIInput` to GDScript and update document
2022-09-10 20:01:48 +07:00
Rémi Verschelde
24ce46e2a1
Merge pull request #64938 from YuriSizov/editor-scaled-icons
2022-09-09 16:52:32 +07:00
Rémi Verschelde
7a317b1314
Merge pull request #65520 from V-Sekai/remote_objects_no_read_only
2022-09-09 09:08:42 +07:00
SaracenOne
3c2e7b38cd
Remove read-only status from EditorDebuggerRemoteObject
2022-09-08 14:34:31 +07:00
Rémi Verschelde
05896cc579
Merge pull request #65504 from KoBeWi/close_before_saving
2022-09-08 13:17:34 +07:00
Silc Renew
3c7a5fd8ac
bind AfterGUIInput
2022-09-08 20:02:48 +07:00
Rémi Verschelde
69233093d7
Merge pull request #65241 from bruvzg/no_keymap_ambiguity
...
Fix key mapping changes when moving from macOS to other platform.
2022-09-08 09:24:24 +07:00
Rémi Verschelde
7936b3cc4c
Merge pull request #60108 from KoBeWi/arise_to_top
...
Rename raise() to move_to_front()
2022-09-08 09:23:31 +07:00
Rémi Verschelde
df5a356e6c
Merge pull request #65501 from m4gr3d/fix_invalid_project_manager_path_main
...
Fix issue causing the project manager to crash because of missing path argument
2022-09-08 09:19:25 +07:00
kobewi
14266d8e66
Ask before closing with unsaved resources
2022-09-08 01:02:08 +07:00
Fredia Huya-Kouadio
cd544fd86b
Fix issue causing the project manager to crash because of missing path argument
...
In the process, the initialization logic is updated to show an error message and gracefully close the engine when setup errors occur.
2022-09-07 14:21:34 +07:00
Yuri Sizov
817d4db21f
Allow images to be imported "for editor use" and respect editor settings
2022-09-07 23:31:31 +07:00
bruvzg
6f4d233062
Fix key mapping changes when moving from macOS to other platform
...
Removes separate `Command` key (use `Meta` instead).
Adds an event flag to automatically remap `Command` <-> `Control` (cannot be set alongside `Control` or `Meta`).
2022-09-07 18:45:35 +07:00
smix8
d7f75fab60
Remove / Replace old Navigation Debug Visualization
...
- removes / replaces leftovers from old navigation debug code
- cleanes SceneTree and ProjectSettings from old navigation debug
2022-09-07 18:30:35 +07:00
Rémi Verschelde
2b6e043491
Merge pull request #58617 from KoBeWi/custom_something
...
Improve handling of custom types
2022-09-07 17:54:17 +07:00
SaracenOne
1e99c13de2
In inspector, show 'edit' button instead of 'inspect' when resource is part of an editable scene.
2022-09-07 10:14:06 +07:00
Rémi Verschelde
61644f1dbe
Merge pull request #65447 from Faless/net/4.x_ssl_to_tls
...
[Net] Rename StreamPeerSSL to StreamPeerTLS.
2022-09-07 09:19:46 +07:00
Fabio Alessandrelli
528e791a5f
[Net] Rename StreamPeerSSL to StreamPeerTLS.
...
SSL has been deprectated almost 10 years ago.
2022-09-07 07:38:50 +07:00
Yuri Sizov
1459507ed2
Rename EditorInterface.get_editor_main_control to get_editor_main_screen
2022-09-07 03:01:58 +07:00
kobewi
b218727599
Rename raise() to move_to_front()
2022-09-06 22:13:06 +07:00
kobewi
a3309215c2
Improve handling of custom types
2022-09-05 23:08:28 +07:00
FireForge
6e8dc5130d
Various editor UI fixes (bottom panel corner radius and scene tab bar)
...
- Fix top corners of bottom panel not having rounded corners
- Fix scene tab bar background expanding vertically by corner radius
- Remove two unneccesary theme items from the editor theme:
- EditorStyles/SceneTabFG
- EditorStyles/SceneTabBG
- Remove an instance where the scene TabBar was having its styleboxes overriden to the default value, which has no effect.
2022-09-05 15:11:57 +07:00
kobewi
78ad5e4305
Remove middle click shortcut to open scene tab
2022-09-04 00:50:17 +07:00
Rémi Verschelde
c82bbc38a5
Merge pull request #64952 from Chaosus/vs_rename_uniform_to_param
2022-09-02 13:49:53 +07:00
Rémi Verschelde
2e0cffdb6f
Merge pull request #63479 from DarkKilauea/nav-link
2022-09-01 23:44:22 +07:00
Rémi Verschelde
181019cea5
Merge pull request #65135 from reduz/export-customization-plugins
2022-09-01 23:43:39 +07:00
Rémi Verschelde
027415312e
Merge pull request #65132 from bruvzg/global_menu_shortcuts_context
2022-09-01 17:02:04 +07:00
Juan Linietsky
ef17c4668a
Add support for scene/resource customization in export plugins
...
EditorExportPlugin adds a set of callbacks to allow customizing scenes, resources or subresources in all files exported:
* Can take scene files, resource files and subresources in all of them.
* Uses a cache for the converted files if nothing changes, so this work only happens if a file is modified.
* Uses hashing to differentiate export configuration caches.
* Removed the previous conversion code to binary, as this one uses existing stuff.
This API is useful in several scenarios:
* Needed by the "server" export platform to get rid of textures, meshes, audio, etc.
* Needed by text to binary converters.
* Needed by eventual optimizations such as shader precompiling on export, mesh merging and optimization, etc.
This is a draft, feedback is very welcome.
2022-09-01 11:16:00 +07:00
Yuri Rubinsky
8191b3c110
Rename `uniform` to `parameter` across the engine
2022-09-01 11:42:57 +07:00
bruvzg
b85a4c5d79
[macOS] Handle accelerator and click events of the global menu items separately.
2022-09-01 08:13:56 +07:00
clayjohn
385ee5c70b
Implement Physical Light Units as an optional setting.
...
This allows light sources to be specified in physical light units in addition to the regular energy multiplier. In order to avoid loss of precision at high values, brightness values are premultiplied by an exposure normalization value.
In support of Physical Light Units this PR also renames CameraEffects to CameraAttributes.
2022-08-31 12:14:46 +07:00
RedMser
96bdcfd447
Fix #65122 : disambiguate_filenames freeze
2022-08-31 13:36:47 +07:00
Rémi Verschelde
36a5160ad7
Merge pull request #62157 from ChronicallySerious/front-port-vcs-plugin
...
VCS: Port Godot 3.5's VCS features to GDExtension
2022-08-31 07:38:42 +07:00
Rémi Verschelde
292b94b97c
Merge pull request #65089 from YuriSizov/editor-launch-bar-with-style
...
Improve style and add contextual highlight to the editor launch pad
2022-08-30 21:18:41 +07:00
Twarit Waikar
a62b0ec904
VCS: Improve VCS UI/UX by QoL changes
...
The editor will now use the project path i.e. the place where the root of
the repo is supposed to be according to the user. This project path is
also sent into the plugin and so out-of-directory asset folders can also be
maintained this way.
2022-08-31 00:27:08 +07:00
Rémi Verschelde
de5f13e935
Merge pull request #63552 from RedMser/file-dialog-disambiguate
...
EditorFileDialog: disambiguate recent/favorite items
2022-08-30 20:24:38 +07:00
Rémi Verschelde
e27b61d291
Merge pull request #65042 from YuriSizov/editor-docks-tabbar-bg
2022-08-30 18:53:54 +07:00
RedMser
a401c4e6ac
EditorFileDialog: disambiguate recent/favorite items
...
Similar to script editor, if two folders have the same name, they will
now get a more descriptive name in the item list.
2022-08-30 17:18:47 +07:00
Yuri Sizov
a462d6e402
Improve style and add contextual highlight to the editor launch pad
2022-08-30 18:10:45 +07:00
Rémi Verschelde
02d510bd07
Merge pull request #63003 from Geometror/msaa-2d
2022-08-30 14:54:20 +07:00
Rémi Verschelde
ae349d8227
Merge pull request #64377 from Mickeon/rename-canvas-redraw
...
Rename `CanvasItem.update()` to `queue_redraw()`
2022-08-30 14:47:41 +07:00
Danil Alexeev
d4555ef5fb
Add `String.to_{camel,pascal,snake}_case` methods
2022-08-30 12:36:24 +07:00
Aaron Franke
10a56981dc
Rename String `plus_file` to `path_join`
2022-08-29 19:38:13 +07:00
Yuri Sizov
8b196be855
Add background to TabContainer's tabbar and editor docks
2022-08-29 23:43:32 +07:00
Micky
e31bb5ffeb
Rename `CanvasItem.update()` to `queue_redraw()`
...
Affects a lot of classes. Very thoroughly checked signal connections and deferred calls to this method, add_do_method/add_undo_method calls, and so on.
Also renames the internal `_update_callback()` to `_redraw_callback()` for consistency.
Just a few comments have also been changed to say "redraw".
In CPUParticles2D, there was a private variable with the same name. It has been renamed to `do_redraw`.
2022-08-29 14:59:47 +07:00
kobewi
f42cd7f83f
Add history dock
2022-08-29 04:29:22 +07:00
Rémi Verschelde
006915b482
Merge pull request #64961 from faisal-alam09/Bugfix-#64836-Placeholder-scene-tab-not-removed-when-new-scene-created
...
Added a placeholder tab check before creating a new scene.
2022-08-28 18:06:44 +07:00
faisal-alam09
ed54a7be3d
Added a placeholder tab check before creating a new scene.
2022-08-28 01:11:48 +07:00
Josh Jones
3dd59013f4
Added node for Navigation links
2022-08-26 22:05:15 +07:00
Micky
ef5b9a06a9
Rename `hint_tooltip` to `tooltip_text` & setget
...
`hint_tooltip` -> `tooltip_text`
`set_tooltip` -> `set_tooltip_text`
`_get_tooltip` -> `get_tooltip_text`
Updates documentation, too.
2022-08-27 01:35:01 +07:00
bruvzg
bc4ba6cb78
[macOS] Extend editor contents to the window titlebar for better space usage.
2022-08-26 15:12:43 +07:00
Rémi Verschelde
9f48db16c2
Merge pull request #58665 from KoBeWi/run_current_forever
...
Improve scene playing and reloading
2022-08-26 10:36:05 +07:00
Micky
723bf85145
Rename ParticlesMaterial to ParticleProcessMaterial
...
Also affects their file names, related classes and documentation.
2022-08-26 02:53:08 +07:00
kobewi
8328fb56f4
Improve scene playing and reloading
2022-08-25 21:54:25 +07:00
Yuri Sizov
c78cbb523f
Extract editor color map and simplify SVG color conversion
2022-08-24 15:59:14 +07:00
SaracenOne
dd814a0dca
Disable editing properties in foreign resources
...
from imported scenes or objects returning
true from a function named '_is_read_only' and
disable resaving imported resources.
2022-08-23 23:16:13 +07:00
Rémi Verschelde
b8a64313f0
Merge pull request #59564 from KoBeWi/FINALLY,_ULTIMATE_UNDO_REDO
2022-08-22 22:37:33 +07:00
Rémi Verschelde
7c85c4a27e
Merge pull request #64374 from RandomShaper/inheritable_cl_args
2022-08-22 21:48:28 +07:00
kobewi
ece3df3938
Add per-scene UndoRedo
2022-08-22 18:05:10 +07:00
Juan Linietsky
a3936adb29
Add Startup benchmarking support
...
This adds support for benchmarking engine startup (and editor startup if used).
The goal is to use this in the benchmarking server to track improvements and changes to engine, editor, importer and scene loading startup times.
2022-08-19 14:21:43 +07:00
Pedro J. Estébanez
e886d662ec
Overhaul CLI argument forwarding to processes started by the editor
2022-08-19 11:15:56 +07:00
Max Hilbrunner
420a8c888e
Merge pull request #63950 from bruvzg/menu_bar3
...
Implement MenuBar control to wrap Popup menus or native menu, use native menu for editor.
2022-08-19 01:24:24 +07:00
Clay John
d60db2dba8
Merge pull request #64468 from aaronfranke/editor-prop-visual-shader-mode
...
Rename `EditorPropertyShaderMode` to `EditorPropertyVisualShaderMode`
2022-08-18 14:14:12 +07:00
bruvzg
8c56a7416b
Implement `MenuBar` control to wrap `PopupMenu`s or native menu, use native menu for editor.
2022-08-18 22:25:44 +07:00
Yuri Sizov
9bb6cc591c
Merge pull request #62298 from Diddykonga/select_current_save
...
[Editor]: Allow `Select Current` to Save Scenes
2022-08-18 22:11:22 +07:00
Aaron Franke
4396f03b70
Rename EditorPropertyShaderMode to EditorPropertyVisualShaderMode
2022-08-15 14:39:53 +07:00
Hendrik Brucker
e96b1a2c0c
Implement MSAA for 2D [Vulkan only]
2022-08-13 01:09:48 +07:00
Rémi Verschelde
d100c2d59f
Merge pull request #63776 from fire-forge/shapecast2d
...
Add ShapeCast2D editor handle and improve debug drawing
2022-08-06 00:27:41 +07:00
Rémi Verschelde
2d372d9e10
Merge pull request #56442 from PucklaMotzer09/remap_files_moved
2022-08-03 16:57:26 +07:00
PucklaMotzer09
b32b570d7a
Show dependency warning when removing remaps and fallback if translation
...
remap does not exist
2022-08-03 12:31:29 +07:00
Hugo Locurcio
813bfe00f3
Don't replace RootMotionView with Node in a running project
...
This behavior was inconsistent with other editor-only nodes such as
Position3D, Position2D and ReferenceRect. It also caused issues when
a script extended RootMotionView as it ceased to work when the project
was run.
2022-08-03 02:48:02 +07:00
PucklaMotzer09
897d02e2a0
Change translation remaps if files are moved
2022-08-02 12:36:40 +07:00
Alfred R. Baudisch
eaaedb24a3
Display sub-plugins when Stay in Script Editor is On
...
Currently, with stay_in_script_editor_on_node_selected as On, inspector_only is forcibly set, and no editors from the node selected are displayed.
With this change, if the selected Node has a Main Editor, it's still not shown (the intended behaviour of the feature), but the sub-editors are shown, this correctly opens the AnimationPlayerEditor plugin and other sub-plugins.
Fixes and closes #63621 .
2022-08-02 09:51:44 +07:00
FireForge
7cfa9ae539
Improve ShapeCast2D editor and debug drawing
...
- Rename RayCast2DEditorPlugin to Cast2DEditorPlugin and make it also support editing ShapeCast2D.
- Apply RayCast2D debug drawing improvements from #46675 to ShapeCast2D.
2022-07-31 17:47:36 +07:00
Yuri Sizov
9f55bd971e
Extract EditorResourceConversionPlugin into its own source files and clean up editor includes
2022-07-31 21:14:15 +07:00
Hugo Locurcio
4b478c2854
Use a PackedStringArray for the "open in new inspector" editor setting
...
This is safer and provides a more convenient array editor for users.
2022-07-30 21:00:22 +07:00
kobewi
c3606cb5f3
Swap arguments of ResourceSaver.save()
2022-07-29 19:53:09 +07:00
Rémi Verschelde
ba3734e69a
Merge pull request #63603 from aaronfranke/editor-paths
...
Move editor paths into the EditorPaths class
2022-07-29 19:31:59 +07:00
Rémi Verschelde
7199314eb3
Merge pull request #63595 from reduz/remove-signal-connect-binds
...
Remove Signal connect binds
2022-07-29 18:10:39 +07:00
Aaron Franke
ac870ab1c8
Move editor paths into the EditorPaths class
2022-07-29 11:07:30 +07:00
Juan Linietsky
d4433ae6d3
Remove Signal connect binds
...
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind().
Changed all uses of it to Callable.bind()
2022-07-29 16:26:13 +07:00
Rémi Verschelde
8b454f8b41
Merge pull request #62601 from smix8/navigation_3d_debug_4.x
2022-07-29 12:29:32 +07:00
smix8
c394ea518e
Add more detailed Navigation Debug Visualization
...
- Adds more customization options to ProjectSettings.
- Displays navregion edge connections and navigation polygon edges in editor and at runtime.
- Majority of debug code moved from SceneTree to NavigationServer.
- Removes the irritating debug MeshInstance child node from NavigationRegion3D and replaces it with direct RenderingServer API.
2022-07-29 09:58:41 +07:00
Rémi Verschelde
14d021287b
Merge pull request #63049 from Faless/mp/4.x_as_module
2022-07-28 20:46:31 +07:00
Hugo Locurcio
4b42379c8f
Rename RenderingServer global shader uniform methods to be more explicit
...
The `global_shader_uniform` name is longer, but it makes it much
easier to find the methods when searching in the class reference.
2022-07-28 18:46:59 +07:00
Rémi Verschelde
f3fbb157ca
Merge pull request #63121 from aaronfranke/editor-export-split
2022-07-27 11:19:40 +07:00
Pedro J. Estébanez
116f03a1b6
Keep crash handler status on editor restart
2022-07-26 19:07:06 +07:00
Aaron Franke
006e5f28d5
Move project export and export template manager into export folder
2022-07-26 08:28:29 +07:00
Aaron Franke
e53ae13178
Split up editor export code into multiple files
2022-07-26 08:28:19 +07:00
Rémi Verschelde
1d9e1ac143
Merge pull request #63344 from alfredbaudisch/feature-select-node-toggle-inspector-only
2022-07-26 10:27:31 +07:00
Fabio Alessandrelli
ca7d572908
[Net] Modularize multiplayer, expose MultiplayerAPI to extensions.
...
- RPC configurations are now dictionaries.
- Script.get_rpc_methods renamed to Script.get_rpc_config.
- Node.rpc[_id] and Callable.rpc now return an Error.
- Refactor MultiplayerAPI to allow extension.
- New MultiplayerAPI.rpc method with Array argument (for scripts).
- Move the default MultiplayerAPI implementation to a module.
2022-07-26 09:31:12 +07:00