Skip to content

Commit 10e9606

Browse files
authored
Merge pull request #119 from stephomi/patch-1
Write gltf root extras
2 parents 3c86b50 + f716477 commit 10e9606

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cgltf_write.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,6 +1084,8 @@ cgltf_size cgltf_write(const cgltf_options* options, char* buffer, cgltf_size si
10841084
cgltf_write_line(context, "]");
10851085
}
10861086

1087+
cgltf_write_extras(context, &data->extras);
1088+
10871089
CGLTF_SPRINTF("\n}\n");
10881090

10891091
// snprintf does not include the null terminator in its return value, so be sure to include it

0 commit comments

Comments
 (0)