Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug/xcode 10 fix #28

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

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