mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-28 17:02:00 +08:00
fix elefant translate
This commit is contained in:
parent
53c2c588a8
commit
d7a0719c3b
@ -4335,7 +4335,7 @@ void PrintConfigDef::handle_legacy(t_config_option_key &opt_key, std::string &va
|
|||||||
} else if (opt_key == "elefant_foot_compensation") {
|
} else if (opt_key == "elefant_foot_compensation") {
|
||||||
opt_key = "first_layer_size_compensation";
|
opt_key = "first_layer_size_compensation";
|
||||||
float v = boost::lexical_cast<float>(value);
|
float v = boost::lexical_cast<float>(value);
|
||||||
if (v != 0)
|
if (v > 0)
|
||||||
value = boost::lexical_cast<std::string>(-v);
|
value = boost::lexical_cast<std::string>(-v);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user