mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-12-28 13:27:10 +01:00
Fix error spam on test generation.
This commit is contained in:
parent
13fff7b64c
commit
0621a5da3b
@ -8,6 +8,6 @@ func _generate_chunk(chunk: TerraChunk) -> void:
|
|||||||
|
|
||||||
var s : OpenSimplexNoise = OpenSimplexNoise.new()
|
var s : OpenSimplexNoise = OpenSimplexNoise.new()
|
||||||
|
|
||||||
for x in range(chunk.data_size_x):
|
for x in range(-chunk.margin_start, chunk.size_x + chunk.margin_end):
|
||||||
for z in range(chunk.data_size_z):
|
for z in range(-chunk.margin_start, chunk.size_x + chunk.margin_end):
|
||||||
chunk.set_voxel(s.get_noise_2d(x, z) * 10.0, x, z, TerraChunkDefault.DEFAULT_CHANNEL_ISOLEVEL)
|
chunk.set_voxel(s.get_noise_2d(x, z) * 10.0, x, z, TerraChunkDefault.DEFAULT_CHANNEL_ISOLEVEL)
|
||||||
|
Loading…
Reference in New Issue
Block a user