Commit Graph

325 Commits

Author SHA1 Message Date
ea67b36916 Ported: Minor tweaks/polish to the navigation controls to prevent interference:
- Reduce controls size
- Enable opacity on hover to increase visibility
- m4gr3d
f1e6ecd3b5
2022-12-11 19:30:42 +01:00
kobewi
fe154362b1 Improvements to EditorResourcePicker
(cherry picked from commit 9568789a9d7845a7224cadea996d009463e87125)
2022-12-11 19:15:30 +01:00
alex-pahdo
6ebc813e48 Add more info to WAV import errors
Print mismatched header contents and file size, which can provide more clues to users when debugging.

(cherry picked from commit f5d256b118914817e2c7ac5c35421e2767fc1e79)
2022-12-11 19:11:36 +01:00
asalazar516
8c306efe22 Add missing argument to AnimationNodeBlendTreeEditor::_delete_nodes_request 2022-12-11 19:06:49 +01:00
Marius Hanl
a32008c1ea Update project window title when a project setting was changed
Co-authored-by: Haoyu Qiu <timothyqiu32@gmail.com>
2022-12-11 19:05:02 +01:00
Haoyu Qiu
6484327489 Make Camera3D gizmo clickable
(cherry picked from commit ca9063fe4ecbf261768d9e21fb0fb5d83bb2dfa8)
2022-12-11 19:02:40 +01:00
Pedro J. Estébanez
1e7c186b9a Create reset tracks with the right update mode
(cherry picked from commit b46a2aaa4bb4ed89be2e8fb8cdde9258f72172c8)
2022-12-11 18:39:03 +01:00
kobewi
c9ae510fe5 Advance animation after confirming
(cherry picked from commit 798f9c8632c62c52d6053c42250e6c02be1e1427)
2022-12-11 18:33:45 +01:00
Rémi Verschelde
f3801032b8 Add editor setting for AcceptDialog OK/Cancel buttons positioning
The position (left/right) of the Cancel and OK buttons in AcceptDialog
are DisplayServer specific, as Windows uses OK/Cancel and macOS uses Cancel/OK.

Linux/X11 currently uses the macOS convention which is also the GTK+/GNOME one,
though it's not consistent with Qt/KDE applications which follow the Windows
convention.

