From bb2341e813a14f8e4c272765c4db9584b6c5c9b1 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Fri, 5 Jan 2018 17:29:55 -0300 Subject: Make sure .import folder exists before importing, in case user deleted it manually. Fixes #15315 --- editor/import/resource_importer_wav.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'editor/import') diff --git a/editor/import/resource_importer_wav.cpp b/editor/import/resource_importer_wav.cpp index f73c7ebfd8..12aa0bb33c 100644 --- a/editor/import/resource_importer_wav.cpp +++ b/editor/import/resource_importer_wav.cpp @@ -389,7 +389,6 @@ Error ResourceImporterWAV::import(const String &p_source_file, const String &p_s new_data.resize((last - first + 1) * format_channels); for (int i = first * format_channels; i < (last + 1) * format_channels; i++) { new_data[i - first * format_channels] = data[i]; - setc++; } data = new_data; -- cgit v1.2.3