Don't let streams override LOD count for now

master
Marc Gilleron 2021-02-07 17:04:22 +00:00
parent 22471aafd0
commit 8e0241ed16
1 changed files with 3 additions and 2 deletions

View File

@ -265,8 +265,9 @@ void VoxelLodTerrain::_on_stream_params_changed() {
const int stream_block_size_po2 = _stream->get_block_size_po2();
_set_block_size_po2(stream_block_size_po2);
const int stream_lod_count = _stream->get_lod_count();
_set_lod_count(min(stream_lod_count, get_lod_count()));
// TODO We have to figure out streams that have a LOD requirement
// const int stream_lod_count = _stream->get_lod_count();
// _set_lod_count(min(stream_lod_count, get_lod_count()));
}
VoxelServer::get_singleton()->set_volume_block_size(_volume_id, get_block_size());