diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-04-04 09:36:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-04 09:36:42 +0200 |
commit | 72b8aeb45c8e5be75f0094e8500849e322ad1506 (patch) | |
tree | 900e4f1f4a6a1dd08251f88a8543a3b5ef6181c5 | |
parent | 25d36e085bcf3acd086477009fcd61a5fa9b8f99 (diff) | |
parent | 277825e95633b8fba41265001cfd44a11157baee (diff) |
Merge pull request #59854 from Zylann/fix_blender_import_non_initialized_vars
Initialize pointer variables to fix random crash on startup.
-rw-r--r-- | modules/gltf/editor/editor_scene_importer_blend.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/gltf/editor/editor_scene_importer_blend.h b/modules/gltf/editor/editor_scene_importer_blend.h index 05e8a565f7..9a1b5f5803 100644 --- a/modules/gltf/editor/editor_scene_importer_blend.h +++ b/modules/gltf/editor/editor_scene_importer_blend.h @@ -84,11 +84,11 @@ class Label; class EditorFileSystemImportFormatSupportQueryBlend : public EditorFileSystemImportFormatSupportQuery { GDCLASS(EditorFileSystemImportFormatSupportQueryBlend, EditorFileSystemImportFormatSupportQuery); - ConfirmationDialog *configure_blender_dialog; - LineEdit *blender_path; - Button *blender_path_browse; - EditorFileDialog *browse_dialog; - Label *path_status; + ConfirmationDialog *configure_blender_dialog = nullptr; + LineEdit *blender_path = nullptr; + Button *blender_path_browse = nullptr; + EditorFileDialog *browse_dialog = nullptr; + Label *path_status = nullptr; bool confirmed = false; String auto_detected_path; |