Skip to content

fix: don't warn with Invalid repetitionCount value: 1#5178

Open
vincentfretin wants to merge 1 commit into
google:masterfrom
vincentfretin:nowarn-repetitions-1
Open

fix: don't warn with Invalid repetitionCount value: 1#5178
vincentfretin wants to merge 1 commit into
google:masterfrom
vincentfretin:nowarn-repetitions-1

Conversation

@vincentfretin

Copy link
Copy Markdown
Contributor

Don't warn with Invalid repetitionCount value: 1. Using default: Infinity for valid modelViewer.appendAnimation(animName, { repetitions: 1 })

It actually just emitted the warning and kept repetitionCount to 1 anyway, the else branch was added in 305e07c in 4.2.0. There was no warning in 4.1.0.

…: Infinity' for valid modelViewer.appendAnimation(animName, { repetitions: 1 })

It actually just emitted the warning and kept repetitionCount to 1 anyway, the else branch was added in 305e07c
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.

1 participant