mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-06 05:38:27 +08:00
fix a build error
This commit is contained in:
parent
89d04ab9e9
commit
1c43b2902c
@ -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…
x
Reference in New Issue
Block a user