@eyepop.ai/eyepop-render-2d 3.25.1 → 3.25.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -591,9 +591,9 @@ var RenderFace = class {
|
|
|
591
591
|
this.style = style;
|
|
592
592
|
}
|
|
593
593
|
draw(element, xOffset, yOffset, xScale, yScale, streamTime) {
|
|
594
|
-
if (element.
|
|
595
|
-
for (let i = 0; i < element.
|
|
596
|
-
const mesh = element.
|
|
594
|
+
if (element.meshes) {
|
|
595
|
+
for (let i = 0; i < element.meshes.length; i++) {
|
|
596
|
+
const mesh = element.meshes[i];
|
|
597
597
|
if (mesh.category == "3d-face-mesh") {
|
|
598
598
|
this.render3dFaceMesh(mesh, xOffset, yOffset, xScale, yScale);
|
|
599
599
|
}
|