diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-02-01 20:41:05 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-02-01 20:41:05 -0300 |
commit | b3aebcf6dfa72dcb4a151b7b17c52ecd0ec5d6f7 (patch) | |
tree | f04f40d4489b3b32713171a9faa39add0f5bd72e /tools/editor/editor_node.cpp | |
parent | 2cd2ca7bbc892eccc635b1c4aea80c956c9b92dc (diff) |
CSV translation import plugin
Diffstat (limited to 'tools/editor/editor_node.cpp')
-rw-r--r-- | tools/editor/editor_node.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/editor/editor_node.cpp b/tools/editor/editor_node.cpp index 56384fb32d..a51507e96f 100644 --- a/tools/editor/editor_node.cpp +++ b/tools/editor/editor_node.cpp @@ -100,6 +100,7 @@ #include "plugins/collision_shape_2d_editor_plugin.h" #include "plugins/gi_probe_editor_plugin.h" #include "import/resource_import_texture.h" +#include "import/resource_importer_csv_translation.h" // end #include "editor_settings.h" #include "io_plugins/editor_texture_import_plugin.h" @@ -422,11 +423,11 @@ void EditorNode::_fs_changed() { } if (changed.size()) { - EditorProgress ep("reload_res","Reload Modified Resources",changed.size()); + //EditorProgress ep("reload_res","Reload Modified Resources",changed.size()); int idx=0; for(List<Ref<Resource> >::Element *E=changed.front();E;E=E->next()) { - ep.step(E->get()->get_path(),idx++); + //ep.step(E->get()->get_path(),idx++); E->get()->reload_from_file(); } } @@ -5120,6 +5121,11 @@ EditorNode::EditorNode() { Ref<ResourceImporterTexture> import_texture; import_texture.instance(); ResourceFormatImporter::get_singleton()->add_importer(import_texture); + + Ref<ResourceImporterCSVTranslation> import_csv_translation; + import_csv_translation.instance(); + ResourceFormatImporter::get_singleton()->add_importer(import_csv_translation); + } _pvrtc_register_compressors(); |