Fix uninitialized stats
parent
07d4deeaab
commit
c6e0e59662
|
@ -64,6 +64,12 @@ public:
|
|||
uint32_t remaining_blocks[MAX_JOBS];
|
||||
uint32_t thread_count = 0;
|
||||
uint32_t dropped_count = 0;
|
||||
|
||||
Stats() {
|
||||
for (int i = 0; i < MAX_JOBS; ++i) {
|
||||
remaining_blocks[i] = 0;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
struct Output {
|
||||
|
|
|
@ -42,7 +42,6 @@ VoxelDataLoader::VoxelDataLoader(int thread_count, Ref<VoxelStream> stream, int
|
|||
processors[0].stream = stream;
|
||||
}
|
||||
|
||||
// TODO Re-enable duplicate rejection, was turned off to investigate some bugs
|
||||
_mgr = memnew(Mgr(thread_count, 500, processors, true));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue