fix for duplicating cloth which could crash on freeing
authorCampbell Barton <ideasman42@gmail.com>
Thu, 6 May 2010 21:31:16 +0000 (21:31 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 6 May 2010 21:31:16 +0000 (21:31 +0000)
commit730ca20c6324b0761846fbd623ecd39bc5573412
tree5ae734a89da7119a8960454997415af4f117c684
parent9610515b22dcf0450aca9c3794700380851753a9
fix for duplicating cloth which could crash on freeing
- effector list wasnt NULL'd on copying a particle system
- copying an object would initialize the cloth modifier, then copy it, witout freeing its effector weights created in cloth_init().
source/blender/blenkernel/intern/object.c
source/blender/modifiers/intern/MOD_cloth.c