fix for uninitialized variable when circle selecting faces in editmode. (was crashing...
authorCampbell Barton <ideasman42@gmail.com>
Wed, 11 Nov 2009 11:29:56 +0000 (11:29 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 11 Nov 2009 11:29:56 +0000 (11:29 +0000)
source/blender/editors/space_view3d/view3d_select.c

index e060781868bdf54144b0ed3a254f2e336afb0671..508bf56cc718fb5407703b8f2163b56e29042e63 100644 (file)
@@ -1717,6 +1717,7 @@ static void mesh_circle_select(ViewContext *vc, int selecting, short *mval, floa
 
                vc->em= ((Mesh *)vc->obedit->data)->edit_mesh;
 
+               data.vc = vc;
                data.select = selecting;
                data.mval[0] = mval[0];
                data.mval[1] = mval[1];