[Bf-blender-cvs] [59d236c] alembic: Unused line, the strand array offset is provided by the iterator now.

Lukas Tönne noreply at git.blender.org
Tue Apr 7 14:46:51 CEST 2015


Commit: 59d236c21d6ac5a1790a2d15fa79830eb5af948c
Author: Lukas Tönne
Date:   Tue Apr 7 14:46:08 2015 +0200
Branches: alembic
https://developer.blender.org/rB59d236c21d6ac5a1790a2d15fa79830eb5af948c

Unused line, the strand array offset is provided by the iterator now.

===================================================================

M	source/blender/physics/intern/BPH_mass_spring.cpp

===================================================================

diff --git a/source/blender/physics/intern/BPH_mass_spring.cpp b/source/blender/physics/intern/BPH_mass_spring.cpp
index 16b9bec..730e54d 100644
--- a/source/blender/physics/intern/BPH_mass_spring.cpp
+++ b/source/blender/physics/intern/BPH_mass_spring.cpp
@@ -1276,8 +1276,6 @@ static void strands_calc_force(Strands *strands, HairSimParams *params, Implicit
 				BPH_mass_spring_force_spring_linear(data, vi, vj, restlen, stiffness, damping, true, 0.0f, NULL, NULL, NULL);
 			}
 		}
-		
-		i += it_strand.curve->numverts;
 	}
 }




More information about the Bf-blender-cvs mailing list