summaryrefslogtreecommitdiffstats
path: root/editor/import/resource_importer_bitmask.cpp
diff options
context:
space:
mode:
authorJuan Linietsky <juan@godotengine.org>2019-02-26 18:43:37 -0300
committerJuan Linietsky <juan@godotengine.org>2019-02-26 18:45:06 -0300
commitf669ebeeaf75a00b4c66dc92f62bd5030cb11660 (patch)
tree8673a26d3087fd9885358bc64161e4445992800e /editor/import/resource_importer_bitmask.cpp
parent3b0f3016609d4915b430738125b85a16188f1691 (diff)
downloadredot-engine-f669ebeeaf75a00b4c66dc92f62bd5030cb11660.tar.gz
-Properly handle missing ETC support on export
-Added ability for resource importers to save metadata -Added ability for resource importers to validate depending on project settings
Diffstat (limited to 'editor/import/resource_importer_bitmask.cpp')
-rw-r--r--editor/import/resource_importer_bitmask.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/import/resource_importer_bitmask.cpp b/editor/import/resource_importer_bitmask.cpp
index b568cbda9b..18e53fc783 100644
--- a/editor/import/resource_importer_bitmask.cpp
+++ b/editor/import/resource_importer_bitmask.cpp
@@ -78,7 +78,7 @@ void ResourceImporterBitMap::get_import_options(List<ImportOption> *r_options, i
r_options->push_back(ImportOption(PropertyInfo(Variant::REAL, "threshold", PROPERTY_HINT_RANGE, "0,1,0.01"), 0.5));
}
-Error ResourceImporterBitMap::import(const String &p_source_file, const String &p_save_path, const Map<StringName, Variant> &p_options, List<String> *r_platform_variants, List<String> *r_gen_files) {
+Error ResourceImporterBitMap::import(const String &p_source_file, const String &p_save_path, const Map<StringName, Variant> &p_options, List<String> *r_platform_variants, List<String> *r_gen_files, Variant *r_metadata) {
int create_from = p_options["create_from"];
float threshold = p_options["threshold"];