From 3ad2f93c82ea9823decd4d044e51165b065f5766 Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Fri, 1 May 2020 08:38:39 +0800 Subject: [PATCH] fix wrong texture type after resetting viewer --- resources/assets/src/components/Viewer.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/assets/src/components/Viewer.tsx b/resources/assets/src/components/Viewer.tsx index f6d037b2..dfe9947f 100644 --- a/resources/assets/src/components/Viewer.tsx +++ b/resources/assets/src/components/Viewer.tsx @@ -78,6 +78,7 @@ const Viewer: React.FC = (props) => { detectModel: false, }) viewer.camera.position.z = initPositionZ + viewer.playerObject.skin.slim = props.isAlex const animation = new skinview3d.CompositeAnimation() stuffRef.current.handles = {