Fixed the issue where the object wasn't displayed after pressing the ESC key in the multi-material painting gizmo.

key in the multi-material painting gizmo.
Fixed also a similar issue in support and seam gizmos where an object was displayed with the wrong color after pressing the ESC key.
This commit is contained in:
Lukáš Hejl 2021-06-25 18:13:03 +02:00
parent e6295bbfe8
commit 23b26cb3f3
4 changed files with 10 additions and 1 deletions

View file

@ -16,6 +16,13 @@ namespace Slic3r::GUI {
void GLGizmoSeam::on_shutdown()
{
m_parent.toggle_model_objects_visibility(true);
}
bool GLGizmoSeam::on_init()
{
m_shortcut_key = WXK_CONTROL_P;