check "disable_filter" option for backward compatibility
This commit is contained in:
parent
449ad2b37a
commit
85f373691f
1 changed files with 3 additions and 0 deletions
|
|
@ -1592,6 +1592,9 @@ Ref<BitmapFont> EditorFontImportPlugin::generate_font(const Ref<ResourceImportMe
|
|||
int top_space = from->get_option("extra_space/top");
|
||||
int bottom_space = from->get_option("extra_space/bottom");
|
||||
bool enable_filter = from->get_option("advanced/enable_filter");
|
||||
if (from->has_option("advanced/disable_filter")){ // this is a compatibility check for a deprecated option
|
||||
enable_filter = !from->get_option("advanced/disable_filter");
|
||||
}
|
||||
|
||||
Ref<BitmapFont> font;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue