diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-11-07 08:59:35 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-11-07 08:59:35 +0300 |
commit | fbcaa502ca8e71390e3f43ee9cc18b1ccfe840a2 (patch) | |
tree | 802bf2187994440d4cd4b8422bbf6ff7ba40fd2b /source/blender/makesrna/intern/rna_cloth.c | |
parent | 05e598959e530060c02e81d3e4c39c29858d9405 (diff) |
bugfix [#24574] setting location gained from a matrix_world.copy().translation_part() (visual loc) after constraints causes NAN in object location after python script ends
shrinkwrap constraint was dividing by zero. also the shrinkwrap UI was incorrectly trying to draw a subtarget.
Diffstat (limited to 'source/blender/makesrna/intern/rna_cloth.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_cloth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_cloth.c b/source/blender/makesrna/intern/rna_cloth.c index 3a47124a47e..759a4acc860 100644 --- a/source/blender/makesrna/intern/rna_cloth.c +++ b/source/blender/makesrna/intern/rna_cloth.c @@ -55,7 +55,7 @@ static void rna_cloth_update(Main *bmain, Scene *scene, PointerRNA *ptr) static void rna_cloth_pinning_changed(Main *bmain, Scene *scene, PointerRNA *ptr) { Object *ob= (Object*)ptr->id.data; - ClothSimSettings *settings = (ClothSimSettings*)ptr->data; +// ClothSimSettings *settings = (ClothSimSettings*)ptr->data; ClothModifierData *clmd = (ClothModifierData*)modifiers_findByType(ob, eModifierType_Cloth); cloth_free_modifier(clmd); |