Commit Graph

368 Commits

Author SHA1 Message Date
27920ca1a7 Make sure that the script editor is the 3rd tab. I implemented the simplest solution I could think for now. If more control is needed in the future, EditorPlugins will likely need a priority queue (or some different, more generic solution). 2023-03-19 11:02:20 +01:00
054332ae8d Fix selecting the script editor even if it's not the 3rd in the editor_tables array. 2023-03-19 10:24:21 +01:00
9146ddfbbd Ported: Backport a simpler version of the accent color for check icons
- YeldhamDev
7173565250
2023-03-12 14:34:43 +01:00
1d5008de07 Ported: Default update_vital_only to true for Android and Web editor
Android devices will typically be powered from battery. This PR defaults the editor on Android to use `update_vital_only` mode, using as little power as possible, in order to conserve battery.
Also shows the update spinner by default, to emphasize that vital updates only is occurring, and allow easy switching out of the mode.
- lawnjelly
0876a16bde
2023-03-12 12:54:07 +01:00
c356806ebf Ported: Extract Syntax highlighting from TextEdit and add EditorSyntaxHighlighter
- Extacted all syntax highlighting code from text edit
- Removed enable syntax highlighting from text edit
- Added line_edited_from signal to text_edit
- Renamed get/set_syntax_highlighting to get/set_syntax_highlighter
- Added EditorSyntaxHighligher
- Paulb23
bc4cee4458
2023-02-21 01:30:59 +01:00
6026725f3b Renamed ScriptEditor to EditorScriptEditor. 2023-02-18 16:52:26 +01:00
8f311ca275 Prefix class names in the editor_script_editor module with Editor. Pt 1. 2023-02-18 16:37:54 +01:00
990f8aaecd Prefix filenames in the editor_script_editor module with editor_. 2023-02-18 16:22:59 +01:00
6e88ad5bae Moved the editor_code_editor module to the editor_modules folder. 2023-02-18 15:45:50 +01:00
a14821587f Renamed the code_editor module to editor_code_editor. 2023-02-18 15:31:58 +01:00
65c91c6899 Moved ScriptEditorPlugin and ScriptEditor out from the editor folder. 2023-02-18 15:08:56 +01:00
e32e63242b Moved ScriptEditor and ScriptEditorPlugin to a new editor subfolder. 2023-02-18 14:36:51 +01:00
4dd84847eb Moved ScriptEditor to it's own file. 2023-02-18 13:22:43 +01:00
7c946c9ba9 Separated shader editor into a new module. 2023-02-18 09:44:05 +01:00
8d7090241a Make sure that the editor can be built even when the new code_editor module is disabled. 2023-02-17 23:20:10 +01:00
1b30a48d65 Move out script editor's initialization from EditorNode. 2023-02-17 21:29:44 +01:00
9cd2927fcc Move the editor's script text editor into the new code_editor module. 2023-02-17 20:57:16 +01:00
5dc5aea278 Re-enable remote debugging in the android editor build. 2023-02-08 11:47:35 +01:00
21dfdd9455 Use bool instead of int for the new property. 2023-02-08 09:38:07 +01:00
0eb9d6648f Added a setting to force launch the project in an adjacent window in the android editor. 2023-02-08 09:25:47 +01:00
db67fa53ea Ported: Add a theme usability setting which updates the touch area of UI elements (e.g: scrollbar) for the editor on touchscreen devices
- m4gr3d
8170b7ae1e
2023-02-07 02:50:11 +01:00
stmSi
a2661adba8 Suggest Filename in Remote Tree File Dialog 2023-02-07 01:09:03 +01:00
Haoyu Qiu
fb88b9813f Fix error when dropping script into script editor 2023-01-16 14:25:15 +01:00
2cd4e4d828 Renamed Set to RBSet. 2023-01-15 19:42:08 +01:00
1b0aac6028 Renamed Map to RBMap. 2023-01-15 19:12:50 +01:00
b240df7df6 Updated more copyright headers for 2023. 2022-12-31 21:07:05 +01:00
0a31a3b594 Don't enable remote debugging in the android editor for now. This fixes black screen when a project encounters a script error. 2022-12-31 16:46:13 +01:00
213f393293 Fix typos with codespell. 2022-12-22 19:51:25 +01:00
09ad2db471 Updated the translation from godot master. 2022-12-22 19:26:59 +01:00
eb219dbfb4 Ported: EditorInspectorSection is not folded when clicking under the font - Maran23
51859286a6
2022-12-22 18:59:23 +01:00
1d009e3fe0 Ported: Fix property link not working in MultiNodeEdit
This is due to the `p_field` in the `EditorProperty::emit_changed`.
`p_field` only works for `MultiNodeEdit`, not for other objects.
- Rindbee and timothyqiu
9056cc9c2a
2022-12-22 18:54:24 +01:00
b8009c85f4 Ported: Add vector value linking - KoBeWi and timothyqiu
9499ebecee
2022-12-22 18:50:17 +01:00
e5df1644c7 Skip properties with the 'PROPERTY_HINT_BUTTON' hint when building docs. 2022-12-22 18:16:58 +01:00
f668ceb512 Ported: Update the visibility logic for the spatial editor navigation controls - m4gr3d
0825859a94
2022-12-22 18:01:19 +01:00
bad1d64314 Fix compile and small cleanups after the backports. 2022-12-22 15:24:53 +01:00
Haoyu Qiu
4a51392d12 Add open scene button in Inspector for PackedScene resource 2022-12-22 14:35:00 +01:00
Rémi Verschelde
ebff4709e2 Fix some Clang -Wunused-but-set-variable warnings 2022-12-22 14:31:52 +01:00
Zak
b5c01b8703 Add uri property for LinkButton
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit d73a9b56b08864b5e5ccf0df910190b064ff7463)
2022-12-22 14:23:04 +01:00
Tomasz Chabora
3b7b860b18 Keep property values when extending script
(cherry picked from commit 44cf3c22acb140cc2f19f1062c0a4c0a931fd27b)
2022-12-22 14:19:58 +01:00
Anilforextra
522c324760 Enable material editor preview to be rotated.
(cherry picked from commit d4ee903004637b6ba12eef004a4d9006462c83b6)
2022-12-22 14:16:06 +01:00
kobewi
5269b803e5 Fix crash in EditorPropertyArray
(cherry picked from commit d80a2a89f07dfddc734c18ac8f565b968eb789c8)
2022-12-22 13:43:35 +01:00
94a9792d02 Rearranged ViewportNavigationControl. 2022-12-12 15:55:25 +01:00
422629c281 Bind ViewportNavigationControl::_on_mouse_entered. 2022-12-11 20:06:18 +01:00
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