gltf-codec 0.1.0.2 → 0.1.0.3
raw patch · 3 files changed
+9/−4 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- ChangeLog.md +5/−0
- gltf-codec.cabal +2/−2
- src/Codec/GlTF/TextureInfo.hs +2/−2
ChangeLog.md view
@@ -1,5 +1,9 @@ # Changelog for `gltf-codec` +## [0.1.0.3] - 2021-01-22++* Fixed `TextureInfo` parsing.+ ## [0.1.0.2] - 2021-01-22 * Added `fromByteString` for GlTF and GLB data.@@ -12,6 +16,7 @@ * Initial import. +[0.1.0.3]: https://gitlab.com/dpwiz/gltf/tree/v0.1.0.3 [0.1.0.2]: https://gitlab.com/dpwiz/gltf/tree/v0.1.0.2 [0.1.0.1]: https://gitlab.com/dpwiz/gltf/tree/v0.1.0.1 [0.1.0.0]: https://gitlab.com/dpwiz/gltf/tree/v0.1.0.0
gltf-codec.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 2f52be424a4774dd085e4a5a0c1bc5235726c9e9e754b1a11fe95bcb0b5a2519+-- hash: eecdd6a65cd0a403f8820c58fe68df53c4088222beb71ada1d5712fc482109fe name: gltf-codec-version: 0.1.0.2+version: 0.1.0.3 synopsis: glTF scene loader description: The package provides basic types to process JSON and "binary" files. No further conversion is performed to keep dependencies to a minimum.
src/Codec/GlTF/TextureInfo.hs view
@@ -30,8 +30,8 @@ instance (FromJSON a) => FromJSON (TextureInfo a) where parseJSON = withObject "TextureInfo" \o -> do- index <- o .:? "extensions" .!= 0- texCoord <- o .:? "extras" .!= 0+ index <- o .:? "index" .!= 0+ texCoord <- o .:? "texCoord" .!= 0 subtype <- parseJSON (Object o) extensions <- o .:? "extensions" extras <- o .:? "extras"