|
|
|
@ -159,7 +159,6 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
|
|
|
|
|
this.selection.objects.forEach(item => { |
|
|
|
|
if (this.allowEdit |
|
|
|
|
&& this.canvasData.gameMode === item.assetData.GameMode) { |
|
|
|
|
console.log(this.canvasData.gameMode); |
|
|
|
|
switch (this.canvasData.gameMode) { |
|
|
|
|
case 0: |
|
|
|
|
delete this.canvasData.originaleveryStoreyData.data[item.assetData.Id]; |
|
|
|
@ -174,9 +173,9 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
|
|
|
|
|
this.canvasData.isChange = true; |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
this.selection.deselectAll(); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
this.selection.deselectAll(); |
|
|
|
|
this.emit('deleteIcon'); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|