mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-21 13:47:59 -06:00
fix a build error
This commit is contained in:
parent
89d04ab9e9
commit
1c43b2902c
1 changed files with 1 additions and 1 deletions
|
@ -3584,7 +3584,7 @@ int CLI::run(int argc, char **argv)
|
||||||
for (auto &model : m_models)
|
for (auto &model : m_models)
|
||||||
for (auto &o : model.objects)
|
for (auto &o : model.objects)
|
||||||
// this affects volumes:
|
// this affects volumes:
|
||||||
o->scale(ratio));
|
o->scale(ratio);
|
||||||
} else if (opt_key == "scale_to_fit") {
|
} else if (opt_key == "scale_to_fit") {
|
||||||
const Vec3d &opt = m_config.opt<ConfigOptionPoint3>(opt_key)->value;
|
const Vec3d &opt = m_config.opt<ConfigOptionPoint3>(opt_key)->value;
|
||||||
if (opt.x() <= 0 || opt.y() <= 0 || opt.z() <= 0) {
|
if (opt.x() <= 0 || opt.y() <= 0 || opt.z() <= 0) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue