summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-10-02 19:17:59 +0200
committerGitHub <noreply@github.com>2019-10-02 19:17:59 +0200
commitc287f220ced4cb04623797406a30e8264800ded5 (patch)
tree7c7e565a9e7ac44f83adc4ac7181399762b34530 /editor
parentf9e9cc94cdfcf1bc1dd43e9d61e1394908835099 (diff)
Revert "Fix plugin script classes defined even if inactive."
Diffstat (limited to 'editor')
-rw-r--r--editor/editor_file_system.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/editor/editor_file_system.cpp b/editor/editor_file_system.cpp
index 5ea7081667..3663bdee27 100644
--- a/editor/editor_file_system.cpp
+++ b/editor/editor_file_system.cpp
@@ -1411,9 +1411,6 @@ String EditorFileSystem::_get_global_script_class(const String &p_type, const St
}
void EditorFileSystem::_scan_script_classes(EditorFileSystemDirectory *p_dir) {
- if (p_dir->parent && p_dir->parent->name == "addons" && !EditorNode::get_singleton()->is_addon_plugin_enabled(p_dir->name)) {
- return;
- }
int filecount = p_dir->files.size();
const EditorFileSystemDirectory::FileInfo *const *files = p_dir->files.ptr();
for (int i = 0; i < filecount; i++) {