diff options
author | Juan Linietsky <reduzio@gmail.com> | 2019-04-19 15:54:33 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2019-04-19 15:56:34 -0300 |
commit | 04847ef5f98d9a20a72286c44cc26302ec82dec5 (patch) | |
tree | 415be73cb62786cd514ce4220de2af64f9e07831 /editor/editor_node.cpp | |
parent | 8e652a1400ee20b99cf4829e8b4883fe3f254d59 (diff) | |
download | redot-engine-04847ef5f98d9a20a72286c44cc26302ec82dec5.tar.gz |
Added ability for multiple images to be imported as an atlas
This adds support for groups in the import system, which point to a single file.
Add property hint for saving files in file field
Diffstat (limited to 'editor/editor_node.cpp')
-rw-r--r-- | editor/editor_node.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 851d6a0aa6..b729de2e2f 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -65,6 +65,7 @@ #include "editor/import/resource_importer_obj.h" #include "editor/import/resource_importer_scene.h" #include "editor/import/resource_importer_texture.h" +#include "editor/import/resource_importer_texture_atlas.h" #include "editor/import/resource_importer_wav.h" #include "editor/plugins/animation_blend_space_1d_editor.h" #include "editor/plugins/animation_blend_space_2d_editor.h" @@ -5121,6 +5122,10 @@ EditorNode::EditorNode() { import_image.instance(); ResourceFormatImporter::get_singleton()->add_importer(import_image); + Ref<ResourceImporterTextureAtlas> import_texture_atlas; + import_texture_atlas.instance(); + ResourceFormatImporter::get_singleton()->add_importer(import_texture_atlas); + Ref<ResourceImporterCSVTranslation> import_csv_translation; import_csv_translation.instance(); ResourceFormatImporter::get_singleton()->add_importer(import_csv_translation); |