mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-13 06:01:47 +08:00
Bugfix: incorrect scaling of clipping plane cuts in SLA support gizmo
This commit is contained in:
parent
81b809f2a1
commit
e8736c47ae
@ -448,6 +448,7 @@ void SupportsClipper::render_cut() const
|
||||
|
||||
// Get transformation of supports
|
||||
Geometry::Transformation supports_trafo = trafo;
|
||||
supports_trafo.set_scaling_factor(Vec3d::Ones());
|
||||
supports_trafo.set_offset(Vec3d(trafo.get_offset()(0), trafo.get_offset()(1), sel_info->get_sla_shift()));
|
||||
supports_trafo.set_rotation(Vec3d(0., 0., trafo.get_rotation()(2)));
|
||||
// I don't know why, but following seems to be correct.
|
||||
|
Loading…
x
Reference in New Issue
Block a user