Fixed voxel being deleted even though voxel tool is not selected

This commit is contained in:
Atlante45 2014-06-19 18:10:06 -07:00
parent 266dc6be3e
commit 4561a6e326

View file

@ -1196,7 +1196,7 @@ function menuItemEvent(menuItem) {
print("deleting...");
if (isImporting) {
cancelImport();
} else {
} else if (voxelToolSelected) {
Clipboard.deleteVoxel(selectedVoxel.x, selectedVoxel.y, selectedVoxel.z, selectedVoxel.s);
}
}