Fix for SPE-1543 - "T"- key add text to cut object with plugs/dowels
This commit is contained in:
parent
3985250b87
commit
e09bdef952
1 changed files with 1 additions and 1 deletions
|
@ -885,7 +885,7 @@ void GLGizmoEmboss::on_set_state()
|
||||||
priv::get_volume(m_parent.get_selection().get_model()->objects, m_volume_id) == nullptr ) {
|
priv::get_volume(m_parent.get_selection().get_model()->objects, m_volume_id) == nullptr ) {
|
||||||
// reopen gizmo when new object is created
|
// reopen gizmo when new object is created
|
||||||
GLGizmoBase::m_state = GLGizmoBase::Off;
|
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
|
// It's impossible to add a part in simple mode
|
||||||
return;
|
return;
|
||||||
// start creating new object
|
// start creating new object
|
||||||
|
|
Loading…
Reference in a new issue