fix wrong texture type after resetting viewer

This commit is contained in:
Pig Fang 2020-05-01 08:38:39 +08:00
parent 1b7f14e0e0
commit 3ad2f93c82

View File

@ -78,6 +78,7 @@ const Viewer: React.FC<Props> = (props) => {
detectModel: false,
})
viewer.camera.position.z = initPositionZ
viewer.playerObject.skin.slim = props.isAlex
const animation = new skinview3d.CompositeAnimation()
stuffRef.current.handles = {