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
diff options
context:
space:
mode:
authorLukas Tönne <lukas.toenne@gmail.com>2015-01-13 20:03:47 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2015-01-20 11:30:10 +0300
commit9f3a840df2afe115defb2edb7266aaad154d212a (patch)
tree6b8c7fc9896dc03740c9e5a1843290488399dfaa /source/blender/blenkernel/intern/particle_child.c
parent374188cdfe42d050886826fc8fad92756d866cc6 (diff)
Removed unused old code.
Diffstat (limited to 'source/blender/blenkernel/intern/particle_child.c')
-rw-r--r--source/blender/blenkernel/intern/particle_child.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/source/blender/blenkernel/intern/particle_child.c b/source/blender/blenkernel/intern/particle_child.c
index 9471274cd22..518aa499a91 100644
--- a/source/blender/blenkernel/intern/particle_child.c
+++ b/source/blender/blenkernel/intern/particle_child.c
@@ -238,19 +238,6 @@ static void do_kink_spiral(ParticleThreadContext *ctx, ParticleTexture *ptex, co
len += seglen;
}
-#if 0
- /* use the last segment's direction for the spiral orientation
- * this is more consistent and stable than the last flat segment
- * when changing the amplitude
- */
- if (totkeys > 1) {
- sub_v3_v3v3(dir, (keys+totkeys-1)->co, (keys+totkeys-2)->co);
- normalize_v3(dir);
- }
- else
- zero_v3(dir);
-#endif
-
zero_v3(dir);
for (k = 0, key = keys; k < end_index; k++, key++) {
psys_path_iter_get(&iter, keys, end_index, NULL, k);