Prototype of scale to fit print volume command

This commit is contained in:
Enrico Turri
2019-05-22 14:42:38 +02:00
parent f70cc70626
commit 844e99f84e
6 changed files with 119 additions and 11 deletions

View File

@@ -847,6 +847,19 @@ bool GLGizmosManager::on_char(wxKeyEvent& evt, GLCanvas3D& canvas)
break;
}
#if ENABLE_SCALE_TO_FIT_PRINT_VOLUME
case 'F':
case 'f':
{
if (m_current == Scale)
{
wxGetApp().plater()->scale_selection_to_fit_print_volume();
processed = true;
}
break;
}
#endif // ENABLE_SCALE_TO_FIT_PRINT_VOLUME
}
}