Skip to content
Permalink
Browse files
Fix //rotate for real this time.
  • Loading branch information
Uberi committed Jun 2, 2013
1 parent 0664cde commit f1cfc471899b2903e7843dfff44e039704b4009d
Showing 1 changed file with 1 addition and 5 deletions.
@@ -699,11 +699,7 @@ minetest.register_chatcommand("/rotate", {
return
end

local tenv = minetest.env
if worldedit.ENABLE_QUEUE then
tenv = worldedit.queue_aliasenv
end
local count, pos1, pos2 = worldedit.rotate(pos1, pos2, axis, angle, tenv)
local count, pos1, pos2 = worldedit.rotate(pos1, pos2, axis, angle)

--reset markers to rotated positions
worldedit.pos1[name] = pos1

0 comments on commit f1cfc47

Please sign in to comment.