mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
Update engine.ts
This commit is contained in:
parent
fb77eb4349
commit
b879f2f1e3
1 changed files with 0 additions and 7 deletions
|
|
@ -182,7 +182,6 @@ export class RoomEngine extends EventEmitter {
|
|||
public lightContainer: BABYLON.ClusteredLightContainer;
|
||||
private gridMaterial: GridMaterial | null = null;
|
||||
private gridPlane: BABYLON.Mesh;
|
||||
private gizmoManager: BABYLON.GizmoManager;
|
||||
private selectionOutlineLayer: BABYLON.SelectionOutlineLayer | null = null;
|
||||
public sr: BABYLON.SnapshotRenderingHelper;
|
||||
private gl: BABYLON.GlowLayer | null = null;
|
||||
|
|
@ -308,9 +307,6 @@ export class RoomEngine extends EventEmitter {
|
|||
this.putParticleSystem.colorDead = new BABYLON.Color4(1, 1, 1, 0);
|
||||
this.putParticleSystem.targetStopDuration = 0.05;
|
||||
|
||||
this.gizmoManager = new BABYLON.GizmoManager(this.scene);
|
||||
this.gizmoManager.positionGizmoEnabled = false;
|
||||
|
||||
this.gridPlane = BABYLON.MeshBuilder.CreatePlane('gridPlane', { width: cm(10000), height: cm(10000) }, this.scene);
|
||||
this.gridPlane.isPickable = false;
|
||||
this.gridPlane.isVisible = false;
|
||||
|
|
@ -953,9 +949,6 @@ export class RoomEngine extends EventEmitter {
|
|||
const entity = this.objectEntities.get(objectId);
|
||||
if (entity != null) {
|
||||
entity.model.unbakeMesh();
|
||||
//this.gizmoManager.positionGizmoEnabled = true;
|
||||
//this.gizmoManager.gizmos.positionGizmo.updateGizmoRotationToMatchAttachedMesh = false;
|
||||
//this.gizmoManager.attachToMesh(entity.rootMesh);
|
||||
this.highlightMeshes(entity.rootMesh.getChildMeshes());
|
||||
const state = this.roomState.installedObjects.find(o => o.id === objectId)!;
|
||||
this.selected = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue