1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-25 01:34:07 +02:00
This commit is contained in:
syuilo
2026-04-04 17:09:20 +09:00
parent f2be8a2169
commit 85dea8b49d
2 changed files with 5 additions and 4 deletions

View File

@@ -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) {