mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-25 03:04:28 +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") {
|
||||
opt_key = "first_layer_size_compensation";
|
||||
float v = boost::lexical_cast<float>(value);
|
||||
if (v != 0)
|
||||
if (v > 0)
|
||||
value = boost::lexical_cast<std::string>(-v);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user