summaryrefslogtreecommitdiff
path: root/editor/import
diff options
context:
space:
mode:
authorAndreas Haas <liu.gam3@gmail.com>2017-05-20 22:49:34 +0200
committerAndreas Haas <liu.gam3@gmail.com>2017-05-22 20:50:59 +0200
commit4d8e45de17ce548601b5a9ef474197eff098a576 (patch)
tree3b1a8136a45b1951fb8a6eb437af87d66bf62f2c /editor/import
parentab938a930f865196983dc0554533f66bc71c43a1 (diff)
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.
Diffstat (limited to 'editor/import')
-rw-r--r--editor/import/resource_importer_csv_translation.cpp2
1 files changed, 1 insertions, 1 deletions
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<StringName, Variant> &p_options) const {