Make sure .import folder exists before importing, in case user deleted it manually. Fixes #15315

This commit is contained in:
Juan Linietsky
2018-01-05 17:29:55 -03:00
parent db49f35ab8
commit bb2341e813
2 changed files with 13 additions and 1 deletions
-1
View File
@@ -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;