Skip to content

Commit 65e2d35

Browse files
authored
Merge pull request #191 from sacereda/fix-usdc-writer
Fix compilation when disabling USDC writer
2 parents 53621eb + 4033e0c commit 65e2d35

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/usdc-writer.cc

+4-4
Original file line numberDiff line numberDiff line change
@@ -567,10 +567,10 @@ bool SaveAsUSDCToMemory(const Stage &stage, std::vector<uint8_t> *output,
567567
namespace tinyusdz {
568568
namespace usdc {
569569

570-
bool SaveAsUSDCToFile(const std::string &filename, const Scene &scene,
570+
bool SaveAsUSDCToFile(const std::string &filename, const Stage &stage,
571571
std::string *warn, std::string *err) {
572572
(void)filename;
573-
(void)scene;
573+
(void)stage;
574574
(void)warn;
575575

576576
if (err) {
@@ -580,9 +580,9 @@ bool SaveAsUSDCToFile(const std::string &filename, const Scene &scene,
580580
return false;
581581
}
582582

583-
bool SaveAsUSDCToMemory(const Scene &scene, std::vector<uint8_t> *output,
583+
bool SaveAsUSDCToMemory(const Stage &stage, std::vector<uint8_t> *output,
584584
std::string *warn, std::string *err) {
585-
(void)scene;
585+
(void)stage;
586586
(void)output;
587587
(void)warn;
588588

0 commit comments

Comments
 (0)