Commit Graph

17198 Commits

Author SHA1 Message Date
Thaddeus Crews
802effec40 Merge pull request #99405 from Calinou/one-click-deploy-add-shortcut
Add a keyboard shortcut to perform one-click deploy with devices in the list
2024-12-16 12:09:53 -06:00
Thaddeus Crews
9c9af038d5 Merge pull request #91060 from dalexeev/code-edit-add-doc-tooltips
Code Editor: Add documentation tooltips
2024-12-16 12:09:45 -06:00
Thaddeus Crews
ee7de7d088 Merge pull request #99361 from havi05/itemlist-hover-on-selected
`ItemList` highlight selected items and draw `cursor`-stylebox last
2024-12-16 12:09:42 -06:00
Thaddeus Crews
129aae7aaa Merge pull request #100376 from larspet/filesystem-tree-rebuild
Don't rebuild tree when selecting a file in FileSystem list view
2024-12-16 12:09:41 -06:00
Thaddeus Crews
a7fa0528bb Merge pull request #100372 from Calinou/os-add-get-version-alias
Add `OS.get_version_alias()` to return a human-readable Windows/macOS version number
2024-12-16 12:09:40 -06:00
Thaddeus Crews
07af56bcc5 Merge pull request #94603 from aaronfranke/editor-insp-edit
Expose EditorInspector.edit to scripting
2024-12-16 12:09:37 -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
Danil Alexeev
80d11500b5 Code Editor: Add documentation tooltips 2024-12-15 10:51:33 +03:00
Aaron Franke
298daa8b6f Expose EditorInspector.edit to scripting 2024-12-14 23:51:12 -08:00
havi05
b05111799b ItemList - highlight selected items && draw cursor last 2024-12-14 19:03:43 +01:00
Hugo Locurcio
928982891e Add OS.get_version_alias() to return a human-readable Windows/macOS version number
Windows 11's major version number is actually 10.x.x, which can be confusing
if you don't know about this quirk. `OS.get_version_alias()` avoids this
by displaying the "branding" version number and the build number as a suffix,
so that individual updates can still be distinguished from each other.

On macOS, `OS.get_version_alias()` returns the version number prepended
with the version name (e.g. Sequoia for macOS 15).