Since that can't satisfy everyone, it's best if it's configurable also for the
editor (it's already configurable for the project).

Fixes #59379.

(cherry picked from commit 9bb05de89fcc286a0d78bea12dc779a56c274fb0)
2022-12-11 18:33:23 +01:00
Windy Darian
159649099d Don't try to import unknown dependency from scan
Only import dependency we know how to import, since custom resource may have .gd in dependency list which doesn't have an importer

(cherry picked from commit 0463a445c4470509d581747bd272b0a76227c723)
2022-11-30 19:28:28 +01:00
kleonc
16b4bc25e9 Fix checking if script is attached to any node belonging to scene
(cherry picked from commit 7f7966e10aa6b193012a36751dfc9f8c570b8659)
2022-11-30 19:27:33 +01:00
Rémi Verschelde
7cfc7d4106 Debugger: Fix fetching source to link C++ error on GitHub
Fixes #66974.

(cherry picked from commit 4d29346a7413db874b03525112211a1368036d4d)
2022-11-30 19:26:32 +01:00
kleonc
781b1915d3 SpriteFramesEditor Fix calculating frame index from mouse position
(cherry picked from commit d1359579874b747ab34bdbdb23411b5dc733a609)
2022-11-30 19:22:23 +01:00
Alfred Reinold Baudisch
1d8716a903 Cast dragged file extension name to lowercase, closes #68104
(cherry picked from commit 07e367cb0b07f02fef92420fde53e05be3d4b247)
2022-11-30 19:21:43 +01:00
3265fb9e1d Ported: Project Manager: Fix hacky code for project rename
Instantiating a new ProjectSettings is *not* the way to go.
ConfigFile works just fine to read/change a single value.
Fixes memory leaks as the instantiated ProjectSettings was never freed.
Forbid doing this to prevent such problems.
Fixes #25661.
- akien-mga
9a340a2868
2022-11-30 19:19:02 +01:00
VolTer
cbfa40ae94 Stopped edge stripping when using Find in Files
(cherry picked from commit 0179791e85944cabd64534abaaf89cc067618f0f)
2022-11-30 19:11:46 +01:00
bdf4922a1e Ported:
Add navigation control to the spatial editor viewport for the Android editor.
- m4gr3d
cc59e18c9b
2022-11-30 18:30:32 +01:00
aae204935b Fix compile. 2022-11-30 15:07:06 +01:00
f06d4411f4 Fix compile. 2022-11-30 15:03:43 +01:00
Haoyu Qiu
2d7145e936 Add built-in action toggle in Input Map settings 2022-11-30 15:00:12 +01:00
Hendrik Brucker
b85a3cbce3 Add Gradient resource preview generator
Co-Authored-By: Haoyu Qiu <timothyqiu32@gmail.com>
2022-11-30 14:51:39 +01:00
Marius Hanl
13e1941f87 Fix Tooltips do not work properly when selecting multiple nodes (MultiNodeEdit)
The editor inspector will now get the edited class name from the MultiNodeEdit when it is used.
The name of the selected nodes is searched in the scene and if not found in the parent class(es).

This is a mostly clean backport from Godot 4.0.
2022-11-30 14:36:27 +01:00
Haoyu Qiu
7ee4ed4647 Fix wrong owner for editor plugin created nodes in instanced scene 2022-11-30 14:30:02 +01:00
617286dd27 Don't let the SceneTreeDock add the root node buttons more than once. 2022-11-20 23:47:20 +01:00
a286c2ecd9 Now custom nodes can be added to the SceneTreeDock's create root node page. 2022-11-20 23:15:42 +01:00
afc171a4a4 Added a new editor_docs setting to the build. Disabling it can help when quick iteration times are desired. Setting it to false saves about 4 seconds of compile time for me (in the current stripped slim build that I'm working on). 2022-11-16 12:56:01 +01:00
Jean-Michel Bernard
52fdae0600 Prevent docks to be reset to first tab when switching dock visibility 2022-11-13 00:52:35 +01:00
Haoyu Qiu
177d20aeef Remove leading spaces from enumerator name hints 2022-11-13 00:26:34 +01:00
0b37d5ec86 Now the Access as Unique Name option is in the right place when right clicking the scene tree. 2022-10-16 23:52:10 +02:00
d963444bad Removed unused variables from the SceneTreeDock. 2022-10-16 23:46:55 +02:00
03376128ae Replaces the default project editor icon, and the logo editor icon. 2022-10-11 17:42:31 +02:00
829aeda5b1 Remove unused code. 2022-10-11 12:19:37 +02:00
120844df50 Also update editor.pot file. 2022-10-09 12:00:43 +02:00
41a916deb8 Update hungarian translation from godot. 2022-10-09 11:59:57 +02:00
3f86c49d1e Now all gozmo plugins return gizmo names properly. 2022-10-09 00:52:52 +02:00
e003437196 Get gizmo names using the proper method for the toggle popup in the SpatialEditor. 2022-10-09 00:34:31 +02:00
5a4bcf4be3 Fix errors on new scene creation. 2022-10-09 00:21:43 +02:00
51acd0c9d6 Fix setting all EDITOR_DEFs for the gridmap editor. 2022-10-08 23:41:54 +02:00
04bc4be35c Remove unused file selector from EditorNode. 2022-10-08 23:36:08 +02:00
48d50bed1d Now menu items can be added to the convert menu in the editor. 2022-10-08 22:32:52 +02:00
Haoyu Qiu
556b7564cd Center icons vertically in editor docs' hierarchy 2022-10-08 17:32:36 +02:00
Rémi Verschelde
a353560086 Debugger: Clear stack dump on execution stop
Fixes #34198.
2022-10-08 17:05:21 +02:00
Micky
042b592de5 Fix crash when ScriptEditor accesses Script with no language set 2022-10-08 16:59:54 +02:00
182dbce670 Fix compile. 2022-10-08 16:57:21 +02:00
Micky
0097a77afd Add type icons to editor docs' hierarchy
Backport of #64847 and #65248
2022-10-08 16:53:43 +02:00
Micky
4b36329881 Make "Access as Unique Name" a shortcut
Backport of #65134
2022-10-08 16:52:42 +02:00
bruvzg
160462c57b Simplify code signing options, add support for rcodesign tool for signing and notarization. 2022-10-08 16:37:21 +02:00
Michael Alexsander
6730fc8f0f Shrink shader editor's oversized borders
(cherry picked from commit c2553f530be9c137fe992d5d4521e13de92a32b2)
2022-10-08 16:21:25 +02:00
dzil123
ace2a22838 Ignore node rename if already exited blend tree
(cherry picked from commit f9bee9099457a7e582ad785f5134a86ed1f8fac5)
2022-10-08 16:20:50 +02:00
ce58de4e2e Added an option to automatically reload or save instead of asking what to do after a file changed outside the editor. 2022-10-04 17:59:33 +02:00