diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-06-08 20:28:54 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-06-08 20:28:54 +0300 |
commit | 836c3c14cc8c8f882887c9ec95f1740e14893dc4 (patch) | |
tree | 054db72387b0e58e75916b3199d0d90b49966b5d /source/blender/blenkernel/intern/object_dupli.c | |
parent | c5daddbef3aa445942b2e90ce0990d420cdbea55 (diff) |
Remove unused lay value from Dupli object evaluation context
Diffstat (limited to 'source/blender/blenkernel/intern/object_dupli.c')
-rw-r--r-- | source/blender/blenkernel/intern/object_dupli.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/object_dupli.c b/source/blender/blenkernel/intern/object_dupli.c index 844edd87c37..774ddca061d 100644 --- a/source/blender/blenkernel/intern/object_dupli.c +++ b/source/blender/blenkernel/intern/object_dupli.c @@ -77,7 +77,6 @@ typedef struct DupliContext { Scene *scene; Object *object; float space_mat[4][4]; - unsigned int lay; int persistent_id[MAX_DUPLI_RECUR]; int level; @@ -110,7 +109,6 @@ static void init_context(DupliContext *r_ctx, EvaluationContext *eval_ctx, Scene copy_m4_m4(r_ctx->space_mat, space_mat); else unit_m4(r_ctx->space_mat); - r_ctx->lay = ob->lay; r_ctx->level = 0; r_ctx->gen = get_dupli_generator(r_ctx); |