diff options
author | Rindbee <idleman@yeah.net> | 2022-07-01 20:03:40 +0800 |
---|---|---|
committer | Rindbee <idleman@yeah.net> | 2022-07-02 13:10:29 +0800 |
commit | d9709e151bfc3e0a41e8535307d80e0c8a3fbc62 (patch) | |
tree | 40fef6d414acc7c7381108739c3ac9feb44ede2c /editor/import/resource_importer_scene.h | |
parent | a2459c7d35eeaeea8b1d4fa9ce6c9cbe74f11643 (diff) | |
download | redot-engine-d9709e151bfc3e0a41e8535307d80e0c8a3fbc62.tar.gz |
Make import preview of blend files visible
Unlike other scene imports, the import of blend files requires options. Otherwise, the preview may not be visible.
Diffstat (limited to 'editor/import/resource_importer_scene.h')
-rw-r--r-- | editor/import/resource_importer_scene.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/import/resource_importer_scene.h b/editor/import/resource_importer_scene.h index c143e86bd4..b77c1dccb4 100644 --- a/editor/import/resource_importer_scene.h +++ b/editor/import/resource_importer_scene.h @@ -281,7 +281,7 @@ public: void _optimize_animations(AnimationPlayer *anim, float p_max_lin_error, float p_max_ang_error, float p_max_angle); void _compress_animations(AnimationPlayer *anim, int p_page_size_kb); - Node *pre_import(const String &p_source_file); + Node *pre_import(const String &p_source_file, const HashMap<StringName, Variant> &p_options); virtual Error import(const String &p_source_file, const String &p_save_path, const HashMap<StringName, Variant> &p_options, List<String> *r_platform_variants, List<String> *r_gen_files = nullptr, Variant *r_metadata = nullptr) override; virtual bool has_advanced_options() const override; |