Merge pull request #60039 from HookJabs/catch-null-profile_def
This commit is contained in:
commit
4afa610017
1 changed files with 2 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue