mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-05 22:37:41 -07:00
review result part 1: Transform3f instead of auto
This commit is contained in:
parent
cff6dd5502
commit
3e27d05c3d
1 changed files with 1 additions and 1 deletions
|
|
@ -1182,7 +1182,7 @@ sla::DrainHoles SLAPrintObject::transformed_drainhole_points() const
|
|||
{
|
||||
assert(m_model_object != nullptr);
|
||||
auto pts = m_model_object->sla_drain_holes;
|
||||
const auto tr = trafo().cast<float>();
|
||||
const Transform3f tr = trafo().cast<float>();
|
||||
const Vec3f sc = m_model_object->instances.front()->get_scaling_factor().cast<float>();
|
||||
for (sla::DrainHole &hl : pts) {
|
||||
hl.pos = tr * hl.pos;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue