Fix some groups not showing in the viewport

If the group was freshly created in 2.8 from a new object, this will prevent the object to be shown.
This commit is contained in:
Dalai Felinto
2017-06-08 19:03:38 +02:00
parent 484e3527d1
commit c19fedf636

View File

@@ -145,13 +145,6 @@ static bool deg_objects_dupli_iterator_next(BLI_Iterator *iter)
data->dupli_object_next = data->dupli_object_next->next;
/* Group duplis need to set ob matrices correct, for deform. so no_draw
* is part handled.
*/
if ((obd->transflag & OB_RENDER_DUPLI) == 0 && dob->no_draw) {
continue;
}
if (obd->type == OB_MBALL) {
continue;
}