Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorJanne Karhu <jhkarh@gmail.com>2009-04-03 22:13:51 +0400
committerJanne Karhu <jhkarh@gmail.com>2009-04-03 22:13:51 +0400
commit3b2322406141bca2585d579152ba4f993f7920d0 (patch)
tree9acf087158a352c156d8c665d56a137e06f91e14 /source
parente6985d31b589a232bb17dd4c156614df781b8dad (diff)
Fix for [#18372] object-particle in other layer not editable correctly.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/anim.c2
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);