diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-09-20 10:20:07 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-09-20 10:20:07 +0400 |
commit | e9bcb8f5184c62f0f11af10bbfcb386eea7daecf (patch) | |
tree | 980f64d55018aba0839bdd98aaf80af4046b1ff1 /intern | |
parent | 00c308893a1f370edabd130a6c37d29d65cd1124 (diff) |
remove unused modifier argument from ParticleSystem.co_hair
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/blender/blender_curves.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/blender/blender_curves.cpp b/intern/cycles/blender/blender_curves.cpp index 57ef9a1005c..1cddc25a22b 100644 --- a/intern/cycles/blender/blender_curves.cpp +++ b/intern/cycles/blender/blender_curves.cpp @@ -217,8 +217,8 @@ bool ObtainCacheParticleData(Mesh *mesh, BL::Mesh *b_mesh, BL::Object *b_ob, Par float3 pcKey; for(int step_no = 0; step_no <= ren_step; step_no++) { float nco[3]; - b_psys.co_hair(*b_ob, psmd, pa_no, step_no, nco); - float3 cKey = make_float3(nco[0],nco[1],nco[2]); + b_psys.co_hair(*b_ob, pa_no, step_no, nco); + float3 cKey = make_float3(nco[0], nco[1], nco[2]); cKey = transform_point(&itfm, cKey); if(step_no > 0) curve_length += len(cKey - pcKey); |