Fix for SPE-1543 - "T"- key add text to cut object with plugs/dowels
This commit is contained in:
parent
3985250b87
commit
e09bdef952
@ -885,7 +885,7 @@ void GLGizmoEmboss::on_set_state()
|
||||
priv::get_volume(m_parent.get_selection().get_model()->objects, m_volume_id) == nullptr ) {
|
||||
// reopen gizmo when new object is created
|
||||
GLGizmoBase::m_state = GLGizmoBase::Off;
|
||||
if (wxGetApp().get_mode() == comSimple)
|
||||
if (wxGetApp().get_mode() == comSimple || wxGetApp().obj_list()->has_selected_cut_object())
|
||||
// It's impossible to add a part in simple mode
|
||||
return;
|
||||
// start creating new object
|
||||
|
Loading…
Reference in New Issue
Block a user