diff options
author | Uberi <azhang9@gmail.com> | 2013-12-20 18:41:13 -0500 |
---|---|---|
committer | Uberi <azhang9@gmail.com> | 2013-12-20 18:41:13 -0500 |
commit | 674d6473e4b13676aa6bc9e45a4113e3bca89078 (patch) | |
tree | 962d01b41a1d36276f5ccfd664ebbbb8416f5830 /worldedit/compatibility.lua | |
parent | 3767ea84d26a707f4688426b238a9709542d9534 (diff) |
Improve node inspector to show player axis, replace //scale with //stretch, which supports per-axis stretching (full backwards compatibility retained), and secure schematic file loading functions.
Diffstat (limited to 'worldedit/compatibility.lua')
-rw-r--r-- | worldedit/compatibility.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/worldedit/compatibility.lua b/worldedit/compatibility.lua index eb81eea..ff3447f 100644 --- a/worldedit/compatibility.lua +++ b/worldedit/compatibility.lua @@ -18,3 +18,6 @@ worldedit.metaload = function(originpos, filename) local data = file:read("*a")
return worldedit.deserialize(originpos, data)
end
+worldedit.scale = function(pos1, pos2, factor)
+ return worldedit.stretch(pos1, pos2, factor, factor, factor)
+end
\ No newline at end of file |