Call chunk's enter_tree and set voxel world on entering the tree in TerrainWorld.

This commit is contained in:
Relintai 2025-04-08 08:31:53 +02:00
parent 4d23866ac5
commit d99577365c

View File

@ -1571,6 +1571,9 @@ void TerrainWorld::_notification(int p_what) {
if (chunk.is_valid()) {
chunk_setup(chunk);
chunk->set_voxel_world(this);
chunk->enter_tree();
chunk->build();
}
}