mirror of
https://github.com/lighttransport/tinyusdz.git
synced 2026-01-18 01:11:17 +01:00
- Add DestroyModelValue and CopyModelValue handlers in prim-types.cc for: - CustomDataType, Payload, Reference, Path types - std::vector<Payload>, std::vector<Reference>, std::vector<LayerOffset> - ListOp types (token, string, path, reference, payload) - VariantSelectionMap, TimeSamples - All MODEL types (Xform, GeomMesh, lights, shaders, skeleton, etc.) - MaterialX types (MtlxStandardSurface, MtlxOpenPBRSurface, etc.) - Imaging types (ShaderNode, UsdPreviewSurface, UsdUVTexture, etc.) - Add TYPE_ID_TOKEN_VECTOR and TYPE_ID_PATH_VECTOR to GetTypeName map in value-types.cc to fix type name resolution for dedicated vector types - Add MaterialXConfigAPI to supported API schemas list in ascii-parser.cc - Extend copy_data_from() and destroy() conditions in value-types.cc to call helper functions for prim-types defined types These changes fix memory leaks and type name resolution issues when using the new 32-byte Value implementation (TUSDZ_NEW_32BYTE_VALUE). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>