diff options
| author | Thomas Herzog | 2017-11-14 15:34:07 +0100 |
|---|---|---|
| committer | GitHub | 2017-11-14 15:34:07 +0100 |
| commit | bd2b1a62d9d6f97ebfa7457ab3e84ae839531bdb (patch) | |
| tree | 2594fc77cd508c9b570c97b9f47e7ed8a45781dd /modules/gdnative/gd_native_library_editor.cpp | |
| parent | f83b73be132d0e75272fd47899bc2d24d1285a39 (diff) | |
| parent | d82942e1c5716961bf921de7795becfa0cd05807 (diff) | |
| download | godot-bd2b1a62d9d6f97ebfa7457ab3e84ae839531bdb.tar.gz godot-bd2b1a62d9d6f97ebfa7457ab3e84ae839531bdb.tar.zst godot-bd2b1a62d9d6f97ebfa7457ab3e84ae839531bdb.zip | |
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.cpp | 2 |
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 c37b7f473..fda5dcdca 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()); |
