aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBłażej Szczygieł2016-06-03 19:52:07 +0200
committerBłażej Szczygieł2016-06-03 19:54:25 +0200
commit9acb666320a03d6f47b6bd43842488bdb921be9f (patch)
tree84b5f8220abae1a2794392542cb7b3ebb2782c1f /tools
parent9ed2084b420ef39d1ed2330047def39224b8a3ce (diff)
downloadgodot-9acb666320a03d6f47b6bd43842488bdb921be9f.tar.gz
godot-9acb666320a03d6f47b6bd43842488bdb921be9f.tar.zst
godot-9acb666320a03d6f47b6bd43842488bdb921be9f.zip
SampleLibraryEditor: Initialize "is_playing" variable
Fixes crash caused by jumping to wrong place due to uninitialized variable. Closes #4703
Diffstat (limited to 'tools')
-rw-r--r--tools/editor/plugins/sample_library_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/editor/plugins/sample_library_editor_plugin.cpp b/tools/editor/plugins/sample_library_editor_plugin.cpp
index f15a2834c..9e9ea09f6 100644
--- a/tools/editor/plugins/sample_library_editor_plugin.cpp
+++ b/tools/editor/plugins/sample_library_editor_plugin.cpp
@@ -357,7 +357,7 @@ SampleLibraryEditor::SampleLibraryEditor() {
file->connect("files_selected", this,"_file_load_request");
tree->connect("item_edited", this,"_item_edited");
-
+ is_playing = false;
}