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
@ -84,11 +84,11 @@ class Label;
|
|||||||
class EditorFileSystemImportFormatSupportQueryBlend : public EditorFileSystemImportFormatSupportQuery {
|
class EditorFileSystemImportFormatSupportQueryBlend : public EditorFileSystemImportFormatSupportQuery {
|
||||||
GDCLASS(EditorFileSystemImportFormatSupportQueryBlend, EditorFileSystemImportFormatSupportQuery);
|
GDCLASS(EditorFileSystemImportFormatSupportQueryBlend, EditorFileSystemImportFormatSupportQuery);
|
||||||
|
|
||||||
ConfirmationDialog *configure_blender_dialog;
|
ConfirmationDialog *configure_blender_dialog = nullptr;
|
||||||
LineEdit *blender_path;
|
LineEdit *blender_path = nullptr;
|
||||||
Button *blender_path_browse;
|
Button *blender_path_browse = nullptr;
|
||||||
EditorFileDialog *browse_dialog;
|
EditorFileDialog *browse_dialog = nullptr;
|
||||||
Label *path_status;
|
Label *path_status = nullptr;
|
||||||
bool confirmed = false;
|
bool confirmed = false;
|
||||||
|
|
||||||
String auto_detected_path;
|
String auto_detected_path;
|
||||||
|
Loading…
Reference in New Issue
Block a user