summaryrefslogtreecommitdiff
path: root/modules/gdnative/gd_native_library_editor.cpp
diff options
context:
space:
mode:
authorThomas Herzog <thomas.herzog@mail.com>2017-11-14 15:34:07 +0100
committerGitHub <noreply@github.com>2017-11-14 15:34:07 +0100
commitbd2b1a62d9d6f97ebfa7457ab3e84ae839531bdb (patch)
tree2594fc77cd508c9b570c97b9f47e7ed8a45781dd /modules/gdnative/gd_native_library_editor.cpp
parentf83b73be132d0e75272fd47899bc2d24d1285a39 (diff)
parentd82942e1c5716961bf921de7795becfa0cd05807 (diff)
Merge pull request #12586 from karroffel/gdnative-gdnlibrary-changes
[GDNative] use feature tags, added load once option
Diffstat (limited to 'modules/gdnative/gd_native_library_editor.cpp')
-rw-r--r--modules/gdnative/gd_native_library_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdnative/gd_native_library_editor.cpp b/modules/gdnative/gd_native_library_editor.cpp
index c37b7f473d..fda5dcdcad 100644
--- a/modules/gdnative/gd_native_library_editor.cpp
+++ b/modules/gdnative/gd_native_library_editor.cpp
@@ -44,7 +44,7 @@ void GDNativeLibraryEditor::_find_gdnative_singletons(EditorFileSystemDirectory
}
Ref<GDNativeLibrary> lib = ResourceLoader::load(p_dir->get_file_path(i));
- if (lib.is_valid() && lib->is_singleton_gdnative()) {
+ if (lib.is_valid() && lib->is_singleton()) {
String path = p_dir->get_file_path(i);
TreeItem *ti = libraries->create_item(libraries->get_root());
ti->set_text(0, path.get_file());