etch-a-ton: fix uninitialized memory use

This commit is contained in:
Campbell Barton 2015-02-17 16:48:53 +11:00
parent 0294327615
commit a8487fc7fe

@ -81,6 +81,10 @@ void sk_initPoint(SK_Point *pt, SK_DrawData *dd, const float no[3])
}
pt->p2d[0] = dd->mval[0];
pt->p2d[1] = dd->mval[1];
pt->size = 0.0f;
pt->type = PT_CONTINUOUS;
pt->mode = PT_SNAP;
/* more init code here */
}