Selaa lähdekoodia

Fix uninitialized value

Fabio Alessandrelli 6 vuotta sitten
vanhempi
commit
1aa1f42963
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      editor/plugins/asset_library_editor_plugin.cpp

+ 1 - 0
editor/plugins/asset_library_editor_plugin.cpp

@@ -1338,6 +1338,7 @@ void EditorAssetLibrary::_bind_methods() {
 
 EditorAssetLibrary::EditorAssetLibrary(bool p_templates_only) {
 
+	requesting = REQUESTING_NONE;
 	templates_only = p_templates_only;
 
 	VBoxContainer *library_main = memnew(VBoxContainer);