mirror of
https://github.com/Relintai/voxelman.git
synced 2025-01-27 15:19:18 +01:00
More work.
This commit is contained in:
parent
1003a393e6
commit
ffb154a4fe
@ -159,6 +159,8 @@ void VoxelWorld::add_to_generation_queue_bind(Node *chunk) {
|
|||||||
void VoxelWorld::add_to_generation_queue(VoxelChunk *chunk) {
|
void VoxelWorld::add_to_generation_queue(VoxelChunk *chunk) {
|
||||||
ERR_FAIL_COND(!ObjectDB::instance_validate(chunk));
|
ERR_FAIL_COND(!ObjectDB::instance_validate(chunk));
|
||||||
|
|
||||||
|
set_process_internal(true);
|
||||||
|
|
||||||
_generation_queue.push_back(chunk);
|
_generation_queue.push_back(chunk);
|
||||||
}
|
}
|
||||||
VoxelChunk *VoxelWorld::get_generation_queue_index(int index) {
|
VoxelChunk *VoxelWorld::get_generation_queue_index(int index) {
|
||||||
|
Loading…
Reference in New Issue
Block a user