Bugfix: Cloth did not work with Dynamic Paint.
authorDaniel Genrich <daniel.genrich@gmx.net>
Fri, 10 Aug 2012 00:04:15 +0000 (00:04 +0000)
committerDaniel Genrich <daniel.genrich@gmx.net>
Fri, 10 Aug 2012 00:04:15 +0000 (00:04 +0000)
commit32a8d7cbdf9a705a5b97554651ab500ed5962fb4
treeefa58609528706fd6813ccafb442a39409027c13
parente7f12cec35be750c5752e898117883a69b31258b
Bugfix: Cloth did not work with Dynamic Paint.

Fix 1: Pinned vertices were never released when "unpinned" by Dynamic Paint.

Fix 2: When pinning vertices during simulation, they would get "warped" to their original starting position of frame 1.

Thanks to MiikaH for pointing this out and also for providing the regression blend file: http://wiki.blender.org/uploads/a/ab/Cloth_dynamic_paint.blend
source/blender/blenkernel/BKE_cloth.h
source/blender/blenkernel/intern/cloth.c
source/blender/blenkernel/intern/implicit.c