Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/space_info/info_stats.c
| Show First 20 Lines • Show All 381 Lines • ▼ Show 20 Lines | else if (ob->parent && (ob->parent->transflag & (OB_DUPLIVERTS | OB_DUPLIFACES))) { | ||||
| } | } | ||||
| else { | else { | ||||
| tot = count_duplilist(ob->parent); | tot = count_duplilist(ob->parent); | ||||
| } | } | ||||
| stats->totobj += tot; | stats->totobj += tot; | ||||
| stats_object(ob, is_selected, tot, stats); | stats_object(ob, is_selected, tot, stats); | ||||
| } | } | ||||
| else if (ob->transflag & OB_DUPLIFRAMES) { | |||||
| /* Dupli Frames */ | |||||
| int tot = count_duplilist(ob); | |||||
| stats->totobj += tot; | |||||
| stats_object(ob, is_selected, tot, stats); | |||||
| } | |||||
| else if ((ob->transflag & OB_DUPLICOLLECTION) && ob->dup_group) { | else if ((ob->transflag & OB_DUPLICOLLECTION) && ob->dup_group) { | ||||
| /* Dupli Group */ | /* Dupli Group */ | ||||
| int tot = count_duplilist(ob); | int tot = count_duplilist(ob); | ||||
| stats->totobj += tot; | stats->totobj += tot; | ||||
| stats_object(ob, is_selected, tot, stats); | stats_object(ob, is_selected, tot, stats); | ||||
| } | } | ||||
| else { | else { | ||||
| /* No Dupli */ | /* No Dupli */ | ||||
| ▲ Show 20 Lines • Show All 214 Lines • Show Last 20 Lines | |||||