mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 05:15:59 +08:00
Fix showing reset of size
This commit is contained in:
parent
7184b9e1a1
commit
67583b45f0
@ -1757,7 +1757,7 @@ void GLGizmoSVG::draw_size()
|
||||
|
||||
|
||||
// reset button
|
||||
bool can_reset = m_scale_width.has_value() || m_scale_height.has_value() || m_scale_depth.has_value();
|
||||
bool can_reset = m_scale_width.has_value() || m_scale_height.has_value();
|
||||
if (can_reset) {
|
||||
if (reset_button(m_icons)) {
|
||||
new_relative_scale = Vec3d(1./m_scale_width.value_or(1.f), 1./m_scale_height.value_or(1.f), 1.);
|
||||
|
Loading…
x
Reference in New Issue
Block a user