Skip to content

Commit

Permalink
fix(FaceControls): overridable facemesh children (#2258)
Browse files Browse the repository at this point in the history
  • Loading branch information
abernier authored Dec 7, 2024
1 parent 18f398a commit 039798c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/web/FaceControls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ export const FaceControls = /* @__PURE__ */ forwardRef<FaceControlsApi, FaceCont

<Facemesh
ref={facemeshApiRef}
children={<meshNormalMaterial side={THREE.DoubleSide} />}
{...facemesh}
points={points}
depth={depth}
Expand All @@ -296,9 +297,7 @@ export const FaceControls = /* @__PURE__ */ forwardRef<FaceControlsApi, FaceCont
debug={debug}
rotation-z={Math.PI}
visible={debug}
>
<meshBasicMaterial side={THREE.DoubleSide} />
</Facemesh>
/>
</FaceControlsContext.Provider>
)
}
Expand Down

0 comments on commit 039798c

Please sign in to comment.