diff --git a/src/libguc/src/fileFormat.cpp b/src/libguc/src/fileFormat.cpp index 06ffe9f..d723717 100644 --- a/src/libguc/src/fileFormat.cpp +++ b/src/libguc/src/fileFormat.cpp @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include @@ -103,7 +104,7 @@ SdfAbstractDataRefPtr UsdGlTFFileFormat::InitData(const FileFormatArguments& arg auto emitMtlxIt = args.find(_tokens->emitMtlx.GetText()); if (emitMtlxIt != args.end()) { - data->emitMtlx = (emitMtlxIt->second == "true"); + data->emitMtlx = TfUnstringify(emitMtlxIt->second); } return data;