From e82501d79099c14c14d73c8419fb91faa1f78c97 Mon Sep 17 00:00:00 2001 From: Stewart Allen Date: Sat, 15 Jan 2022 15:08:36 -0500 Subject: [PATCH] split requires translation --- src/mesh/work.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mesh/work.js b/src/mesh/work.js index 9b30819a..8ae20507 100644 --- a/src/mesh/work.js +++ b/src/mesh/work.js @@ -86,8 +86,7 @@ let model = { let { id, matrix, z } = data; let o1 = []; let o2 = []; - // let pos = translate_encode(id, matrix); - let pos = cache[id].geo.attributes.position.array; + let pos = translate_encode(id, matrix); for (let i=0, l=pos.length; i