summaryrefslogtreecommitdiffstats
path: root/modules/gdnative/gd_native_library_editor.cpp
diff options
context:
space:
mode:
authorKarroffel <therzog@mail.de>2017-11-02 17:14:37 +0100
committerKarroffel <therzog@mail.de>2017-11-03 15:17:44 +0100
commitffc26692989d1a6b0114c927d507ce7ed39d99a9 (patch)
tree88ac705de9d0e77243ee669df640006634643cb6 /modules/gdnative/gd_native_library_editor.cpp
parentcefdb34f6c1af31048340182c10587099c39da44 (diff)
downloadredot-engine-ffc26692989d1a6b0114c927d507ce7ed39d99a9.tar.gz
[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());