mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-26 17:12:59 +00:00
Bugfix: don't +/1 (1, 1, 1) twice in //rotate
This commit is contained in:
parent
54c66e0dc9
commit
dc39dbff08
1 changed files with 1 additions and 4 deletions
|
@ -75,9 +75,6 @@ local function find_rotated_vm(pos1, pos2, origin, rotlist)
|
||||||
|
|
||||||
print("DEBUG:find_rotated_vm pos1_dstvm", pos1_dstvm, "pos2_dstvm", pos2_dstvm)
|
print("DEBUG:find_rotated_vm pos1_dstvm", pos1_dstvm, "pos2_dstvm", pos2_dstvm)
|
||||||
|
|
||||||
pos1_dstvm = pos1_dstvm:floor() - Vector3.new(1, 1, 1)
|
|
||||||
pos2_dstvm = pos2_dstvm:ceil() + Vector3.new(1, 1, 1)
|
|
||||||
|
|
||||||
return pos1_dstvm, pos2_dstvm
|
return pos1_dstvm, pos2_dstvm
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue