mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-15 20:25:55 +08:00
fix check z_step if 0
This commit is contained in:
parent
b567fd445b
commit
8c0576d9b2
@ -2978,8 +2978,8 @@ void TabPrinter::toggle_options()
|
||||
}
|
||||
|
||||
//z step checks
|
||||
{
|
||||
double z_step = m_config->opt_float("z_step");
|
||||
if(z_step > 0){
|
||||
int64_t z_step_Mlong = (int64_t)(z_step * 1000000.);
|
||||
DynamicPrintConfig new_conf;
|
||||
bool has_changed = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user