Swap arguments of ResourceSaver.save()
This commit is contained in:
parent
ba3734e69a
commit
c3606cb5f3
57 changed files with 97 additions and 99 deletions
|
|
@ -84,7 +84,7 @@ Error ResourceImporterBMFont::import(const String &p_source_file, const String &
|
|||
}
|
||||
|
||||
print_verbose("Saving to: " + p_save_path + ".fontdata");
|
||||
err = ResourceSaver::save(p_save_path + ".fontdata", font, flg);
|
||||
err = ResourceSaver::save(font, p_save_path + ".fontdata", flg);
|
||||
ERR_FAIL_COND_V_MSG(err != OK, err, "Cannot save font to file \"" + p_save_path + ".res\".");
|
||||
print_verbose("Done saving to: " + p_save_path + ".fontdata");
|
||||
return OK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue