mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 20:03:47 +00:00
FIX: [STUDIO-1242] fix object settings list after delete object
Change-Id: Ide57256b1840a98f0fa44fed4f55585c9bf88a95
This commit is contained in:
@@ -204,7 +204,7 @@ bool ObjectSettings::update_settings_list()
|
|||||||
for (auto item : items) {
|
for (auto item : items) {
|
||||||
auto type = objects_model->GetItemType(item);
|
auto type = objects_model->GetItemType(item);
|
||||||
if (type != itObject && type != itVolume) {
|
if (type != itObject && type != itVolume) {
|
||||||
return false;
|
continue;
|
||||||
}
|
}
|
||||||
const int obj_idx = objects_model->GetObjectIdByItem(item);
|
const int obj_idx = objects_model->GetObjectIdByItem(item);
|
||||||
assert(obj_idx >= 0);
|
assert(obj_idx >= 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user