diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-05-22 20:29:51 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-05-22 20:29:51 +0400 |
commit | d02480cdaac3fdec73fda9cbd4ded764d4b9e564 (patch) | |
tree | bbfe4b4afee6bba333bf24f9f4e9c1e4ed6eaef3 /source/blender/blenkernel/intern/anim.c | |
parent | 04e157304acddd574ec46c068beb33a2b356df68 (diff) |
remove / comment unused code, patch by nico_ga on IRC with some edits.
Diffstat (limited to 'source/blender/blenkernel/intern/anim.c')
-rw-r--r-- | source/blender/blenkernel/intern/anim.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/anim.c b/source/blender/blenkernel/intern/anim.c index e12ec559f4b..1763866c000 100644 --- a/source/blender/blenkernel/intern/anim.c +++ b/source/blender/blenkernel/intern/anim.c @@ -1206,7 +1206,7 @@ static void new_particle_duplilist(ListBase *lb, ID *id, Scene *scene, Object *p float tmat[4][4], mat[4][4], pamat[4][4], vec[3], size=0.0; float (*obmat)[4], (*oldobmat)[4]; int a, b, counter, hair = 0; - int totpart, totchild, totgroup=0, pa_num; + int totpart, totchild, totgroup=0 /*, pa_num */; int no_draw_flag = PARS_UNEXIST; @@ -1323,7 +1323,7 @@ static void new_particle_duplilist(ListBase *lb, ID *id, Scene *scene, Object *p if(pa->flag & no_draw_flag) continue; - pa_num = pa->num; + /* pa_num = pa->num; */ /* UNUSED */ pa_time = pa->time; size = pa->size; } @@ -1331,7 +1331,7 @@ static void new_particle_duplilist(ListBase *lb, ID *id, Scene *scene, Object *p /* handle child particle */ cpa = &psys->child[a - totpart]; - pa_num = a; + /* pa_num = a; */ /* UNUSED */ pa_time = psys->particles[cpa->parent].time; size = psys_get_child_size(psys, cpa, ctime, NULL); } |