1
0
Fork 0
Commit Graph

473 Commits

Author SHA1 Message Date
Thaddeus Crews aadeef1892
Merge pull request #105578 from BrotherShort/scenetree-auto-trans2
Improve SceneTree auto-translation. Fix TreeItem tooltips and the Filter.
2025-04-21 08:24:24 -05:00
BrotherShort 1e1b0913bc Improve SceneTree auto-translation 2025-04-20 11:12:07 +08:00
Anish Mishra 34b3582cf9 Embed TouchActionsPanel directly into the Android editor UI 2025-04-19 20:32:47 +05:30
Pāvels Nadtočajevs 5355fcae62
Fix incorrect title bar sorting in RTL layout. 2025-04-17 09:31:14 +03:00
Thaddeus Crews ad40939b6f
Core: Replace C math headers with C++ equivalents
- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
2025-04-16 15:49:02 -05:00
Thaddeus Crews e508573183
Merge pull request #105140 from syntaxerror247/actions-panel-improvements
Android Editor: Add new actions and enhancements to `TouchActionsPanel`
2025-04-15 12:28:42 -05:00
Thaddeus Crews 99d3d44147
Merge pull request #104845 from KoBeWi/project_manager-🤵
Improve Project Manager auto-translation
2025-04-15 12:28:37 -05:00
Mike Precup 6b9d67a547 Search custom types when filtering on type in the SceneTree dock 2025-04-14 10:29:49 -07:00
Anish Mishra 5f9fdd7071 Android Editor: Add new actions and enhancements to TouchActionsPanel
- The panel’s layout and position are now saved and restored across projects and editor restarts.

- Toggle buttons for Ctrl, Shift, and Alt keys have been added to support actions that require holding down these keys, such as Ctrl for multi-selection.

- Additional action buttons have been introduced: Cut, Copy, and Paste.

- Some UI polish.
2025-04-14 20:43:13 +05:30
kobewi e6edf3b3b3 Improve Project Manager auto-translation 2025-04-12 09:29:18 +02:00
Thaddeus Crews 0d267e7b1e
Core: Add dedicated `BitField` template 2025-04-11 11:53:26 -05:00
Thaddeus Crews 759fb58636
Merge pull request #105277 from nathanhoad/fix-play-custom-scene-with-uid
Fix issue with playing a custom scene from a UID
2025-04-11 09:51:13 -05:00
Thaddeus Crews 717df3ee88
Merge pull request #105249 from Repiteo/core/math-defs-namespace
Core: Use `Math` namespace for constants
2025-04-11 09:51:04 -05:00
Nathan Hoad c45ca4ae04 Fix issue with playing a custom scene from a UID
Co-Authored-By: Tomasz Chabora <kobewi4e@gmail.com>
2025-04-11 23:40:49 +10:00
Thaddeus Crews 4c66c21542
Merge pull request #103024 from cruglet/master
TabBar: Add boolean toggle for middle-click to fire `tab_close_pressed` signal.
2025-04-10 16:53:44 -05:00
Thaddeus Crews 94282d88f9
Core: Use `Math` namespace for constants 2025-04-10 16:29:30 -05:00
A Thousand Ships 889410dcda
Add `String::replace_char(s)` methods for performance and convenience 2025-04-10 13:08:45 +02:00
Cruglet 1a1711f1ee Add middle-click removing for TabBars
Added a boolean option field to enable the firing of the "tab_close_pressed" signal when middle clicking on a tab.
2025-04-09 07:56:09 -04:00
Thaddeus Crews e6a61b1ecc
Merge pull request #76829 from bruvzg/ac_kit_direct
Implement screen reader support using AccessKit library.
2025-04-08 12:32:47 -05:00
Thaddeus Crews 1a90b115e1
Merge pull request #105106 from bruvzg/title_align
Add custom sort to center tab bar in the editor and project manager.
2025-04-08 12:32:44 -05:00
Thaddeus Crews c53e3b1723
Merge pull request #105103 from runzh-crypto/validate_custom_directory_v2
Validate custom directory when running from editor
2025-04-08 12:32:42 -05:00
Pāvels Nadtočajevs 302fa831cc
Initial editor accessibility. 2025-04-08 20:25:48 +03:00
Pāvels Nadtočajevs 539e54567b
Add custom sort to center tab bar in the editor and project manager. 2025-04-08 00:05:22 +03:00
Thaddeus Crews 51201cb549
Merge pull request #105041 from lodetrick/editor-spin-slider-consume-input
Fix EditorSpinSlider Scroll Edit when inside a ScrollContainer
2025-04-07 08:43:29 -05:00
Thaddeus Crews d025e99a46
Merge pull request #105039 from lodetrick/blend-tree-grabber
Fix EditorSpinSlider Grabber Scaling
2025-04-07 08:43:28 -05:00
Thaddeus Crews 1b9f269700
Merge pull request #105015 from syntaxerror247/improve-touchActionsPanel
Android Editor: Add an editor setting to enable/disable `TouchActionsPanel`
2025-04-07 08:43:24 -05:00
Logan Detrick c361e60cfa Fix Grabber Double Scaling when zoomed 2025-04-07 01:05:00 -07:00
runzh-crypto e57eeb14bc validate any form of running project 2025-04-07 00:29:19 +08:00
Anish Mishra a5c03dcd08 Add an editor setting to enable/disable TouchActionsPanel
Adds an editor setting to enable/disable TouchActionsPanel.

