convert preview path to async function. remove shared array from animation direct list
This commit is contained in:
parent
d4e867fd2d
commit
e970d377b2
7 changed files with 26 additions and 22 deletions
|
|
@ -304,7 +304,7 @@ kiri.load(() => {
|
|||
center = Object.assign({}, stock.center);
|
||||
center.z -= stock.z / 2;
|
||||
|
||||
send.data({ mesh_add: { id: 0, ind, offset, sab } }, [ sab ]);
|
||||
send.data({ mesh_add: { id: 0, ind, offset, sab } }, [ ]); // sab not transferrable
|
||||
send.data({ mesh_move: { id: 0, pos: center } });
|
||||
send.done();
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue