You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed:
- Support for URL-encoded spaces (#162). See: [KhronosGroup/glTF#1449](KhronosGroup/glTF#1449).
- BufferView.byteOffset is Optional and can be None.
- Allow comparing int-based enum with int values.
Fixed:
- Ensure dataclasses install requirement is only applied for Python 3.6 in setup.py (dataclasses is available natively in Python 3.7+). This fixes an issue that can occur when this package is consumed in some scenarios (e.g., executable packaging).
Changed:
- Support non-conforming glTF/GLB files with wrong encoding for JSON data. Per the spec, glTF/GLB should
use UTF-8 without BOM. However, the library now also supports reading files encoded with UTF-8 with BOM,
UTF-16-LE, UTF-16-BE, and Windows-1252.
v1.0.4
Added:
- Added roundtrip tests for all models in the glTF-Sample-Models repository
- Added "extensionsUsed" and "extensionsRequired" properties to model
Changed:
- Create missing parent directories automatically when exporting the model (and its resources)
- Retain empty strings, lists, and dictionaries in the model when exporting (only remove properties set to None, leave everything else the same)
Fixed:
- Loosened type restrictions on "extensions" property to avoid error during load when the property is set