Fix options.detectModel not working

Cherry-Pick: 0545117c51
This commit is contained in:
yushijinhun 2018-08-16 19:35:16 +08:00
parent 77a1bd46d0
commit fc0e12587e
No known key found for this signature in database
GPG Key ID: 5BC167F73EA558E4
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ class SkinViewer {
constructor(options) {
this.domElement = options.domElement;
this.animation = options.animation || null;
this.detectModel = options.animation !== false; // true by default
this.detectModel = options.detectModel !== false; // true by default
this.animationPaused = false;
this.animationTime = 0;
this.disposed = false;