Skip to content

Commit

Permalink
Merge pull request #11 from readyplayerme/hotfix/mutate-pose
Browse files Browse the repository at this point in the history
fix(avatar): mutatepose props fixed
  • Loading branch information
BDenysovets authored Jul 31, 2022
2 parents e9e7677 + 28c34d3 commit 6d529f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Models/PoseModel/PoseModel.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const PoseModel: FC<PoseModelProps> = ({ modelUrl, poseUrl, modelRef, sca
const pose = useLoader(GLTFLoader, poseUrl);
const { nodes: sourceNodes } = useGraph(pose.scene);

mutatePose(sourceNodes, nodes);
mutatePose(nodes, sourceNodes);
useEmotion(nodes, emotion);

return <Model modelRef={modelRef} scene={scene} scale={scale} />;
Expand Down

0 comments on commit 6d529f7

Please sign in to comment.