Skip to content

Commit

Permalink
Temporary patches for lottie support.
Browse files Browse the repository at this point in the history
  • Loading branch information
fire committed Feb 11, 2025
1 parent bcb0af6 commit c1c0460
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/svg/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ env_svg.Prepend(CPPPATH=[thirdparty_dir + "inc"])
env_svg.Append(CPPDEFINES=["TVG_STATIC"])

if env.editor_build:
env_svg.Append(CPPDEFINES=["THORVG_LOTTIE_LOADER_SUPPORT", "LOTTIE_ENABLED"])
env_svg.Append(CPPDEFINES=["THORVG_LOTTIE_LOADER_SUPPORT", "LOTTIE_ENABLED", "THORVG_FILE_IO_SUPPORT"])

env_thirdparty = env_svg.Clone()
env_thirdparty.disable_warnings()
Expand Down
1 change: 1 addition & 0 deletions modules/svg/editor/resource_importer_lottie.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ bool ResourceImporterLottie::get_option_visibility(const String &p_path, const S
void ResourceImporterLottie::get_recognized_extensions(List<String> *p_extensions) const {
p_extensions->push_back("lottiejson");
p_extensions->push_back("lottie");
p_extensions->push_back("lot");
}

String ResourceImporterLottie::get_save_extension() const {
Expand Down

0 comments on commit c1c0460

Please sign in to comment.