Follow-up of 526233ca47
-> Take in account original instances scale factor
This commit is contained in:
parent
dfe47aa4e4
commit
1e69e6def1
@ -2425,7 +2425,7 @@ std::vector<size_t> Plater::priv::load_model_objects(const ModelObjectPtrs &mode
|
||||
}
|
||||
else if (max_ratio > 5) {
|
||||
const Vec3d inverse = 1.0 / max_ratio * Vec3d::Ones();
|
||||
instance->set_scaling_factor(inverse);
|
||||
instance->set_scaling_factor(inverse.cwiseProduct(instance->get_scaling_factor()));
|
||||
scaled_down = true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user