You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-04 19:21:46 +00:00
Single Compilation Unit build.
Adds support for simple SCU build. This speeds up compilation by compiling multiple cpp files within a single translation unit.
This commit is contained in:
@@ -494,7 +494,7 @@ void TextEditor::_bind_methods() {
|
||||
ClassDB::bind_method("_prepare_edit_menu", &TextEditor::_prepare_edit_menu);
|
||||
}
|
||||
|
||||
static ScriptEditorBase *create_editor(const RES &p_resource) {
|
||||
ScriptEditorBase *TextEditor::create_editor(const RES &p_resource) {
|
||||
if (Object::cast_to<TextFile>(*p_resource)) {
|
||||
return memnew(TextEditor);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user