1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2024-12-26 02:30:40 +01:00

Fix //rotate for real this time.

This commit is contained in:
Anthony Zhang 2013-06-02 17:50:14 -04:00
parent 0664cde287
commit f1cfc47189

View File

@ -699,11 +699,7 @@ minetest.register_chatcommand("/rotate", {
return return
end end
local tenv = minetest.env local count, pos1, pos2 = worldedit.rotate(pos1, pos2, axis, angle)
if worldedit.ENABLE_QUEUE then
tenv = worldedit.queue_aliasenv
end
local count, pos1, pos2 = worldedit.rotate(pos1, pos2, axis, angle, tenv)
--reset markers to rotated positions --reset markers to rotated positions
worldedit.pos1[name] = pos1 worldedit.pos1[name] = pos1