Commit Graph

17258 Commits

Author SHA1 Message Date
Thaddeus Crews
3f74cc2a6c Merge pull request #97860 from stijn-h/qo-button
EditorResourcePicker: Replace options to load file with button for QuickOpenDialog
2024-12-23 11:15:03 -06:00
Yufeng Ying
f241c1fda0 Remove unused header in editor.
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:38 +08: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
Stijn Hinlopen
df01daf3b7 EditorResourcePicker: Replace options to load file with button for QuickOpenDialog
- Remove option to load files from drop down
 - Make _update_menu_items solely responsible for adding the right separators. Previously
   the overridable set_create_options would need to do this, but it could not know whether
   more properties were going to be added.
2024-12-22 22:47:17 +01:00
Rémi Verschelde
6f2f90935d Merge pull request #100370 from lander-vr/remove-boxes-refprobes-voxelgi
Remove solid boxes in gizmos of VoxelGI and ReflectionProbe
2024-12-22 00:10:02 +01: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
315f51b7ca Merge pull request #100654 from mdelorme/mdelorme/issue_100649
Fix `@export` open scene button not working
2024-12-20 23:57:31 +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
Rémi Verschelde
8a743f23e6 Merge pull request #98385 from RandomShaper/thread_yield
Rationalize busy waits
2024-12-20 23:56:39 +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
Maxime Delorme
ff107cbeeb Fix @export open scene button not working 2024-12-20 15:36:28 +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
075567a5b3 Merge pull request #100456 from Sauermann/proposal-hovered-connection-highlight
Highlight hovered `GraphEdit` connection by widening the line
2024-12-19 20:00:08 -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
Thaddeus Crews
76d66d47dd Merge pull request #99428 from Calinou/editor-default-enable-remote-deploy-debug
Enable Deploy with Remote Debug by default in the editor
2024-12-19 20:00:02 -06:00
Thaddeus Crews
cbfc34d279 Merge pull request #100444 from Sauermann/fix-view-panner-mouse-warp
Fix `ViewPanner` panning-mouse-warp
2024-12-19 20:00:01 -06:00
Thaddeus Crews
8fb7a1f357 Merge pull request #100571 from KoBeWi/emission_mission
Add UndoRedo support to Load Emission Mask/Points
2024-12-19 19:59:59 -06:00
Thaddeus Crews
34797fa580 Merge pull request #99653 from Giganzo/deselect-dropdown-in-single-window-mode
Fix closing dropdown on EditorResourcePicker in Single Window Mode
2024-12-19 19:59:49 -06:00
Markus Sauermann
0a875ab3bb Highlight hovered GraphEdit connection by widening the line
This change causes the connections to be additionally highlighted by
widening the line with a configurable factor.
2024-12-20 00:55:35 +01:00
Markus Sauermann
4887172a59 Fix ViewPanner panning mouse warp
Currently the mouse cursor jumps in unexpected ways, when a `ViewPanner`
is used in SubViewports or embedded Windows.

This is caused by providing wrong coordinate systems to
Input::warp_mouse_motion.

This PR replaces the use of `Input::warp_mouse_motion` with
`Viewport::wrap_mouse_in_rect` and makes sure, that the correct
coordinate systems are used.

This change makes it necessary, that all classes, that currently
use ViewPanner, need to provide the correct Viewport to ViewPanner.
2024-12-20 00:28:49 +01: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
9682496d72 Add UndoRedo support to Load Emission Mask/Points 2024-12-18 18:29:00 +01:00
Rémi Verschelde
e255f60634 Merge pull request #99158 from timothyqiu/shortshortcutcut
Make editor's shortcut names translated on-site
2024-12-18 09:52:56 +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
Haoyu Qiu
48db6669f6 Fix crash when using non-PackedScene resource for POT generation 2024-12-18 10:15:46 +08:00
Rémi Verschelde
abf47965fc Merge pull request #100530 from KoBeWi/fix_hack…_with_a_hack😎
Fix Timer error on startup
2024-12-17 23:00:20 +01:00
Rémi Verschelde
7170a4176e Merge pull request #100500 from MajorMcDoom/collision-gen-undo-fix
Fix errors when undoing collision generation for multiple meshes with different parents
2024-12-17 23:00:10 +01:00
Rémi Verschelde
45d8c217b9 Merge pull request #99649 from ckaiser/run-instances-data
Improve run instances UX: avoid removing data and add a clear popup.
2024-12-17 22:59:37 +01:00
Rémi Verschelde
55a3c6ba2b Merge pull request #99471 from Arnklit/fix_undo_redo_for_texture_region_editor
Fix undo redo for the texture region editor
2024-12-17 22:59:33 +01:00
Rémi Verschelde
66b8101cef Merge pull request #95460 from m4gr3d/enable_mouse_forward_back_buttons
Enable `BUTTON_FORWARD` and `BUTTON_BACK` mouse buttons on Android
2024-12-17 22:59:20 +01:00
kobewi
0ffdb6b993 Fix Timer error on startup 2024-12-17 22:26:54 +01:00
Hugo Locurcio
7a04d85ec3 Only allow valid types in Decal, Light3D projector, PointLight2D texture and CSGMesh3D mesh
If an invalid type is supplied (which can still be done from a script),
a warning is printed (along with a workaround for ViewportTexture).

This also adds support for "negative" resource hints such as
"Texture2D,-ViewportTexture" to exclude one or more subclasses
from a class hint.

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2024-12-17 20:41:12 +01:00
Zi Ye
5b19f729c2 Fix errors when undoing collision generation for multiple meshes with different parents 2024-12-17 10:14:06 -06:00
Rémi Verschelde
2b7ea6223b Merge pull request #100510 from adamscott/tmp-dir-create
Fix non-creation of editor temporary dir
2024-12-17 16:19:41 +01:00
Rémi Verschelde
e237dd0691 Merge pull request #100408 from KoBeWi/pathdoom
Improve UID support for main scene
2024-12-17 16:19:19 +01:00
Rémi Verschelde
d60c0e21a6 Merge pull request #88313 from wagnerfs/run-time-anisotropic-filtering
Allow changing the anisotropic filter level at run-time per Viewport
2024-12-17 16:18:38 +01:00
Rémi Verschelde
bf0f1054db Merge pull request #87542 from Mickeon/code-editor-idle-parse-delay-I-am-speed
Make the Script Editor's parser execute sooner on edit after error was found
2024-12-17 16:18:33 +01:00
Adam Scott
741f6c71d7 Fix non-creation of editor temporary dir 2024-12-17 09:23:25 -05:00
kobewi
62d4928e86 Improve UID support for main scene 2024-12-16 19:58:16 +01:00
Thaddeus Crews
10b333cdbe Merge pull request #100336 from larspet/filesystem-dir-navigation
Fix FileSystem dock navigation when using Split Mode
2024-12-16 12:10:07 -06: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
Thaddeus Crews
02e196eb41 Merge pull request #98132 from aaronfranke/editor-plugin-get-plugin-icon-name
Rename internal EditorPlugin icon/name to match exposed methods
2024-12-16 12:09:57 -06:00
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