Follow-up of 6c3aae8f89 -> Fixed update of objects list when object has a unique instance

This commit is contained in:
Enrico Turri 2019-09-06 15:50:54 +02:00
parent 6c3aae8f89
commit abd170fbf4

View File

@ -3113,7 +3113,8 @@ void Plater::priv::reload_from_disk()
} }
} }
sidebar->obj_list()->increase_object_instances(idx, object_orig->instances.size()); if (object_orig->instances.size() > 1)
sidebar->obj_list()->increase_object_instances(idx, object_orig->instances.size());
// XXX: Restore more: layer_height_ranges, layer_height_profile (?) // XXX: Restore more: layer_height_ranges, layer_height_profile (?)
} }