Commit Graph

121 Commits

Author SHA1 Message Date
ccb6074ca9 Backported the editor constrol changes for the new shortcut system from godot4. 2023-09-07 13:41:05 +02:00
9a2bf73280 Backported _shortcut_input() virtual from godot4. 2023-09-07 09:56:16 +02:00
62e2b1623a Use NULLs. 2023-08-30 13:24:46 +02:00
5d93975c8d Ported: Fix custom res caching sub-res even if no-cache
-Razoric480
2ceb93bbef
2023-08-30 12:55:37 +02:00
8ed3b41865 Re-extracted class docs. 2023-08-26 22:41:21 +02:00
834cbe8cef Ported: Single Compilation Unit build.
Adds support for simple SCU build.
This speeds up compilation by compiling multiple cpp files within a single translation unit.
- lawnjelly
43e181a00a
2023-07-11 16:07:36 +02:00
53d36345e6 Added back CSG support code I removed. 2023-07-11 12:23:46 +02:00
5f4bc29d13 Ported from godot: Expose the TextEdit control of the script editor
Refactor ScriptEditor and ScriptTextEditor with added method to retrieve the script editor's TextEdit control.

Update
doc/classes/ScriptEditor.xml
script_editor_plugin.cpp
script_editor_plugin.h
script_text_editor.cpp
script_text_editor.h

