From fc0e12587e0d8190c79c5826a50c478de14424e6 Mon Sep 17 00:00:00 2001 From: yushijinhun Date: Thu, 16 Aug 2018 19:35:16 +0800 Subject: [PATCH 1/3] Fix options.detectModel not working Cherry-Pick: 0545117c51382fa3cf8dde0bd45c42563343a04c --- src/viewer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viewer.js b/src/viewer.js index 6676933..3c06fb1 100644 --- a/src/viewer.js +++ b/src/viewer.js @@ -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; From f7ac8257cb51507be6ae41abb1d7c4de05f8310e Mon Sep 17 00:00:00 2001 From: yushijinhun Date: Tue, 21 Aug 2018 10:07:42 +0800 Subject: [PATCH 2/3] Update dependencies --- examples/index.html | 2 +- package-lock.json | 3933 ++++++++----------------------------------- package.json | 26 +- 3 files changed, 682 insertions(+), 3279 deletions(-) diff --git a/examples/index.html b/examples/index.html index 14da4d3..aa08c77 100644 --- a/examples/index.html +++ b/examples/index.html @@ -10,7 +10,7 @@
- +