Commit: 99734166b025a0cc3f4463be74b6b30dd4db374a
Author: Lukas Tönne
Date: Tue May 12 12:44:24 2015 +0200
Branches: alembic
https://developer.blender.org/rB99734166b025a0cc3f4463be74b6b30dd4db374a
Fix for incorrect sub-stepping in the strands hair sim solver.
The code was copied from the old cloth solver, which used a while loop.
Ended up using double step increments, which screwed up some
calculations ...
===================================================================
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 5b49314..f8f0a95 100644
--- a/source/blender/physics/intern/BPH_mass_spring.cpp
+++ b/source/blender/physics/intern/BPH_mass_spring.cpp
@@ -1715,7 +1715,6 @@ bool BPH_strands_solve(Strands *strands, float mat[4][4],
Implicit_Data *id, Hai
}
#endif
- step += dstep;
}
/* copy results back to strand data */
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs