Merge pull request #5123 from zaps166/fix-editorassetlibrary-crash
EditorAssetLibrary: Don't call add_child() on uninitialized pointer
This commit is contained in:
commit
1dadaa4db3
|
@ -1282,8 +1282,6 @@ EditorAssetLibrary::EditorAssetLibrary(bool p_templates_only) {
|
|||
}
|
||||
|
||||
|
||||
library_vb->add_child(search_hb);
|
||||
|
||||
HBoxContainer *search_hb2 = memnew( HBoxContainer );
|
||||
library_main->add_child(search_hb2);
|
||||
|
||||
|
|
Loading…
Reference in New Issue