Merge pull request #60039 from HookJabs/catch-null-profile_def

This commit is contained in:
Rémi Verschelde 2022-04-11 19:59:48 +02:00 committed by GitHub
commit 4afa610017
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -209,6 +209,8 @@ void OpenXRInteractionProfileEditor::_add_io_path(VBoxContainer *p_container, co
}
void OpenXRInteractionProfileEditor::_update_interaction_profile() {
ERR_FAIL_NULL(profile_def);
// out with the old...
while (main_hb->get_child_count() > 0) {
memdelete(main_hb->get_child(0));