Initialize pointer variables to fix random crash on startup.
`configure_blender_dialog` is lazily created if equal to null, however nothing really sets it to null.
This commit is contained in:
parent
c630c2001d
commit
277825e956
1 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue