1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-28 16:07:14 +00:00

Add SVGTexture importer.

This commit is contained in:
Pāvels Nadtočajevs
2025-04-22 18:42:59 +03:00
parent 931820d33c
commit 15cecfdac5
8 changed files with 208 additions and 5 deletions

View File

@@ -128,6 +128,7 @@
#include "editor/import/resource_importer_imagefont.h"
#include "editor/import/resource_importer_layered_texture.h"
#include "editor/import/resource_importer_shader_file.h"
#include "editor/import/resource_importer_svg.h"
#include "editor/import/resource_importer_texture.h"
#include "editor/import/resource_importer_texture_atlas.h"
#include "editor/import/resource_importer_wav.h"
@@ -7275,6 +7276,10 @@ EditorNode::EditorNode() {
import_image.instantiate();
ResourceFormatImporter::get_singleton()->add_importer(import_image);
Ref<ResourceImporterSVG> import_svg;
import_svg.instantiate();
ResourceFormatImporter::get_singleton()->add_importer(import_svg);
Ref<ResourceImporterTextureAtlas> import_texture_atlas;
import_texture_atlas.instantiate();
ResourceFormatImporter::get_singleton()->add_importer(import_texture_atlas);