mirror of
https://github.com/hotomoe/hotomoe
synced 2024-11-28 23:08:17 +09:00
Fix #5290
This commit is contained in:
parent
6288de5813
commit
bc11702f7d
@ -646,6 +646,7 @@ export class Room {
|
||||
|
||||
@autobind
|
||||
public removeFurniture() {
|
||||
this.exitTransformMode();
|
||||
const obj = this.selectedObject;
|
||||
this.scene.remove(obj);
|
||||
this.objects = this.objects.filter(object => object.name !== obj.name);
|
||||
|
@ -136,6 +136,8 @@ export default Vue.extend({
|
||||
},
|
||||
|
||||
remove() {
|
||||
this.isTranslateMode = false;
|
||||
this.isRotateMode = false;
|
||||
room.removeFurniture();
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user