Skip to content

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

Merged
diegoteran merged 1 commit into
google:masterfrom
vincentfretin:nowarn-repetitions-1
Jun 16, 2026
Merged

fix: don't warn with Invalid repetitionCount value: 1#5178
diegoteran merged 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

@diegoteran diegoteran left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

@diegoteran diegoteran merged commit ff3f3ca into google:master Jun 16, 2026
7 checks passed
@vincentfretin vincentfretin deleted the nowarn-repetitions-1 branch June 17, 2026 06:22
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.

2 participants