Commit Graph

365 Commits

Author SHA1 Message Date
a8e3ac0e09 Change root node transform warning to only show up for position
(cherry picked from commit f9c7b1fcff)
2025-03-19 12:57:23 +01:00
136c4c64a0 Fix Embedded Game over expanded bottom panel - Simple version 2025-02-18 17:55:47 -05:00
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
1bdf84b31c Sync native and embedded dialog missing extension handling. 2025-02-14 00:15:04 +02:00
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
7f0d81c433 Improve path handling in EditorQuickOpenDialog 2025-02-10 22:16:24 +01:00
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
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
6caa7c66d7 Merge pull request #101598 from MewPurPur/quick-open-pt1
Tweak Quick Open theming
2025-02-10 10:49:06 +01:00
1101bdb351 Fix double set_name in renaming 2025-02-08 21:21:01 +01:00
779f5fb962 Tweak Quick Open theming 2025-02-07 11:41:32 +02:00
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
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
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
2f87b7aae0 Fix BottomPanel excessive width. 2025-01-19 14:21:43 +02:00
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
9d00a773f8 Allow prefixing with '%' to set a node as unique in the Scene Tree Dock 2025-01-13 09:38:07 -06:00
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
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
24eadaa6a4 Reorganize EditorNode menu options 2025-01-09 12:21:56 +01:00
0dcc1a37d3 Merge pull request #101094 from KoBeWi/what_if
Simplify scene tabs option disabling
2025-01-08 15:53:26 +01:00
a705962d73 Simplify scene tabs option disabling 2025-01-08 00:23:52 +01:00
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
3e53d73996 Merge pull request #101038 from KoBeWi/QuickerOpenDialog
Remember QuickOpenDialog history between sessions
2025-01-07 23:17:48 +01:00
ce6c3c5c28 Merge pull request #100556 from KoBeWi/unlimited_contextizer
Add more menus support to EditorContextMenuPlugin
2025-01-07 23:17:23 +01:00
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
cc1db569e1 [TextServer] Improve embedded objects handling performance. 2025-01-07 08:01:29 +02:00
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
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
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
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
e1f129cb52 Support MIME types in file dialog filters on macOS and Linux. 2025-01-04 22:05:35 +02:00
e167f4df37 Remember QuickOpenDialog history between sessions 2025-01-03 11:51:28 +01:00
b77aa473a1 Implement a "Recovery Mode" for recovering crashing/hanging projects during initialization 2025-01-03 10:50:15 +00:00
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
cf8376ba1f Add a context menu to quick open dialog 2025-01-02 20:05:51 +01:00
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
38ff1500c7 Add toggle to hide filtered out parents in the "SceneTree" dock 2024-12-24 13:43:01 -03:00
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
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
91e72100e9 Merge pull request #100670 from hpvb/fix-100666
Don't recursively call `_update_tree`
2024-12-20 23:57:43 +01:00
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
a11364d1e6 Merge pull request #99010 from Hilderin/embedding-game-process
Embed game process in editor
2024-12-20 23:56:43 +01:00
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
b3e15af8ad Fix autostart indicator going to wrong debugger 2024-12-20 14:25:57 +05:30
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
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
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
348ee200f8 [EditorFileDialog] Do not update file selection on filter change if nothing was previously selected. 2024-12-19 10:01:26 +02:00
b9a00feb66 [Windows, FileDialog] Prepend drive letter to the absolute paths without drive letter. 2024-12-19 09:47:46 +02:00