summaryrefslogtreecommitdiff
path: root/editor/audio_stream_preview.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/audio_stream_preview.h')
-rw-r--r--editor/audio_stream_preview.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/audio_stream_preview.h b/editor/audio_stream_preview.h
index 97a582836c..300f1dc5ca 100644
--- a/editor/audio_stream_preview.h
+++ b/editor/audio_stream_preview.h
@@ -60,9 +60,9 @@ class AudioStreamPreviewGenerator : public Node {
Ref<AudioStreamPreview> preview;
Ref<AudioStream> base_stream;
Ref<AudioStreamPlayback> playback;
- volatile bool generating;
+ volatile bool generating = false;
ObjectID id;
- Thread *thread;
+ Thread *thread = nullptr;
};
Map<ObjectID, Preview> previews;