From 5fbcb80170c4e2ac43c1eda2909d0d0b7a5a125f Mon Sep 17 00:00:00 2001 From: Lyuma Date: Thu, 2 Feb 2023 13:41:04 -0800 Subject: Use reimport_append api for importing embedded gltf images Co-authored-by: K. S. Ernest (iFire) Lee --- editor/editor_file_system.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'editor/editor_file_system.h') diff --git a/editor/editor_file_system.h b/editor/editor_file_system.h index 79101813ac..0d558c84c5 100644 --- a/editor/editor_file_system.h +++ b/editor/editor_file_system.h @@ -242,7 +242,7 @@ class EditorFileSystem : public Node { void _update_extensions(); - Error _reimport_file(const String &p_file, const HashMap *p_custom_options = nullptr, const String &p_custom_importer = String()); + Error _reimport_file(const String &p_file, const HashMap &p_custom_options = HashMap(), const String &p_custom_importer = String(), Variant *generator_parameters = nullptr); Error _reimport_group(const String &p_group_file, const Vector &p_files); bool _test_for_reimport(const String &p_path, bool p_only_imported_files); @@ -315,7 +315,7 @@ public: EditorFileSystemDirectory *find_file(const String &p_file, int *r_index) const; void reimport_files(const Vector &p_files); - Error reimport_append(const String &p_file, const HashMap &p_custom_options, const String &p_custom_importer = String()); + Error reimport_append(const String &p_file, const HashMap &p_custom_options, const String &p_custom_importer, Variant p_generator_parameters); void reimport_file_with_custom_parameters(const String &p_file, const String &p_importer, const HashMap &p_custom_params); -- cgit v1.2.3