mirror of
https://github.com/syoyo/tinygltf.git
synced 2026-08-12 16:29:41 +00:00
Modifies UpdateImageObject() so that Returning false from the WriteImageDataFunction callback results in the WriteGltfScene*() call returning false. Does not call WriteImageDataFunction if there is no image data. Adds test case serialize-image-failure to verify the callback return code is able to cause an overall failure to save the gltf.