diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-01-16 21:43:57 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-01-16 22:15:47 +0300 |
commit | eff2fe9a722de23ea31adb2e5fa9b407cc2ea503 (patch) | |
tree | 0883fdb457a0e6d611212eece90f9ece8c64d7c9 | |
parent | 585275325edb9988c9d6891c1fe571c63c81ceb1 (diff) |
Cycles: Minot cleanup, save some cpu tics per curve segment export
-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); |