diff options
Diffstat (limited to 'source/blender/blenkernel/intern/object_dupli.c')
-rw-r--r-- | source/blender/blenkernel/intern/object_dupli.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/source/blender/blenkernel/intern/object_dupli.c b/source/blender/blenkernel/intern/object_dupli.c index 4c10e5af89e..22402a6a206 100644 --- a/source/blender/blenkernel/intern/object_dupli.c +++ b/source/blender/blenkernel/intern/object_dupli.c @@ -1102,28 +1102,3 @@ void free_object_duplilist(ListBase *lb) BLI_freelistN(lb); MEM_freeN(lb); } - -int count_duplilist(Object *ob) -{ - if (ob->transflag & OB_DUPLI) { - if (ob->transflag & OB_DUPLIVERTS) { - if (ob->type == OB_MESH) { - if (ob->transflag & OB_DUPLIVERTS) { - ParticleSystem *psys = ob->particlesystem.first; - int pdup = 0; - - for (; psys; psys = psys->next) - pdup += psys->totpart; - - if (pdup == 0) { - Mesh *me = ob->data; - return me->totvert; - } - else - return pdup; - } - } - } - } - return 1; -} |