You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
catch null profile_def causing crash on startup
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user