FIX:delete logic shall be the same as arrange logic
Change-Id: I8c6d06abd7a850147e0e7f731bddbdeafcae777c
This commit is contained in:
parent
0b0a1a3d48
commit
60e408bc59
|
@ -428,7 +428,7 @@ void Selection::remove_curr_plate()
|
|||
clear();
|
||||
|
||||
for (int obj_idx = 0; obj_idx < m_model->objects.size(); obj_idx++) {
|
||||
if (plate && plate->contain_instance_totally(obj_idx, 0)) {
|
||||
if (plate && plate->contain_instance(obj_idx, 0)) {
|
||||
std::vector<unsigned int> volume_idxs = get_volume_idxs_from_object(obj_idx);
|
||||
do_add_volumes(volume_idxs);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue