Another fix for support points trafo
This commit is contained in:
parent
7832d600ff
commit
fdf51c8a5e
1 changed files with 2 additions and 2 deletions
|
@ -153,8 +153,8 @@ void GLGizmoSlaSupports::render_points(const Selection& selection)
|
|||
return;
|
||||
|
||||
double shift_z = m_c->selection_info()->print_object()->get_current_elevation();
|
||||
Transform3d trafo(inst->get_transformation().get_matrix());
|
||||
trafo.translate(Vec3d{0., 0., shift_z});
|
||||
Transform3d trafo(inst->get_transformation().get_matrix() * inst->get_object()->volumes.front()->get_matrix());
|
||||
trafo.translation()(2) += shift_z;
|
||||
const Geometry::Transformation transformation{trafo};
|
||||
|
||||
#if ENABLE_WORLD_COORDINATE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue