From 4033e0cfd3a32165ef60e5491c38dc8f632c0c13 Mon Sep 17 00:00:00 2001 From: Sergio Acereda Date: Thu, 3 Oct 2024 13:51:11 +0200 Subject: [PATCH] Fix compilation when disabling USDC writer This path wasn't updated after commit f7aeae5357740ead838d9f3854527af299892ed9 --- src/usdc-writer.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/usdc-writer.cc b/src/usdc-writer.cc index d9bc89aa..d6a01bd1 100644 --- a/src/usdc-writer.cc +++ b/src/usdc-writer.cc @@ -567,10 +567,10 @@ bool SaveAsUSDCToMemory(const Stage &stage, std::vector *output, namespace tinyusdz { namespace usdc { -bool SaveAsUSDCToFile(const std::string &filename, const Scene &scene, +bool SaveAsUSDCToFile(const std::string &filename, const Stage &stage, std::string *warn, std::string *err) { (void)filename; - (void)scene; + (void)stage; (void)warn; if (err) { @@ -580,9 +580,9 @@ bool SaveAsUSDCToFile(const std::string &filename, const Scene &scene, return false; } -bool SaveAsUSDCToMemory(const Scene &scene, std::vector *output, +bool SaveAsUSDCToMemory(const Stage &stage, std::vector *output, std::string *warn, std::string *err) { - (void)scene; + (void)stage; (void)output; (void)warn;