summaryrefslogtreecommitdiff
path: root/editor/import/resource_importer_bmfont.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-11-15 00:46:04 +0100
committerGitHub <noreply@github.com>2021-11-15 00:46:04 +0100
commit8bb163807a63ad4f5b6ea6469149252ea5304881 (patch)
tree88817f9593709cd78457912f7372d5f4141e78c8 /editor/import/resource_importer_bmfont.cpp
parent315e94ee2a3c8a5f3e68bba2a8ee82c1b4b31901 (diff)
parentcd2a4990844fac72ae624a51bb797716e69ce2c3 (diff)
Merge pull request #54976 from reduz/importer-options-by-path
Diffstat (limited to 'editor/import/resource_importer_bmfont.cpp')
-rw-r--r--editor/import/resource_importer_bmfont.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/import/resource_importer_bmfont.cpp b/editor/import/resource_importer_bmfont.cpp
index a64be54f2d..f54065416e 100644
--- a/editor/import/resource_importer_bmfont.cpp
+++ b/editor/import/resource_importer_bmfont.cpp
@@ -56,11 +56,11 @@ String ResourceImporterBMFont::get_resource_type() const {
return "FontData";
}
-bool ResourceImporterBMFont::get_option_visibility(const String &p_option, const Map<StringName, Variant> &p_options) const {
+bool ResourceImporterBMFont::get_option_visibility(const String &p_path, const String &p_option, const Map<StringName, Variant> &p_options) const {
return true;
}
-void ResourceImporterBMFont::get_import_options(List<ImportOption> *r_options, int p_preset) const {
+void ResourceImporterBMFont::get_import_options(const String &p_path, List<ImportOption> *r_options, int p_preset) const {
r_options->push_back(ImportOption(PropertyInfo(Variant::BOOL, "compress"), true));
}