Fix standalone compilation. Closes #2

This commit is contained in:
Relintai 2021-02-08 15:34:08 +01:00
parent 547aeaad4d
commit d9c523de59
2 changed files with 7 additions and 0 deletions

View File

@ -435,6 +435,11 @@ void VoxelJob::set_stage(const int value) {
_stage = value;
}
void VoxelJob::reset_stages() {
_current_run_stage = 0;
_stage = 0;
}
float VoxelJob::get_current_execution_time() {
return 0;
}

View File

@ -129,6 +129,8 @@ public:
int get_stage() const;
void set_stage(const int value);
void reset_stages();
float get_current_execution_time();
bool should_do(const bool just_check = false);