Automatically hide the panel when hardware keyboard is connected.
2025-04-05 19:07:46 +05:30
Logan Detrick 97651fd4ac Consumes Scroll Events and fixes Mouse Warp 2025-04-04 18:07:47 -07:00
Yufeng Ying 4029051bb1 Change ClassDB::get_inheriters_from_class. 2025-04-04 23:47:19 +08:00
kobewi fb2e9c7ba7 Cleanup QuickOpenDialog history and fix UID errors 2025-04-03 16:21:22 +02:00
Yufeng Ying 4f4031a675 Replace size() == 0 with is_empty(). 2025-04-02 19:18:43 +08:00
Thaddeus Crews 8f6bb119f4
Merge pull request #100602 from KoBeWi/over_100_changes_in_50_random_files_aka_the_best_kind_of_PR
Add templated version of `ObjectDB::get_instance()`
2025-03-31 12:03:47 -05:00
Rémi Verschelde fd02ff8d02
Merge pull request #104703 from bruvzg/loc_dir_icons
Fix updating editor icons on translation change.
2025-03-28 17:30:49 +01:00
Rémi Verschelde 1298e7078d
Merge pull request #104061 from a-johnston/better_no_query_handling
Improve default/no query quick open dialog behavior
2025-03-28 17:30:14 +01:00
Rémi Verschelde b12258bd22
Merge pull request #99897 from aaronfranke/editor-top-nodes
Clarify API for top selected nodes in EditorSelection and make public
2025-03-28 17:29:51 +01:00
Pāvels Nadtočajevs e47207ad16
Fix updating editor icons on translation change. 2025-03-28 15:04:32 +02:00
Aaron Franke 17db92b8b8
Clarify API for top selected nodes in EditorSelection and make public 2025-03-27 16:09:08 -07:00
kobewi bc9d0c7835 Add templated version of ObjectDB::get_instance() 2025-03-27 15:43:23 +01:00
kobewi 75881f8322 Use initializer list in Arrays 2025-03-26 18:38:15 +01:00
Michael Alexsander c33c3fe2ed
Remove pointless `_3D_DISABLED` checks in editor code 2025-03-19 23:47:36 -03:00
kobewi 10f6c01b9c Remove ABS in favor of Math::abs 2025-03-19 13:52:40 +01:00
Aaron Franke f9c7b1fcff
Change root node transform warning to only show up for position 2025-03-18 22:48:31 -07:00
kobewi 6f25babd6b Remove empty constructors and destructors from editor/ 2025-03-17 21:20:02 +01:00
Jakub Marcowski 22903e4856
Apply `pre-commit` changes 2025-03-14 14:25:31 +01:00
Thaddeus Crews c1b7865ae9
Merge pull request #103557 from aaronfranke/godot-version-defines
Rename version defines to `GODOT_VERSION_*` to match GDExtension godot-cpp
2025-03-13 08:57:42 -05:00
Adam Johnston 163c8be884 Remove file limit for quick open window 2025-03-13 02:14:05 -07:00
Lars Pettersson d2d02d0ea8
EditorNode: Add function to load file as scene or resource 2025-03-12 23:59:48 +01:00
Aaron Franke 97ee05e9b7
Rename version defines to GODOT_VERSION_* to match GDExtension godot-cpp 2025-03-12 11:11:38 -07:00
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