Michael Alexsander
5c66129e62
Allow to select multiple remote nodes at runtime
2025-03-11 12:35:41 -03:00
Thaddeus Crews
590fa90722
Merge pull request #100339 from syntaxerror247/touch-actions-panel
...
Add a `TouchActionsPanel` to Android Editor
2025-03-10 21:05:43 -05:00
A Thousand Ships
466590d0ec
Use `get_slicec` instead of `get_slice` for single character splitters
2025-03-08 20:36:37 +01:00
Thaddeus Crews
324512e11c
Style: Replace header guards with `#pragma once`
2025-03-07 17:33:47 -06:00
Thaddeus Crews
67d4a245d8
Merge pull request #103267 from YeldhamDev/reality_got_too_extended
...
Allow to compile the engine without XR support
2025-03-07 15:12:54 -06:00
Anish Mishra
e8625e70cf
Add TouchActionsPanel to Android Editor
2025-03-07 19:45:03 +05:30
A Thousand Ships
5113022dfe
Clean up some uses of `String::substr`
...
Cases where the end position is either equvalent to the default or past
the end of the string.
2025-03-07 14:50:38 +01:00
bruvzg
3e4e6e6c0c
Improve native file dialog parent window selection.
2025-03-06 17:15:39 +02:00
Michael Alexsander
aea559b39a
Allow to compile the engine without XR support
2025-02-25 17:07:21 -03:00
Hilderin
136c4c64a0
Fix Embedded Game over expanded bottom panel - Simple version
2025-02-18 17:55:47 -05:00
Rémi Verschelde
750640cede
Merge pull request #102828 from bruvzg/fd_fmap
...
Sync native and embedded dialog missing extension handling.
2025-02-13 23:35:28 +01:00
bruvzg
1bdf84b31c
Sync native and embedded dialog missing extension handling.
2025-02-14 00:15:04 +02:00
HP van Braam
0b30ecc758
Don't mark cached previously pinned AnimationMixers
...
AnimationPlayerEditor will hold on to pointers to no-longer existing
Nodes that were previously pinned. Make sure to not mark them as dirty
if they are not already inside the cache.
This fixes #102108
2025-02-13 19:57:26 +01:00
kobewi
7f0d81c433
Improve path handling in EditorQuickOpenDialog
2025-02-10 22:16:24 +01:00
AThousandShips
4b4bfe7d0e
[Editor] Prevent deferred tooltip update crash
...
Caused by `TreeItem`s being accessed after clearing the tree on reset.
2025-02-10 15:18:04 +01:00
Rémi Verschelde
ed2582e07a
Merge pull request #102553 from amarsero/double-name-set
...
Fix double `set_name` in renaming node
2025-02-10 10:49:28 +01:00
Rémi Verschelde
6caa7c66d7
Merge pull request #101598 from MewPurPur/quick-open-pt1
...
Tweak Quick Open theming
2025-02-10 10:49:06 +01:00
Agustín Marsero
1101bdb351
Fix double set_name in renaming
2025-02-08 21:21:01 +01:00
MewPurPur
779f5fb962
Tweak Quick Open theming
2025-02-07 11:41:32 +02:00
Thaddeus Crews
4f827e6190
Merge pull request #95169 from Calinou/editorspinslider-float-step-1-slider
...
Make EditorSpinSlider display a slider for floats with a step of 1.0
2025-01-31 09:15:55 -06:00
Gergely Kis
d73ebc5948
EditorToaster::popup_str() must always defer to the main MessageQueue
...
This change is required, because the implementation of call_deferred()
no longer ensures this behaviour: if a MessageQueue is created on a thread,
then that is used instead of the main MessageQueue.
2025-01-30 11:05:59 +01:00
Hugo Locurcio
57700b0563
Make EditorSpinSlider display a slider for floats with a step of 1.0
...
Integers still don't display a slider (and use up/down arrows instead),
so that they can be quickly distinguished from floats in the inspector.
However, this now makes floats with a step of 1.0 look different
from integers in the inspector.
2025-01-22 23:03:01 +01:00
Mounir Tohami
2f87b7aae0
Fix `BottomPanel` excessive width.
2025-01-19 14:21:43 +02:00
Rémi Verschelde
9da7e7d89d
Merge pull request #101163 from Synzorasize/implement_11386
...
Allow prefixing with '%' to set a node as unique in the Scene Tree Dock
2025-01-13 20:21:59 +01:00
Synzorasize
9d00a773f8
Allow prefixing with '%' to set a node as unique in the Scene Tree Dock
2025-01-13 09:38:07 -06:00
Fredia Huya-Kouadio
4bc8918c19
Add support for specifying whether to play the current scene or a specific scene in XR or regular mode
...
The functionality is only activated for the XR Editor, when a project has OpenXR enabled.
2025-01-12 22:02:24 -08:00
Pāvels Nadtočajevs
b252867145
[macOS/Windows] Add `Emoji & Symbols` context menu item to LineEdit/TextEdit to show system character picker.
2025-01-10 09:25:34 +02:00
kobewi
24eadaa6a4
Reorganize EditorNode menu options
2025-01-09 12:21:56 +01:00
Rémi Verschelde
0dcc1a37d3
Merge pull request #101094 from KoBeWi/what_if
...
Simplify scene tabs option disabling
2025-01-08 15:53:26 +01:00
kobewi
a705962d73
Simplify scene tabs option disabling
2025-01-08 00:23:52 +01:00
Rémi Verschelde
f7b9a6a8b1
Merge pull request #100091 from AeioMuch/fix_nodepath_in_history
...
Add missing cleanup of editor history & set appropriate class icon for object in it
2025-01-08 00:20:58 +01:00
Rémi Verschelde
3e53d73996
Merge pull request #101038 from KoBeWi/QuickerOpenDialog
...
Remember QuickOpenDialog history between sessions
2025-01-07 23:17:48 +01:00
Rémi Verschelde
ce6c3c5c28
Merge pull request #100556 from KoBeWi/unlimited_contextizer
...
Add more menus support to EditorContextMenuPlugin
2025-01-07 23:17:23 +01:00
AeioMuch
96e59b99ba
Cleanup editor history when opening the history menu popup & set appropriate class icon for object in it. Handle do&undo for selection when reparenting
2025-01-07 23:15:30 +01:00
bruvzg
cc1db569e1
[TextServer] Improve embedded objects handling performance.
2025-01-07 08:01:29 +02:00
Rémi Verschelde
3de10d58ff
Merge pull request #101145 from hpvb/fix-scenetree-editor-marked
...
Make sure marked nodes are reset on scene change
2025-01-06 22:49:09 +01:00
Rémi Verschelde
11f95e7feb
Merge pull request #99350 from bruvzg/fs_mime
...
Support MIME types in file dialog filters on macOS and Linux.
2025-01-06 22:46:59 +01:00
Rémi Verschelde
ae205b0fc6
Merge pull request #98926 from YeldhamDev/out_all_of_you
...
Add toggle to hide filtered out parents in the "SceneTree" dock
2025-01-06 22:46:48 +01:00
HP van Braam
7ce9c339b3
Make sure marked nodes are reset on scene change
...
The performance improvement on the SceneTreeEditor caused the previous
state of the SceneTreeEditor::marked HashSet to matter, when it
previously was always just overwritten when markings changed. The old
code thus had no reason to ever clear the marking list.
We now make sure that whether the SceneTreeEditor is hidden or not that
when the edited scene changes we always reset the entire state of the
editor, including the marked HashSet.
2025-01-05 01:58:14 +01:00
Pāvels Nadtočajevs
e1f129cb52
Support MIME types in file dialog filters on macOS and Linux.
2025-01-04 22:05:35 +02:00
kobewi
e167f4df37
Remember QuickOpenDialog history between sessions
2025-01-03 11:51:28 +01:00
Ricardo Subtil
b77aa473a1
Implement a "Recovery Mode" for recovering crashing/hanging projects during initialization
2025-01-03 10:50:15 +00:00
Rémi Verschelde
e13facfa72
Merge pull request #100679 from hakro/quick_open_context_menu
...
Add a context menu to quick open dialog
2025-01-03 00:48:51 +01:00
hakro
cf8376ba1f
Add a context menu to quick open dialog
2025-01-02 20:05:51 +01:00
Thaddeus Crews
b98eeb3899
Merge pull request #99096 from kitbdev/bottom_panel_force_switch
...
Make bottom panel switch when pinned and removed
2024-12-30 08:58:55 -06:00
Michael Alexsander
38ff1500c7
Add toggle to hide filtered out parents in the "SceneTree" dock
2024-12-24 13:43:01 -03:00
A Thousand Ships
a1846b27ea
Improve use of `Ref.is_null/valid`
...
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
Yufeng Ying
73d85f46c9
Remove unused headers in scene.
...
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:09 +08:00
Rémi Verschelde
91e72100e9
Merge pull request #100670 from hpvb/fix-100666
...
Don't recursively call `_update_tree`
2024-12-20 23:57:43 +01:00
Rémi Verschelde
86094a88ef
Merge pull request #100648 from aryan-11825114/fix-profiler-autostart-indicator-going-to-wrong-debugger
...
Fix autostart indicator going to wrong debugger
2024-12-20 23:57:24 +01:00
Rémi Verschelde
a11364d1e6
Merge pull request #99010 from Hilderin/embedding-game-process
...
Embed game process in editor
2024-12-20 23:56:43 +01:00
HP van Braam
62cff66383
Don't recursively call _update_tree
...
When a node was previously selected and the test "selected == p_node"
was true the code would use set_selected() to change the selection to
nullptr. However, if the tree is dirty, which is always true in this
codepath, this would lead to a recursive call to _update_tree()
ultimately leading to a crash due to us running out of stack.
This fixes #100666
2024-12-20 23:01:44 +01:00
aryan-11825114
b3e15af8ad
Fix autostart indicator going to wrong debugger
2024-12-20 14:25:57 +05:30
Thaddeus Crews
6c04997d0d
Merge pull request #100596 from bruvzg/flt_upd
...
[EditorFileDialog] Do not update file selection on filter change if nothing was previously selected.
2024-12-19 20:00:16 -06:00
Thaddeus Crews
ddf6e9e3eb
Merge pull request #100595 from bruvzg/win_drv_letter
...
[Windows, FileDialog] Prepend drive letter to the absolute paths without drive letter.
2024-12-19 20:00:15 -06:00
Thaddeus Crews
d48ada19e2
Merge pull request #81892 from aaronfranke/scene-editor-warn-root-transform
...
Add a warning for when the scene root node is transformed
2024-12-19 20:00:04 -06:00
bruvzg
348ee200f8
[EditorFileDialog] Do not update file selection on filter change if nothing was previously selected.
2024-12-19 10:01:26 +02:00
bruvzg
b9a00feb66
[Windows, FileDialog] Prepend drive letter to the absolute paths without drive letter.
2024-12-19 09:47:46 +02:00
Hilderin
9d2a4c03be
Embedding game process in editor
2024-12-18 17:52:42 -05:00
kobewi
ba54a2805a
Add more menus support to EditorContextMenuPlugin
2024-12-18 21:30:45 +01:00
Aaron Franke
e1429cd7d3
Add a warning for when the scene root node is transformed
2024-12-17 23:47:15 -08:00
Haoyu Qiu
bf4e5cca3f
Make editor's shortcut names translated on-site
2024-12-18 13:00:30 +08:00
Thaddeus Crews
7efe038eed
Merge pull request #97492 from Geometror/profiler-autostart-indicator
...
Add profiler autostart indicator to EditorRunBar
2024-12-16 12:09:59 -06:00
Rémi Verschelde
08508d2e01
Merge pull request #99700 from hpvb/scene_tree_editor_performance
...
Improve Scene Tree editor performance
2024-12-16 17:16:00 +01:00
Hendrik Brucker
9f8bbe43ee
Add profiler autostart indicator to EditorRunBar
2024-12-16 10:15:24 +01:00
HP van Braam
6f7525c396
Improve Scene Tree editor performance
...
We now cache the Node*<>TreeItem* mapping in the SceneTreeEditor. This
allows us to make targeted updates to the Tree used to display the scene
tree in the editor.
Previously on almost all changes to the scene tree the editor would
rebuild the entire widget, causing a large number of deallocations an
allocations. We now carefully manipulate the Tree widget in-situ saving
a large number of these allocations.
In order to know what Nodes need to be updated we add a
editor_state_changed signal to Node, this is a TOOLS_ENABLED,
editor-only signal fired when changes to Node happen that are relevant
to editor state.
We also now make sure that when nodes are moved/renamed we don't check
expensive properties that cannot contain NodePaths. This saves a lot of
time when SceneTreeDock renames a node in a scene with a lot of
MeshInstances. This makes renaming nodes go from ~27 seconds to ~2
seconds on large scenes.
SceneTreeEditor instances will now also not do all of the potentially
expensive update work if they are invisible. This behavior is turned off
by default so it won't affect existing users. This change allows the
editor to only update SceneTreeEditors that actually in view. In
practice this means that for most changes instead of updating 6
SceneTreeEditors we only update 1 instantly, and the others only when
they become visible.
There is definitely more that could be done, but this is already a
massive improvement. In complex scenes we see an improvement of 10x,
things that used to take ~30 seconds now only take 2.
This fixes #83460
I want to thank KoBeWi, TokisanGames, a-johnston, aniel080400 for
their tireless testing. And AeioMuch for their testing and providing a
fix for the hover issue.
2024-12-12 22:47:05 +01:00
Timo Schwarzer
11bf2da9de
Improve editor file dialog options
2024-12-11 15:11:34 +01:00
Chaosus
9a8d6628de
[Scene] Add `SceneStringName::hover`
2024-12-11 11:11:25 +03:00
Chaosus
ba39b078f5
[Scene] Add `SceneStringName::FlatButton`
2024-12-10 11:12:26 +03:00
Lukas Tenbrink
b5c31ebb41
Add contains_char() for single-character 'contains' calls.
2024-12-06 20:23:35 +01:00
Haoyu Qiu
1ef3bd5768
Fix UI inconsistencies in EditorFileDialog's toolbar
...
- Sort button has different stylebox compared to others
- The top toolbar has a separator on the right side when in open mode
- Update fav up/down buttons when fav list changes
2024-12-05 16:56:59 +08:00
Thaddeus Crews
44cda51110
Merge pull request #98812 from bruvzg/macos_bundles_as_file
...
[macOS] Handle bundles as files in the embedded file dialogs.
2024-12-03 14:41:07 -06:00
bruvzg
d5e599f77e
[macOS] Handle bundles as files in the embedded file dialogs.
2024-12-03 12:41:52 +02:00
Pāvels Nadtočajevs
6a331dafe1
Fix native file dialog filter selection in save dialogs.
2024-12-02 18:38:53 +02:00
Rémi Verschelde
aab12fd273
Merge pull request #99652 from bruvzg/fd_cd_win
...
[Windows] Fix root and current folder in native file dialog.
2024-12-02 17:20:27 +01:00
Rémi Verschelde
60e1490df1
Merge pull request #99644 from bruvzg/fd_all_name
...
Change file dialog all files filter name from `All Files (*)` to `All Files (*.*)`.
2024-12-02 17:20:23 +01:00
Pāvels Nadtočajevs
b248d66265
[macOS] Use native window drag for the custom editor title bars.
2024-12-02 17:40:27 +02:00
Rémi Verschelde
d05323793f
Merge pull request #98778 from jaydensipe/add-copy-to-toast
...
Add copy button to toast notification
2024-12-02 15:50:48 +01:00
A Thousand Ships
af56d6e8e8
Use `SceneStringName` in more places
2024-12-02 14:39:16 +01:00
Jayden Sipe
81a7a2c50c
Add copy to toast notification
2024-11-30 14:51:50 -05:00
Rémi Verschelde
f668ecb875
Merge pull request #98745 from yahkr/fix-unique-icon-text
...
[Editor] Update SceneUniqueName button text for clarity
2024-11-29 22:46:46 +01:00
Rémi Verschelde
bfa38e463c
Merge pull request #98022 from vPumpking/editor_file_dialog_filter_master
...
Unify filter feature and improve space management for EditorFileDialog
2024-11-29 22:46:18 +01:00
Rémi Verschelde
8de2abd075
Merge pull request #85789 from DevilboxGames/FileDialogCaseSensitivity
...
Make `FileDialog` filtering case insensitive
2024-11-29 22:45:32 +01:00
Thaddeus Crews
9e259ef061
Merge pull request #97884 from passivestar/list-variations
...
Add theme type variations for secondary Trees and ItemLists
2024-11-27 10:47:14 -06:00
bruvzg
e0b4f3d314
[Windows] Fix root and current folder in native file dialog.
...
Co-authored-by: RedMser <redmser.jj2@gmail.com>
2024-11-25 15:00:25 +02:00
Pāvels Nadtočajevs
1d43fa9a64
Change file dialog all files filter name from `All Files (*)` to `All Files(*.*)`.
2024-11-24 20:09:05 +02:00
yahkr
8f5b11ac25
[Editor] Update SceneUniqueName button text when disabled to clarify access.
2024-11-24 12:26:13 -05:00
vPumpking
0542bccee0
Improve space management for EditorFileDialog
...
Move buttons related to the file view on the container above so that they take less horizontal space and make search bar similar to the one in FileDialog
2024-11-22 18:59:03 +01:00
Thaddeus Crews
e4dbba94d9
Merge pull request #99324 from TokageItLab/fix-fpe-spinner
...
Fix spinner in AnimationTrackEdit in FPS mode
2024-11-19 15:20:10 -06:00
passivestar
0ff5d5fd04
Add theme type variations for secondary Trees and ItemLists
2024-11-19 18:33:30 +04:00
A Thousand Ships
68f638cf02
Use `(r)find_char` instead of `(r)find` for single characters
2024-11-17 10:02:18 +01:00
Silc Lizard (Tokage) Renew
e283fdfb59
Fix spinner in AnimationTrackEdit in FPS mode
2024-11-17 01:54:06 +09:00
Pāvels Nadtočajevs
f5fad7592f
Use processed filter list for native dialogs.
2024-11-15 12:08:33 +02:00
Pāvels Nadtočajevs
932b2269f8
Fix missing native file dialog title translation.
2024-11-14 14:48:52 +02:00
kobewi
ad8ede2411
Restore original root name if renaming instance to empty
2024-11-12 20:29:10 +01:00
Thaddeus Crews
646cef2ca2
Merge pull request #98680 from jaydensipe/expose-toast-notification-methods
...
Expose `get_editor_toaster` method to `EditorInterface`
2024-11-12 12:13:22 -06:00
Thaddeus Crews
9374e8da32
Merge pull request #97946 from WhalesState/editor-spin-slider
...
Fix `EditorSpinSlider` grabber `TextureRect` doesn't follow parent when scrolling.
2024-11-12 09:27:42 -06:00
Jayden Sipe
722d932466
Expose toast notification methods
2024-11-11 19:39:33 -05:00
kit
32a5b5b558
Make bottom panel switch when pinned and removed
2024-11-11 18:22:33 -05:00
Thaddeus Crews
cea186af2a
Merge pull request #98797 from KoBeWi/toastkill_f
...
Close toasts instantly when Close button is pressed
2024-11-11 14:18:38 -06:00
Thaddeus Crews
563355637e
Merge pull request #97722 from dustdfg/fix_wrong_groups_tooltip
...
Fix tooltip message of button that opens groups/signals dock
2024-11-11 14:18:13 -06:00
Michael Alexsander
bb07b2d619
Add a lock toggle to prevent involuntary bottom editor switching
2024-11-11 12:09:57 -03:00
kobewi
cb7304662b
Close toasts instantly when Close button is pressed
2024-11-10 21:23:48 +01:00
Thaddeus Crews
0f5f3bc954
Merge pull request #98558 from jasonmorgado/add-track-filter
...
Add type filters to AnimationPlayer's "Add Track"
2024-11-10 12:13:10 -06:00
Thaddeus Crews
297ceda96d
Merge pull request #98794 from KoBeWi/programming_a_toaster_aka_internet_of_things
...
Improve EditorToaster code
2024-11-10 12:13:00 -06:00
Thaddeus Crews
63838c936c
Merge pull request #98278 from a-johnston/fuzzy-search-rebase
...
Add fuzzy string matching to quick open search
2024-11-10 12:12:56 -06:00
Jason Morgado
d5176757c0
Add type filters to AnimationPlayer's "Add Track"
...
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-Authored-By: Tomek <kobewi4e@gmail.com>
2024-11-09 10:14:06 -05:00
Felix Yuan
f491d2fe24
Don't try to move selection if there are no visible elements
2024-11-09 01:29:44 -08:00
Thaddeus Crews
89a311205f
Style: Apply `clang-tidy` fixes
...
• `modernize-use-default-member-init` and `readability-redundant-member-init`
• Minor adjustments to `.clang-tidy` to improve syntax & remove redundancies
2024-11-04 12:11:06 -06:00
kobewi
025976dc45
Improve EditorToaster code
2024-11-03 14:16:22 +01:00
Thaddeus Crews
696ca9db3c
Merge pull request #98039 from aaronfranke/button-icon
...
Rename internal Button `*_icon` functions to `*_button_icon` to match exposed methods
2024-10-29 19:25:59 -05:00
Thaddeus Crews
b7a0971ad2
Merge pull request #97934 from adamscott/give-AThousandShips-a-break
...
[Codestyle] Set clang-format `RemoveSemicolon` rule to `true`
2024-10-29 19:25:36 -05:00
Aaron Franke
562c666e3d
Rename internal Button icon to button_icon to match exposed methods
2024-10-29 16:23:03 -07:00
Adam Johnston
3ac043c508
Add fuzzy string matching to quick open search
...
Co-authored-by: sam <samsface@gmail.com>
2024-10-28 11:24:36 -07:00
Thaddeus Crews
cf313e4492
Merge pull request #96786 from passivestar/spin-slider-focus-fix
...
Fix EditorSpinSlider blocking viewport from getting focus
2024-10-25 13:03:47 -05:00
Adam Scott
0d350e7108
Set clang-format `RemoveSemicolon` rule to `true`
...
- Set clang-format `Standard` rule to `c++20`
2024-10-25 13:49:43 -04:00
Thaddeus Crews
975f42227f
Merge pull request #97706 from lalitshankarchowdhury/fix-create-folder
...
Display proper message on invalid folder path
2024-10-21 16:39:10 -05:00
Clay John
f6279ffd56
Merge pull request #97885 from timothyqiu/useful-tooltip
...
Make `EditorFileDialog`'s Recent and Fav list show full path in tooltip
2024-10-17 16:53:55 -07:00
Lalit Shankar Chowdhury
25687c5b99
Display proper message on invalid folder path
2024-10-17 13:06:48 +05:30
Jayden Sipe
7261321d34
Show correct icons in EditorDebuggerRemoteObject
2024-10-15 16:40:16 -04:00
Mounir Tohami
5862da6f90
Fix `EditorSpinSlider` grapper `TextureRect` doesn't follow parent when scrolling.
2024-10-07 18:34:39 +00:00
Alex Darby
cd269b825f
Make File Dialog case insensitive
...
Change FileDialog and EditorFileDialog to use case insensitive string
comparisons when saving files to avoid duplicate file extensions.
2024-10-07 15:07:36 +01:00
Haoyu Qiu
ecb56fca26
Make EditorFileDialog's Recent and Fav list show full path in tooltip
2024-10-06 21:32:31 +08:00
Rémi Verschelde
db66bd35af
Merge pull request #97820 from passivestar/quick-open-bg
...
Fix quick open background panel style
2024-10-04 22:44:00 +02:00
Rémi Verschelde
0d1873da9c
Merge pull request #95544 from KoBeWi/clean_code™
...
Misc code cleanup in EditorFileDialog
2024-10-04 22:43:13 +02:00
passivestar
08af57fb86
Fix quick open background panel style
2024-10-05 00:20:19 +04:00
Rémi Verschelde
3b41f73105
Merge pull request #80473 from KoBeWi/they're_the_same_picture
...
Unify make dir and duplicate dialogs
2024-10-03 15:27:04 +02:00
Stijn Hinlopen
6d23fac021
Fix crash in QuickOpenDialog because of double free.
2024-10-02 19:42:07 +02:00
kobewi
e2a96dde48
Unify make dir and duplicate dialogs
2024-10-02 14:57:37 +02:00
Yevhen Babiichuk (DustDFG)
4a5ae8c388
Fix tooltip message of button that opens groups/signals dock
...
Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-10-02 13:35:12 +03:00
Stijn Hinlopen
06791e1acd
New Quick Open Dialog
...
- Updated list view with thumbnails, and separate file name.
- Added a grid view which has larger icons.
- Added toggle to filter out files from addons.
- Store history for each opened resource type.
New Editor settings for Quick Open:
- Startup display mode (grid or list):
- Determined by the requested resource type.
- Whatever was last used.
- Toggle to filter out files from addons (for persistence).
Notes
- The dialog is now created once in EditorNode, and globally available for other components.
- A fixed number of result scenes are instantiated, and reused based on query.
- Drop support for multiselect.
2024-10-01 21:39:16 +02:00
Haoyu Qiu
38579a1e84
Unify editor version buttons
2024-09-28 23:26:23 +08:00
Rémi Verschelde
645af49919
Merge pull request #97488 from KoBeWi/zakaz_tłumaczeń
...
Disable auto translation in EditorDirDialog
2024-09-26 18:45:53 +02:00
Rémi Verschelde
344ce2b047
Merge pull request #97344 from pafuent/editor_file_dialog_filter_sort
...
Add filter & sort to editor file dialog
2024-09-26 18:45:24 +02:00
Pablo Andres Fuente
163753949e
Add filter & sort to editor file dialog
...
Closes https://github.com/godotengine/godot-proposals/issues/2721
On `EditorFileDialog`:
* Add filter box that only shows folders and files in current directory that match
* Add sort button to sort files and directories
* Add a shortcut for CTRL+F for selecting the filter box
Also moved common code between `EditorFileDialog` and `FileSystemDock`
to it's own file.
Co-authored-by: fox <12120644+foxydevloper@users.noreply.github.com>
2024-09-26 11:08:13 -03:00
kobewi
4b734aeda9
Disable auto translation in EditorDirDialog
2024-09-26 14:28:48 +02:00
Thaddeus Crews
9f9ee0c813
SCons: Add unobtrusive type hints in SCons files
2024-09-25 09:34:35 -05:00
Rémi Verschelde
7e62565f1e
Merge pull request #95787 from timothyqiu/domestic
...
Add translation domain
2024-09-20 16:06:23 +02:00
Thaddeus Crews
b37fc1014a
Style: Apply new `clang-format` changes
2024-09-20 08:09:48 -05:00
Rémi Verschelde
d788205826
Merge pull request #97173 from timothyqiu/drag-preview-translation
...
Set auto translate mode for drag previews
2024-09-19 17:13:50 +02:00
Haoyu Qiu
14321b8ed5
Set auto translate mode for drag previews
...
- Controls
- `LineEdit`, `TextEdit`: Always disabled since it's dragging user input.
- `TabBar`: Use the same auto translate mode as the node.
- `RichTextLabel`: Always disable since auto translation is done
differently from other controls (selection text you get
programmatically is always after auto translation).
- Editor
- Disable drag preview auto translation if the text is user input,
filename, or class name.
- Also disabled unexpected auto translation for audio bus effect names.
2024-09-19 19:21:29 +08:00
kobewi
ad99c79472
Rework creating new folders in editor
2024-09-17 12:40:25 +02:00
Haoyu Qiu
818acb4290
Make editor use translation domains
...
How editor plugins use this feature:
1. Pick a unique translation domain name.
2. `_enter_tree()`: load translations into that translation domain.
3. Call `set_translation_domain()` for its root UI node.
4. `_exit_tree()`: remove that translation domain.
Plugins can also set the translation domain to `godot.editor` for
nested nodes that should use editor translations. `EditorFileDialog`
automatically does this.
2024-09-17 13:09:44 +08:00
Rémi Verschelde
4d35402c1c
Merge pull request #96400 from Maran23/inputmap-usage-for-filter-and-corresponding-refactor
...
Use InputMap actions consistently across all LineEdit's that filter an underlying Tree or ItemList.
2024-09-16 13:34:38 +02:00
passivestar
16f3d52253
Fix EditorSpinSlider blocking viewport from getting focus
2024-09-10 14:44:47 +04:00
matheusmdx
1eacd1fd0e
Fix is_inside_tree error when inspecting an Environment resource
2024-09-07 12:45:07 -03:00
Haoyu Qiu
8c5121d445
Remove duplicated read only checks in EditorSpinSlider
...
Also made read only checks in EditorSpinSlider's implementation to use
`read_only` directly for consistency.
2024-09-06 08:13:46 +08:00
Rémi Verschelde
88ed6af1e6
Merge pull request #96609 from detomon/prevent-changing-readonly-property
...
Prevent editing value on focus when `EditorSpinSlider` is read-only
2024-09-05 17:44:48 +02:00
Rémi Verschelde
ddef729fb2
Merge pull request #96569 from AThousandShips/fix_tree_button
...
[Editor] Prevent duplicate `Open in Editor` buttons in scene tree dock
2024-09-05 17:44:19 +02:00
detomon
88f1b679f3
Prevent editing value on focus when `EditorSpinSlider` is read-only
2024-09-05 15:26:09 +02:00