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:
@@ -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*/;
|
||||
|
||||
Reference in New Issue
Block a user