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:
parent
b6665c6c93
commit
be5adec286
1 changed files with 5 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue