Blender Git Loki
Git Commits -> Revision 8dd28ee
July 30, 2014, 16:01 (GMT) |
Set a flag in the hair modifier whenever the hair data in the solver becomes invalid. This is needed when the number of hairs or points changes, but also in case on sudden positional changes etc. (like resetting to rest position), because the solver would otherwise calculate a large delta and generate a lot of fake energy. |
Commit Details:
Full Hash: 8dd28ee32c4acfbdc59ee40c42a0b679bb363ce2
Parent Commit: faf414a
Lines Changed: +51, -15
7 Modified Paths:
/source/blender/editors/physics/hair_ops.c (+16, -5) (Diff)
/source/blender/hair/HAIR_capi.cpp (+10, -3) (Diff)
/source/blender/hair/HAIR_capi.h (+3, -2) (Diff)
/source/blender/hair/intern/HAIR_solver.cpp (+4, -2) (Diff)
/source/blender/hair/intern/HAIR_solver.h (+2, -1) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+7, -0) (Diff)
/source/blender/modifiers/intern/MOD_hair.c (+9, -2) (Diff)
/source/blender/hair/HAIR_capi.cpp (+10, -3) (Diff)
/source/blender/hair/HAIR_capi.h (+3, -2) (Diff)
/source/blender/hair/intern/HAIR_solver.cpp (+4, -2) (Diff)
/source/blender/hair/intern/HAIR_solver.h (+2, -1) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+7, -0) (Diff)
/source/blender/modifiers/intern/MOD_hair.c (+9, -2) (Diff)