mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-25 01:34:07 +02:00
wip
This commit is contained in:
@@ -717,10 +717,11 @@ export class RoomEngine {
|
||||
}
|
||||
|
||||
public selectObject(objectId: string | null) {
|
||||
if (this.selected.value != null) {
|
||||
this.clearHighlight();
|
||||
this.selected.value.objectEntity.model.bakeMesh();
|
||||
const currentSelected = this.selected.value;
|
||||
if (currentSelected != null) {
|
||||
this.selected.value = null;
|
||||
this.clearHighlight();
|
||||
currentSelected.objectEntity.model.bakeMesh();
|
||||
}
|
||||
|
||||
if (objectId != null) {
|
||||
|
||||
Reference in New Issue
Block a user