This commit is contained in:
Andrew Miner
2026-10-30 11:54:42 -06:00
parent 079df8575e
commit cac0557036
4 changed files with 18 additions and 12 deletions
+1 -4
View File
@@ -163,7 +163,7 @@ function Region:iterate_columns(do_operation)
self:iterate(
self.fill_min.x, self.fill_max.x,
0, 0,
self.fill_min.y, self.fill_min.y, -- we only want columns, so use a single y value
self.fill_min.z, self.fill_max.z,
function(x, y, z) do_operation(x, z) end
)
@@ -263,7 +263,6 @@ function Region:set_meta(name, x, z, value)
if not meta_data then
meta_data = {}
self._meta[name] = meta_data
core.debug("adding meta["..name.."]")
end
meta_data[self._emerged_area:index(x, 0, z)] = value
@@ -282,8 +281,6 @@ function Region:read_voxels(voxels, fill_min, fill_max)
check.is_type("fill_min", fill_min, "table")
check.is_type("fill_max", fill_max, "table")
self:save_voxels()
self._voxels = voxels
self.fill_min = fill_min
self.fill_max = fill_max