Skip to content

Commit

Permalink
Change metadata to dictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresjames committed Oct 21, 2024
1 parent c91c716 commit 25e2962
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion GLTFKit2/GLTFKit2/GLTFSceneKit.m
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,7 @@ - (BOOL)convertAsset {
}
NSData *sourceData = GLTFSCNPackedDataForAccessor(attribute.accessor);
NSData *metacontent = GLTFSCNTransformPackedDataToFloat(sourceData, attribute.accessor);
[metadata[attribute.name] addObject:metacontent];
[metadata[attribute.name] addObject:@{@"data": metacontent}];
continue;
} else if ( [attribute.name isEqual:@"WEIGHTS_0"]
|| [attribute.name isEqual:@"JOINTS_0"]) {
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ let package = Package(
],
targets: [
.binaryTarget(name: "GLTFKit2",
url: "https://github.com/Sitelink-Spatial/GLTFKit2/releases/download/R6/GLTFKit2.xcframework.zip",
checksum: "9b68d6c18886298326e9d00ef46e9ddcf23ffeabc4e6b927a554eedd9a452716"
url: "https://github.com/Sitelink-Spatial/GLTFKit2/releases/download/R7/GLTFKit2.xcframework.zip",
checksum: "776fb573d9d1823fb8f4e08c9da83c54815819aaf86b72dd0fe429fc9b5bddab"
)
]
)

0 comments on commit 25e2962

Please sign in to comment.