Skip to content

Conversation

daametsi
Copy link

No description provided.

Airiel Salvatore and Robert Wallis and others added 6 commits June 22, 2018 17:05
comment out loadWeightAnimationsSampler data count mismatch
Update GLTFUnarchiver.swift
It looks like the code is meant for x,y,z with a stride, but our GLB has only x.
@brentchow
Copy link

brentchow commented Dec 1, 2018

Is this related to #20 ?

@brentchow
Copy link

Following the comment @daametsi left, commenting this out resolved #20 and rendered the model.

// Comment out to fix animations
guard dataLength == keyTimes.count else {
throw GLTFUnarchiveError.DataInconsistent("loadWeightAnimationsSampler: data count mismatch: \(dataLength) != \(keyTimes.count)")
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants