A Thousand Ships
4ed62665a2
Replace .bind(...).call_deferred()
with .call_deferred(...)
2024-05-27 13:29:57 +02:00
Hugo Locurcio
57f52092c3
Add Ctrl + R keyboard shortcut to restart particle emission in the editor
...
Restarting particle animation frequently is often done in the VFX
tweaking process.
This shortcut is available for both GPUParticles and CPUParticles,
in 2D and 3D.
2024-05-22 18:42:04 +02:00
kobewi
e065d7132a
Remove duplicate shortcut definitions
2024-05-21 23:28:49 +02:00
Rémi Verschelde
9f4dbc6456
Merge pull request #91930 from godotengine/revert-90608-editor/enable-plugin-after-adding
...
Revert "Enable `EditorPlugin` added by modules and GDExtensions"
2024-05-15 20:21:32 +02:00
A Thousand Ships
ee79386f7b
[Scene] Add SceneStringNames::pressed
2024-05-14 15:51:28 +02:00
Raul Santos
a8e9dfdcf2
Revert "Enable EditorPlugin
added by modules and GDExtensions"
2024-05-14 07:11:34 +02:00
kobewi
413c11357d
Use Core/Scene stringnames consistently
2024-05-13 23:41:07 +02:00
Rémi Verschelde
0ebba3023e
Merge pull request #91435 from ajreckof/Fix-selecting-root-when-opening-scene-
...
Fix selecting root when opening scene.
2024-05-13 12:05:39 +02:00
ajreckof
0ab5d37049
Fix selecting root when opening scene.
2024-05-12 21:46:21 +02:00
Rémi Verschelde
a9a1d0a162
Merge pull request #91619 from AThousandShips/find_improve
...
Replace `find` with `contains/has` where applicable
2024-05-08 14:35:44 +02:00
Rémi Verschelde
b8255b148f
Merge pull request #91555 from AlexanderFarkas/master
...
Remove error messages caused by Save on Focus feature
2024-05-08 14:35:37 +02:00
Rémi Verschelde
0fcd30180f
Merge pull request #91039 from timothyqiu/dock-icons
...
Allow setting editor dock tabs to icon only
2024-05-08 14:35:29 +02:00
AlexanderFarkas
bc19b79776
Remove error messages caused by Save on Focus feature
...
Fixes #73765 .
2024-05-08 13:42:45 +03:00
A Thousand Ships
a0dbdcc3ab
Replace find
with contains/has
where applicable
...
* Replaces `find(...) != -1` with `contains` for `String`
* Replaces `find(...) == -1` with `!contains` for `String`
* Replaces `find(...) != -1` with `has` for containers
* Replaces `find(...) == -1` with `!has` for containers
2024-05-08 12:37:42 +02:00
A Thousand Ships
955d5affa8
Reduce and prevent unnecessary random-access to List
...
Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when
accessing a single element)
* Removed subscript operator, in favor of a more explicit `get`
* Added conversion from `Iterator` to `ConstIterator`
* Remade existing operations into other solutions when applicable
2024-05-04 16:08:55 +02:00
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 +02: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 +08:00
Haoyu Qiu
1e20612940
Allow setting editor dock tabs to icon only
2024-04-30 09:34:14 +08: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 -05: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 +02: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 +02:00
风青山
b5157e0686
Make the loading scene open in the current scene tab if the current scene is empty
2024-04-16 23:04:25 +08: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 +02:00
kobewi
445302a4b2
Improve error when scene/resource is saved with newer format
2024-04-15 12:08:35 +02:00
Adam Scott
a0e644eab5
Rename Q&A to Forum in the Help top bar
2024-04-14 15:34:49 -04:00
Adam Scott
38d8abea12
Improve UX when saving newer files on disk
2024-04-14 11:36:07 -04:00
ajreckof
48a6476861
Fix going forward backward in editor selection history.
2024-04-14 17:21:11 +02:00
风青山
29ef52c8ac
Update undo redo allowed after switching scene tab
...
It has different status in different tabs.
2024-04-13 16:53:51 +08:00
Raul Santos
db763ae16e
Enable EditorPlugin
added by modules and GDExtensions
2024-04-13 06:03:59 +02: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 +02: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 +02: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 +02:00
ajreckof
248e5bfba2
Revert what needs to be reverted
2024-04-10 09:49:30 +08: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 +02:00
ajreckof
609559c074
Fix strange visual bug with camera and external change.
2024-04-07 03:49:43 +02:00
kobewi
b9c78ba174
Prevent dropping Resource to the same resource picker
2024-04-05 22:26:29 +02: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 +02: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 +02: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 +02:00
Rémi Verschelde
1dacd6a527
Merge pull request #89179 from groud/expose_tile_map_layer
...
Expose TileMapLayer
2024-04-04 14:31:16 +02: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 +02:00
ajreckof
ae472865d0
fix node duplication in update after external changes.
2024-04-03 12:19:38 +02:00
Gilles Roudière
3cd4b2859c
Expose TileMapLayer
2024-04-03 11:02:34 +02:00
SirLich
c90b2b4299
Include project->tools in command palette
2024-03-31 20:03:51 +02:00
Haoyu Qiu
23d50b1117
Strip edges of editor layout names
2024-03-31 17:43:03 +08:00
kit
860bff926e
Allow docks to be closed
2024-03-29 22:03:59 -04:00
jsjtxietian
41dce99831
Reset tab_closing_menu_option
when cancel closing editor
2024-03-28 19:22:52 +08:00
bruvzg
61f7145f43
[Native File Dialog] Add support for using native dialogs in the editor.
2024-03-28 11:53:03 +02: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 +01: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 +01: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 +01:00
kit
0c9c84f7a6
Refactor and fix issues in Editor Dock Manager
...
Extract Dock Context Menu.
2024-03-16 13:51:31 -04: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 +02: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 -04: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 +01:00
Danil Alexeev
87718d2a6e
Editor Help: Add syntax highlighting for code blocks
2024-03-09 00:02:31 +03:00
Rémi Verschelde
51bfda9446
Fix reporting exit code when command line export fails
...
Fixes #83042 .
2024-03-07 01:01:04 +01: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 -05: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 +01: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 +01: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 +01:00
bruvzg
c65a667924
Move global_menu_*
methods to a separate NativeMenu
class.
2024-03-04 23:41:41 +02: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 +01: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 -06:00
Rémi Verschelde
16bdd83ea4
Merge pull request #86705 from KoBeWi/resourception
...
Improve saving of built-in resources
2024-02-29 13:53:44 +01:00
Cass
ea3c303b7e
Modify shortcut override for closing scene on macOS
2024-02-27 14:31:17 +00:00
Rémi Verschelde
4582ee1a0f
Merge pull request #87760 from kitbdev/extract-bottom-dock
...
Extract BottomPanel from EditorNode
2024-02-23 22:18:50 +01: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 +01: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 +01: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 +01:00
cass-dev-web
87ba714a3a
Added clarity on VCS metadata creator button
2024-02-22 15:38:39 +00:00
kobewi
aeec3c1309
Add methods to add submenus without using names
2024-02-22 15:13:53 +01:00
kit
eb6ca91ba6
Extract BottomPanel from EditorNode
2024-02-20 15:09:07 -05: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 +01:00
kobewi
a031911c82
Use check_changed_settings_in_group() everywhere
2024-02-19 21:34:45 +01:00
Silc Lizard (Tokage) Renew
772a753960
Fix some animation state corruptions on activate and reset on save
2024-02-19 13:04:22 +09:00
A Thousand Ships
dde5368dee
[Editor] Add missing ellipses to menu options that open dialogs
2024-02-17 17:09:17 +01: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 +01:00
Rémi Verschelde
2c5fa95aea
Merge pull request #87530 from YeldhamDev/atr_inheritance
...
Rework the auto translation system
2024-02-17 15:54:31 +01: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 +01: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 +01: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 +01:00
David Snopek
a37ad265dc
Android: Allow using alternative Gradle build directory
2024-02-16 15:20:47 -06: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 -05:00
Michael Alexsander
7b42c24550
Make auto translation inheritable
2024-02-15 16:51:19 -03: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 +01: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 +01:00
passivestar
757a691b5e
Fix Ctrl+Tab
and Ctrl+Shift+Tab
on macOS
2024-02-15 02:49:31 +04:00
Joseph DiGiovanni
7eacb6ddbf
Add follow system theme settings
2024-02-14 15:31:21 -05:00
David Snopek
ac88acde6f
Allow export plugins to override export option values
2024-02-14 10:51:16 -06: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 +01: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 +01: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 +01:00
kobewi
8ec86e29c8
Rework how script is edited when clicking icon
2024-02-13 16:54:33 +01: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 +01: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 +01: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 +01: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 +01:00
bruvzg
32939f82f1
Fix script editor undo
shortcut with global menu enabled.
2024-01-31 07:48:58 +02:00