diff options
author | Janne Karhu <jhkarh@gmail.com> | 2009-04-03 22:13:51 +0400 |
---|---|---|
committer | Janne Karhu <jhkarh@gmail.com> | 2009-04-03 22:13:51 +0400 |
commit | 3b2322406141bca2585d579152ba4f993f7920d0 (patch) | |
tree | 9acf087158a352c156d8c665d56a137e06f91e14 /source/blender/blenkernel/intern/anim.c | |
parent | e6985d31b589a232bb17dd4c156614df781b8dad (diff) |
Fix for [#18372] object-particle in other layer not editable correctly.
Diffstat (limited to 'source/blender/blenkernel/intern/anim.c')
-rw-r--r-- | source/blender/blenkernel/intern/anim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/anim.c b/source/blender/blenkernel/intern/anim.c index 79c4d15b88e..50be417c8ef 100644 --- a/source/blender/blenkernel/intern/anim.c +++ b/source/blender/blenkernel/intern/anim.c @@ -908,7 +908,7 @@ static void new_particle_duplilist(ListBase *lb, ID *id, Object *par, float par_ else Mat4CpyMat4(mat, tmat); - dob= new_dupli_object(lb, ob, mat, par->lay, counter, OB_DUPLIPARTS, animated); + dob= new_dupli_object(lb, ob, mat, ob->lay, counter, OB_DUPLIPARTS, animated); Mat4CpyMat4(dob->omat, oldobmat); if(G.rendering) psys_get_dupli_texture(par, part, psmd, pa, cpa, dob->uv, dob->orco); |