mirror of
https://github.com/JulianGro/overte.git
synced 2025-08-08 07:47:34 +02:00
Merge pull request #3458 from Atlante45/editVoxel_fix
Fixes 0 makes a voxel when tool off
This commit is contained in:
commit
a66b6e7237
1 changed files with 1 additions and 1 deletions
|
@ -1110,7 +1110,7 @@ function keyPressEvent(event) {
|
|||
print("Color = " + (whichColor + 1));
|
||||
swatchesSound.play(whichColor);
|
||||
moveTools();
|
||||
} else if (event.text == "0") {
|
||||
} else if (event.text == "0" && voxelToolSelected) {
|
||||
// Create a brand new 1 meter voxel in front of your avatar
|
||||
var newPosition = getNewVoxelPosition();
|
||||
var newVoxel = {
|
||||
|
|
Loading…
Reference in a new issue