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.
This commit is contained in:
Rémi Verschelde 2017-07-25 22:29:42 +02:00
parent b6665c6c93
commit be5adec286

View file

@ -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);