Merge pull request #59854 from Zylann/fix_blender_import_non_initialized_vars

Initialize pointer variables to fix random crash on startup.
This commit is contained in:
Rémi Verschelde 2022-04-04 09:36:42 +02:00 committed by GitHub
commit 72b8aeb45c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -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;