diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-07-25 22:29:42 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2017-07-25 22:29:42 +0200 |
commit | be5adec2868983d2ec958e626ba451fbfba0b761 (patch) | |
tree | fc7380f19c7e918d34e657a9f4082e594473a971 /editor/asset_library_editor_plugin.cpp | |
parent | b6665c6c937d1371f7e99772f8de08828593b3cc (diff) |
Temporarily disable the Asset Library
Currently it features only plugins for Godot 2.1.x, we need #7147 fixed
to be able to propose only 3.0-compatible plugins in the Asset Library.
Diffstat (limited to 'editor/asset_library_editor_plugin.cpp')
-rw-r--r-- | editor/asset_library_editor_plugin.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/editor/asset_library_editor_plugin.cpp b/editor/asset_library_editor_plugin.cpp index 74e21b31ea..f92b70d0c0 100644 --- a/editor/asset_library_editor_plugin.cpp +++ b/editor/asset_library_editor_plugin.cpp @@ -1334,10 +1334,13 @@ EditorAssetLibrary::EditorAssetLibrary(bool p_templates_only) { search_hb2->add_child(memnew(Label(TTR("Site:") + " "))); repository = memnew(OptionButton); + // FIXME: Reenable me once GH-7147 is fixed. + /* repository->add_item("godotengine.org"); repository->set_item_metadata(0, "https://godotengine.org/asset-library/api"); - repository->add_item("localhost"); // TODO: Maybe remove? - repository->set_item_metadata(1, "http://127.0.0.1/asset-library/api"); + */ + repository->add_item("localhost"); + repository->set_item_metadata(/*1*/ 0, "http://127.0.0.1/asset-library/api"); repository->connect("item_selected", this, "_repository_changed"); search_hb2->add_child(repository); |