Fix build error with strict double to float conversion

This commit is contained in:
Brecht Van Lommel 2021-11-16 22:25:24 +01:00
parent f30e1fd2f0
commit 3189171a94
1 changed files with 2 additions and 2 deletions

View File

@ -865,7 +865,7 @@ void BlenderSession::update_bake_progress()
double progress = session->progress.get_progress();
if (progress != last_progress) {
b_engine.update_progress(progress);
b_engine.update_progress((float)progress);
last_progress = progress;
}
}
@ -918,7 +918,7 @@ void BlenderSession::update_status_progress()
last_status_time = current_time;
}
if (progress != last_progress) {
b_engine.update_progress(progress);
b_engine.update_progress((float)progress);
last_progress = progress;
}