Temporarily give splats meshes a name

This commit is contained in:
Tanish Manku committed 2025-12-10 22:24:07 -08:00
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);