mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-21 01:13:37 +08:00
Fix deleting texture not working when mesh part is selected
This commit is contained in:
parent
4d9d056221
commit
813da3fe41
@ -99,7 +99,7 @@ const ProportionalEdit = {
|
||||
}
|
||||
|
||||
SharedActions.add('delete', {
|
||||
condition: () => Modes.edit && Mesh.selected[0] && Project.mesh_selection[Mesh.selected[0].uuid],
|
||||
condition: () => Modes.edit && Prop.active_panel == 'preview' && Mesh.selected[0] && Project.mesh_selection[Mesh.selected[0].uuid],
|
||||
run() {
|
||||
let meshes = Mesh.selected.slice();
|
||||
Undo.initEdit({elements: meshes, outliner: true})
|
||||
|
Loading…
Reference in New Issue
Block a user