1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-13 23:25:41 +02:00

Update engine.ts

This commit is contained in:
syuilo
2026-04-11 05:08:42 +09:00
parent 7dd05a3d60
commit 8427685f7b

View File

@@ -1518,6 +1518,7 @@ export class RoomEngine {
public async addObject(type: string) {
if (!this.isEditMode) return;
if (this.grabbingCtx != null) return;
this.selectObject(null);
const dir = this.camera.getDirection(BABYLON.Axis.Z).scale(this.scene.useRightHandedSystem ? -1 : 1);
const distance = 50/*cm*/;