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