Skip to content

Commit 74d0765

Browse files
committed
[USDA writer] Fix emitting empty asset name.
1 parent 6de7148 commit 74d0765

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/value-pprint.cc

+3-1
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,9 @@ std::ostream &operator<<(std::ostream &ofs,
459459
const tinyusdz::value::AssetPath &asset) {
460460
std::string in_s = asset.GetAssetPath();
461461

462-
if (!in_s.empty()) {
462+
if (in_s.empty()) {
463+
ofs << "@@";
464+
} else {
463465
std::string quote_str = "@";
464466

465467
std::string s;

0 commit comments

Comments
 (0)