diff options
-rw-r--r-- | intern/cycles/blender/blender_curves.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/blender/blender_curves.cpp b/intern/cycles/blender/blender_curves.cpp index 9d51aadec53..332f1633a30 100644 --- a/intern/cycles/blender/blender_curves.cpp +++ b/intern/cycles/blender/blender_curves.cpp @@ -196,9 +196,9 @@ bool ObtainCacheParticleData(Mesh *mesh, BL::Mesh *b_mesh, BL::Object *b_ob, Par CData->curvekey_co.push_back(cKey); CData->curvekey_time.push_back(curve_length); pcKey = cKey; - keyno++; keynum++; } + keyno += keynum; CData->curve_keynum.push_back(keynum); CData->curve_length.push_back(curve_length); |