Merge pull request #12796 from djrm/pr_some_virtual_classes

Expose some editor singletons as virtual
This commit is contained in:
Rémi Verschelde 2017-11-10 10:07:02 +01:00 committed by GitHub
commit 9a4a59ce13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -3263,11 +3263,11 @@ void EditorNode::register_editor_types() {
ClassDB::register_class<EditorScript>(); ClassDB::register_class<EditorScript>();
ClassDB::register_class<EditorSelection>(); ClassDB::register_class<EditorSelection>();
ClassDB::register_class<EditorFileDialog>(); ClassDB::register_class<EditorFileDialog>();
ClassDB::register_class<EditorSettings>(); ClassDB::register_virtual_class<EditorSettings>();
ClassDB::register_class<EditorSpatialGizmo>(); ClassDB::register_class<EditorSpatialGizmo>();
ClassDB::register_class<EditorResourcePreview>(); ClassDB::register_virtual_class<EditorResourcePreview>();
ClassDB::register_class<EditorResourcePreviewGenerator>(); ClassDB::register_class<EditorResourcePreviewGenerator>();
ClassDB::register_class<EditorFileSystem>(); ClassDB::register_virtual_class<EditorFileSystem>();
ClassDB::register_class<EditorFileSystemDirectory>(); ClassDB::register_class<EditorFileSystemDirectory>();
ClassDB::register_virtual_class<ScriptEditor>(); ClassDB::register_virtual_class<ScriptEditor>();
ClassDB::register_virtual_class<EditorInterface>(); ClassDB::register_virtual_class<EditorInterface>();