Fix crasher on non-reset pointer. Mostly happened panning view while drawing.

This commit is contained in:
Martin Poirier
2009-01-06 19:00:22 +00:00
parent f6f309d2d1
commit 9b3727b5e0

View File

@@ -1514,6 +1514,7 @@ int sk_getStrokeEmbedPoint(SK_Point *pt, SK_Sketch *sketch, SK_Stroke *stk, SK_D
float vec[3];
float new_dist;
p2 = NULL;
p1->flag = 1;
/* if peeling objects, take the first and last from each object */