mirror of
https://github.com/Relintai/voxelman.git
synced 2025-01-25 15:09:18 +01:00
build_phase() in VoxelChunk should be thread safe.
This commit is contained in:
parent
919080a1b5
commit
509d45a662
@ -622,6 +622,9 @@ void VoxelChunk::_build_threaded(void *_userdata) {
|
||||
}
|
||||
|
||||
bool VoxelChunk::build_phase() {
|
||||
|
||||
_THREAD_SAFE_METHOD_
|
||||
|
||||
set_build_phase_done(false);
|
||||
|
||||
return call("_build_phase", _current_build_phase);
|
||||
|
Loading…
Reference in New Issue
Block a user