- jeronimo-schreyer
a248c318de
2023-06-28 18:36:52 +02:00
5879f0849f Fix codestyle warning. 2023-06-14 14:45:08 +02:00
1a5cba555c Backported godot4 PR: Support threads in the script debugger
* This implementation adds threads on the side of the client (script debugger).
* Some functions of the debugger are optimized.
* The profile is also now thread safe using atomics.
* The editor can switch between multiple threads when debugging.
This PR adds threaded support for the script language debugger. Every thread has its own thread local data and it will connect to the debugger using multiple thread IDs.
This means that, now, the editor can receive multiple threads entering debug mode at the same time.
- reduz
PR 76582
Will be available here after it's merged:
6b176671c4
2023-06-14 14:43:55 +02:00
24df83cd32 Added more newly extracted class docs. 2023-06-13 17:55:03 +02:00
b7a369a5e1 Add missing classes to the editor_code_editor module's class list. 2023-06-13 17:52:54 +02:00
0ef48bfbf9 gltf module doc classes small update. 2023-06-13 17:46:49 +02:00
34630ffd40 Fix registering types in the gltf module. 2023-06-13 17:35:54 +02:00
a7f1f3356c Re-extracted class docs pt2. 2023-06-13 16:51:37 +02:00
c850fde373 Ported: [3.x] Implement physics support in the GLTF module
- aaronfranke
571e4189fd
2023-05-01 12:46:55 +02:00
Haoyu Qiu
00f1096e87 Set the unlit / unshaded extension when importing / exporting GLTF
Co-authored-by: Hakim <hakim.rouatbi@gmail.com>
2023-04-10 09:50:55 +02:00
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
c3f01e0b3d Ported: Highlight control flow keywords with a different color. This makes them easier to distinguish from other keywords.
- Calinou
e905e8f145
2023-02-21 13:20:25 +01:00
1ea22f1779 Fix an another inconsistent override warning. 2023-02-21 01:39:16 +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
0edf8fe956 Ported: Convert syntax highlighters into a resource
- Paulb23
2f1080be9b
2023-02-20 14:51:10 +01:00
6b7f56fddb Renamed TextEditor to EditorTextEditor. 2023-02-18 16:58:47 +01:00
9490e255c7 Move EditorScriptEditor's doc. 2023-02-18 16:54:42 +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
de757b8b02 Renamed code_editor.h and .cpp to code_text_editor.h and .cpp. 2023-02-18 15:02:21 +01:00
cf2894324a Moved FindReplaceBar to it's own file. 2023-02-18 14:09:15 +01:00
1b0c1c14f0 Moved GotoLineDialog to it's own file. 2023-02-18 13:59:28 +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
9cd2927fcc Move the editor's script text editor into the new code_editor module. 2023-02-17 20:57:16 +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
227e32b67c Now modules make use of the new registration levels. 2023-01-15 17:04:00 +01:00
8075ef8e62 Added include guards to all module register_types.h-s. 2023-01-15 13:27:08 +01:00
358dbabb13 Moved the cvtt module to the editor modules folder, as it's tools only. 2023-01-15 11:56:13 +01:00
e9a19c1a66 Added module initialization levels (similar idea to what's in godot4, although I added more). 2023-01-15 11:46:13 +01:00
fc991ede18 Re-extracted class docs. 2023-01-14 13:38:58 +01:00
4b09cb47ab Fix typo. 2023-01-08 11:34:32 +01:00
302f815321 Ported: [3.x] GLTF: Fix wrong error macro used in a few spots - aaronfranke
ca898a7b77
2023-01-08 11:33:29 +01:00
b240df7df6 Updated more copyright headers for 2023. 2022-12-31 21:07:05 +01:00
b46ab0f4a7 Updated copyright headers to 2023. 2022-12-31 19:34:43 +01:00
cc7d77f3e1 Re-extracted class docs. 2022-12-22 19:28:17 +01:00
848d31bfdb Ported: [3.x] Backport the GLTFDocumentExtension system - aaronfranke
62e10daf70
2022-12-22 19:24:45 +01:00
fd3c23e04e Ported: [3.x] Backport moving camera and light logic to GLTF subclasses
- aaronfranke
a887f48d1d
2022-12-22 16:58:19 +01:00
4cc205301f Ported: [3.x] Consistently use p_ for parameters in GLTFDocument
- aaronfranke
d8b1c9ff3c
2022-12-11 20:00:56 +01:00
60b8bbf1ae Ported: [3.x] GLTF: Organize structures and extensions into subfolders
- aaronfranke
d8aa3b32c9
2022-12-11 19:39:24 +01:00
Hakim
607964e973 Prevent AnimationPlayer from being added on GLTF import if the option is unchecked. Fixes #63954
(cherry picked from commit 805ffdfbf6841ac19c6fdbf3425a6ff15115bed7)
2022-12-11 19:16:03 +01:00
615529eb6b Ported: [3.x] GLTF: Move shared defines into a separate gltf_defines.h file - aaronfranke
f1febed469
2022-11-30 15:50:09 +01:00
Aaron Franke
13b8c888a0 GLTF: Only list used extensions when they're actually used 2022-11-30 15:12:33 +01:00
41f130d9fd Re-extracted the class docs. 2022-11-20 23:27:04 +01:00
54643bc1fc Re-extracted class docs. 2022-10-09 12:43:55 +02:00
cd944e8bbe Added back GridMap support for the GLTF module. 2022-10-08 23:58:46 +02:00
9ee18ce581 Moved the gltf export to the convert scene menu. 2022-10-08 22:34:51 +02:00
0117097bb6 Fixed compile. 2022-10-08 17:56:50 +02:00
LunaticInAHat
8e301d27ba GLTF import external images correctly 2022-10-08 17:48:32 +02:00
The Tophat Demon
3b7eb818e3 GLTF imports & exports material texture filters 2022-10-08 17:48:13 +02:00
32a37f081e Fixed PluginRefresher when a project only has one addon. 2022-10-04 18:10:27 +02:00
e558e0f700 Fix build when the new skeleton 3d module is disabled. 2022-08-28 16:01:50 +02:00
dc28777321 Moved Skeleton and it's related classes to a module. 2022-08-28 15:46:12 +02:00
a1974c8338 Re-extracted the class docs. 2022-08-23 13:09:12 +02:00
714547cb17 Re-extracted class docs. 2022-08-21 00:40:49 +02:00
8108324700 Fix doc class strings, and add missing ones. 2022-08-21 00:32:32 +02:00
07d3771a12 Register text editor's resource format loader similarly to other engine ResourceFormatLoaders. 2022-08-20 02:05:46 +02:00
bafd6d1d8d Renamed AFTER_GUI_INPUT_DESELECT to AFTER_GUI_INPUT_NO_DESELECT. 2022-08-20 01:01:18 +02:00
a21352637e Fix infinite loop when reparenting bones in the bone editor. Also fixed issues with bones sometimes returning incorrect children. 2022-08-19 23:46:14 +02:00
95767b2cea Moved the editor only modules to a new editor_modules folder. 2022-08-19 22:46:53 +02:00