Skip to content

Commit

Permalink
Play all ModelNode animations when autoAnimate = true
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasGorisse committed Jun 19, 2024
1 parent da2b348 commit fac4c1e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ open class ModelNode(
}
}
if (autoAnimate && animator.animationCount > 0) {
playAnimation(0)
for (i in 0 until animator.animationCount) { playAnimation(i) }
}
scaleToUnits?.let { scaleToUnitCube(it) }
centerOrigin?.let { centerOrigin(it) }
Expand Down

0 comments on commit fac4c1e

Please sign in to comment.