diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-11-22 17:16:11 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-11-22 17:16:11 +0300 |
commit | 4a20c386fd14553a03f64bb433a2c3d335a971fe (patch) | |
tree | c5df7d6758915696d9e9a65ad01d93989cc9cf66 /source/blender/makesrna/intern/rna_object_api.c | |
parent | 69246d908018abe7c47a924dd1a16183bc8ec803 (diff) |
bugfix [#20768] Project Snap Broken
Diffstat (limited to 'source/blender/makesrna/intern/rna_object_api.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_object_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_object_api.c b/source/blender/makesrna/intern/rna_object_api.c index 293c837c21f..34e3caad618 100644 --- a/source/blender/makesrna/intern/rna_object_api.c +++ b/source/blender/makesrna/intern/rna_object_api.c @@ -343,7 +343,7 @@ static void rna_Mesh_assign_verts_to_group(Object *ob, bDeformGroup *group, int void rna_Object_ray_cast(Object *ob, ReportList *reports, float ray_start[3], float ray_end[3], float r_location[3], float r_normal[3], int *index) { - BVHTreeFromMesh treeData; + BVHTreeFromMesh treeData= {0}; if(ob->derivedFinal==NULL) { BKE_reportf(reports, RPT_ERROR, "object \"%s\" has no mesh data to be used for ray casting.", ob->id.name+2); |