From 828566f001e63c97ac2c55843d709b408d18c207 Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 16 Apr 2021 22:14:38 +0200 Subject: [PATCH] Register the isolevel channel to the properties for the blocky chunk. --- world/blocky/terra_chunk_blocky.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/world/blocky/terra_chunk_blocky.cpp b/world/blocky/terra_chunk_blocky.cpp index 4235661..5ad4340 100644 --- a/world/blocky/terra_chunk_blocky.cpp +++ b/world/blocky/terra_chunk_blocky.cpp @@ -36,6 +36,7 @@ void TerraChunkBlocky::_setup_channels() { void TerraChunkBlocky::_bind_methods() { ADD_PROPERTYI(PropertyInfo(Variant::POOL_BYTE_ARRAY, "data_channel"), "channel_set_compressed", "channel_get_compressed", 0); + ADD_PROPERTYI(PropertyInfo(Variant::POOL_BYTE_ARRAY, "isolevel_channel"), "channel_set_compressed", "channel_get_compressed", 1); //ClassDB::bind_method(D_METHOD("get_channel_compressed", "channel_index"), &TerraChunk::get_channel_compressed); //ClassDB::bind_method(D_METHOD("set_channel_compressed", "channel_index", "array"), &TerraChunk::set_channel_compressed);