summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-10-02 21:04:30 +0200
committerGitHub <noreply@github.com>2019-10-02 21:04:30 +0200
commit893ebd3080225eeeecd4b52920df99d5c53484f7 (patch)
tree05a3dc3629674ca56fe82193cbd1cd709cdc51ca
parente4fdee1075d0a84705b63f599f312544cf3f3f8b (diff)
parentc287f220ced4cb04623797406a30e8264800ded5 (diff)
Merge pull request #32498 from godotengine/revert-32434-script-class-no-plugins
Revert "Fix plugin script classes defined even if inactive."
-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++) {