mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-04-14 23:58:26 +02:00
Call chunk's enter_tree and set voxel world on entering the tree in TerrainWorld.
This commit is contained in:
parent
4d23866ac5
commit
d99577365c
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user