Compare commits

...
2 changed files with 2 additions and 1 deletions
@@ -1,6 +1,6 @@
import * as THREE from "three";
import { TransformControls } from "three/examples/jsm/Addons";
import { FKBoneBlacklistStrings } from "./FKBoneFilter";
import { TransformControls } from "../TransformControls";
export const FKHelperSphereName = "__FKHelperSphere__";
@@ -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);