Fixed a crash when selection wipe tower and using add instance function:
this was between 2.6.0-alpha3 and 2.6.0-alpha4 in 4d5b85e
.
This commit is contained in:
parent
e46891fa8c
commit
7df4cfb453
1 changed files with 1 additions and 1 deletions
|
@ -4779,7 +4779,7 @@ bool Plater::priv::can_increase_instances() const
|
|||
if (q->canvas3D()->get_gizmos_manager().get_current_type() == GLGizmosManager::Emboss) return false;
|
||||
|
||||
const auto obj_idxs = get_selection().get_object_idxs();
|
||||
return !obj_idxs.empty() && !sidebar->obj_list()->has_selected_cut_object();
|
||||
return !obj_idxs.empty() && !get_selection().is_wipe_tower() && !sidebar->obj_list()->has_selected_cut_object();
|
||||
}
|
||||
|
||||
bool Plater::priv::can_decrease_instances(int obj_idx /*= -1*/) const
|
||||
|
|
Loading…
Add table
Reference in a new issue