Fix initializing skinview3d with specific model

This commit is contained in:
printempw 2018-08-08 17:23:35 +08:00
parent a53af2a328
commit 9e579a7cf4

View File

@ -22,6 +22,7 @@ function initSkinViewer(cameraPositionZ = 70) {
// Disable auto model detection
$.msp.viewer.detectModel = false;
$.msp.viewer.playerObject.skin.slim = $.msp.config.slim;
$.msp.viewer.animation = new skinview3d.CompositeAnimation();
// Init all available animations and pause them