From 4d8e45de17ce548601b5a9ef474197eff098a576 Mon Sep 17 00:00:00 2001 From: Andreas Haas Date: Sat, 20 May 2017 22:49:34 +0200 Subject: Fix errors on engine startup. Fixes a bunch of the most spammy console errors introduced by recent refactorings: - `AudioServerState` does not exist, this was the reference to it in the source. The surrounding code made it clear that `AudioServerLayout` was meant to be used instead. - `StreamCSVTranslation` same here, it's the only reference. I went with `Translation` here, but I'm not 100% sure on this one. - Some methods have been moved from `Texture` to `Image`, but the old bindings were still there. - A few `name == ""` errors related to duplicating nodes. --- editor/import/resource_importer_csv_translation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/import') diff --git a/editor/import/resource_importer_csv_translation.cpp b/editor/import/resource_importer_csv_translation.cpp index ea43477dc3..85d446f38a 100644 --- a/editor/import/resource_importer_csv_translation.cpp +++ b/editor/import/resource_importer_csv_translation.cpp @@ -54,7 +54,7 @@ String ResourceImporterCSVTranslation::get_save_extension() const { String ResourceImporterCSVTranslation::get_resource_type() const { - return "StreamCSVTranslation"; + return "Translation"; } bool ResourceImporterCSVTranslation::get_option_visibility(const String &p_option, const Map &p_options) const { -- cgit v1.2.3