On other operating systems, this returns the same value as `OS.get_version()`.
2024-12-14 18:47:50 +01:00
Rémi Verschelde
e0cdba40fd Merge pull request #99453 from reach-satori/drag_to_filesystem_folder
Allow dragging to specific folders in filesystem dock
2024-12-14 18:25:33 +01:00
Rémi Verschelde
20064cf5c0 Merge pull request #95044 from Hilderin/fix-double-click-signal-connection
Fix connecting a signal with a double click is too difficult
2024-12-14 18:25:07 +01:00
Rémi Verschelde
f7f2361fa8 Merge pull request #90057 from ryevdokimov/fix-inherit2
Add ability to create a new inherited scene from code
2024-12-14 18:25:01 +01:00
Hilderin
4e19ab8afe Fix connecting a signal with a double click is too difficult
Co-authored-by: Danil Alexeev <dalexeev12@yandex.ru>
2024-12-14 16:18:34 +03:00
Thaddeus Crews
9ecdeb3723 Merge pull request #98747 from tetrapod00/standardize-renderer-strings
Standardize terms for renderers in error strings
2024-12-13 16:19:37 -06:00
Thaddeus Crews
28c02a8491 Merge pull request #100334 from Sauermann/fix-editor-shortcut-reconversion
Introduce a conversion for editor shortcuts
2024-12-13 16:19:28 -06:00
Lars Pettersson
d0aa91bc6b Don't rebuild tree when selecting a file in FileSystem list view 2024-12-13 19:37:33 +01:00
Thaddeus Crews
c34a3f1ed2 Merge pull request #100059 from Calinou/editor-default-enable-emulate-numpad
Enable Emulate Numpad by default in the 3D editor settings
2024-12-12 16:13:37 -06:00
Thaddeus Crews
91dc363dca Merge pull request #100120 from allenwp/make-editor-shortcuts-global
Force fixed undo history to make editor shortcuts use global history.
2024-12-12 16:13:34 -06:00
Thaddeus Crews
e0968eee8c Merge pull request #91064 from KoBeWi/scan_everything
Make scan for projects threaded
2024-12-12 16:13:33 -06:00
Thaddeus Crews
7c015a768f Merge pull request #99958 from lander-vr/reflection-probe-blend-property
Add Blend Distance property to ReflectionProbe
2024-12-12 16:13:32 -06:00
Thaddeus Crews
31bc6afcad Merge pull request #96802 from dsnopek/expose-resource-importer-get-format-version
Expose `ResourceImporter::get_format_version` via `EditorImportPlugin::_get_format_version()`
2024-12-12 16:13:26 -06:00
Thaddeus Crews
c5f0d571b5 Merge pull request #97985 from RobProductions/add-tablet-nav-preset
Add `Tablet/Trackpad` 3D navigation preset
2024-12-12 16:13:24 -06: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
kobewi
cb4ceb823c Make scan for projects threaded 2024-12-12 22:31:32 +01:00
Markus Sauermann
cfc0a87099 Introduce a conversion for editor shortcuts
This is temporary code for reverting effects, that were caused
by the reverted 97707.
2024-12-12 20:21:30 +01:00
Robert Yevdokimov
7f09804154 Add inherit parameter to open_scene_from_path 2024-12-12 10:24:58 -05:00
David Snopek
af47df1005 Expose ResourceImporter::get_format_version via EditorImportPlugin::_get_format_version() 2024-12-12 08:15:28 -06:00
Rémi Verschelde
19e003bc08 Merge pull request #100306 from Uumutunal/master
Fix 3D editor snap setting values not being displayed correctly
2024-12-12 14:10:28 +01:00
Rémi Verschelde
4cf1b0d94c Merge pull request #100135 from Lazy-Rabbit-2001/expose-create-dialog-new
Add `popup_create_dialog()` for `EditorInterface` to create custom create dialog
2024-12-12 14:10:13 +01:00
Rémi Verschelde
26fec37389 Merge pull request #99942 from kitbdev/fix-invisible-subviewport-editor
Fix selecting and editing invisble items in SubViewports
2024-12-12 14:10:09 +01:00
Rémi Verschelde
abca8318c4 Merge pull request #98071 from BlueCube3310/res-import-tex-clean
Clean up ResourceImporterTexture
2024-12-12 14:09:45 +01:00
Rémi Verschelde
d1b683d413 Merge pull request #97140 from BastiaanOlij/xr_action_map_enhancements
OpenXR: Add support for binding modifiers
2024-12-12 14:09:41 +01:00
Rémi Verschelde
43ef253024 Merge pull request #95600 from MajorMcDoom/project-dialog-optional-edit
Add an `Edit Now` option to project dialog to allow opting out of immediately opening a project after creation/import/install
2024-12-12 14:09:37 +01:00
kobewi
1bc70fe2e8 Fix 3D ruler theme overrides 2024-12-12 13:13:36 +01:00
BlueCube3310
0400cbce1e Clean up ResourceImporterTexture 2024-12-12 11:38:40 +01:00
Lazy-Rabbit-2001
9c34ad1791 Add popup_create_dialog() for EditorInterface to create custom create dialog 2024-12-12 18:13:31 +08:00
Uumutunal
63b91381ab Fix 3D editor snap setting values not being displayed correctly 2024-12-12 11:37:24 +03:00
Thaddeus Crews
e188cf6066 Merge pull request #99182 from timoschwarzer/fix/editor-save-dialog-options
Improve editor file dialog options
2024-12-11 17:36:04 -06:00
Thaddeus Crews
08b5bf3c5f Merge pull request #95333 from Giganzo/lock-group-toggle
Fix Lock and Group for canvas items not updated in editor after changed in SceneTree
2024-12-11 17:36:02 -06:00
Thaddeus Crews
7ed6962252 Merge pull request #95072 from Calinou/editor-log-tweak-warning-error-formatting
Tweak warning/error formatting in EditorLog to be closer to console output
2024-12-11 17:35:56 -06:00
Thaddeus Crews
c4aaad6aa2 Merge pull request #100183 from smix8/collision_polygon_shape_edit
Add basic editor editing for `ConvexPolygonShape2D` and `ConcavePolygonShape2D`
2024-12-11 17:35:55 -06:00
Thaddeus Crews
a5cf24cb16 Merge pull request #100162 from ryevdokimov/measure-mode-3d
Add ruler mode to 3D
2024-12-11 17:35:46 -06:00
Thaddeus Crews
b773fff5a4 Merge pull request #99622 from Chaosus/shader_fix_global_empty_type
Add `samplerExternalOES` type to shader globals
2024-12-11 17:35:40 -06:00
Bastiaan Olij
0a61ebdcea OpenXR: Add support for binding modifiers 2024-12-12 09:46:19 +11:00
Timo Schwarzer
11bf2da9de Improve editor file dialog options 2024-12-11 15:11:34 +01:00
Yuri Rubinsky
a40fc2354a Merge pull request #100036 from Chaosus/hover_sname
[Scene] Add `SceneStringName::hover`
2024-12-11 12:24:09 +03:00
Chaosus
9a8d6628de [Scene] Add SceneStringName::hover 2024-12-11 11:11:25 +03:00
Chaosus
7adb986e15 Fix orphan strings in AnimationNodeStateMachine 2024-12-11 11:08:23 +03:00