delete scene itm
This commit is contained in:
parent
1cc489fc72
commit
7693377ad1
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ export class SceneBuilderStore extends FormState<SceneViewModel, HttpError> {
|
|||
|
||||
deleteSceneItem = (item: SceneItems) => {
|
||||
this.sceneItems = this.sceneItems.filter((el) => !el.name.isEqual(item.name));
|
||||
|
||||
this.scene = this.scene.filter((el) => !el.name.isEqual(item.name));
|
||||
this.coreThreeRepository?.deleteSceneItem(item);
|
||||
this.visibleSaveButton();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue