mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-07-16 14:11:50 +08: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.