mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 17:38:10 +00:00
Temporarily give splats meshes a name
This commit is contained in:
1 parent
fba1a65e95
commit
127b5bc1c1
1 file changed
+1
@@ -400,6 +400,7 @@ export class TimeLine {
|
||||
// and bypasses the queue system, that's kinda redundant anyway
|
||||
public addLocalSplat(fileBytes: ArrayBuffer | Uint8Array, flipVertical: boolean = false) {
|
||||
const splatMesh = new SplatMesh({ fileBytes: fileBytes });
|
||||
splatMesh.name = `{SplatMesh-${Date.now()}}`;
|
||||
|
||||
if (flipVertical) {
|
||||
splatMesh.rotateX(Math.PI);
|
||||
|
||||
Reference in new issue
Block a user