Skip to content

Commit

Permalink
moc3: consistency - scales array contains value elements, not scale e…
Browse files Browse the repository at this point in the history
…lements
  • Loading branch information
Ronsor committed Aug 18, 2023
1 parent 3caf34e commit ce40fd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion format/moc3/moc3.go
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ func decodeMOC3(d *decode.D) any {
d.SeekAbs(sectionOffsets.rotationDeformerKeyforms.scales * 8)
d.FieldArray("scales", func(d *decode.D) {
for i := int64(0); i < countInfo.rotationDeformerKeyforms; i++ {
d.FieldF32("scale")
d.FieldF32("value")
}
})

Expand Down

0 comments on commit ce40fd1

Please sign in to comment.