FIX: [STUDIO-1242] fix object settings list after delete object
Change-Id: Ide57256b1840a98f0fa44fed4f55585c9bf88a95
This commit is contained in:
parent
4b655f06d4
commit
79c644d1da
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue