fix [#34847] Box selecting shape keys of a mask causes crash

This commit is contained in:
Campbell Barton 2013-04-03 03:25:26 +00:00
parent ff7b353ce6
commit a5bd9cbb93

@ -277,7 +277,7 @@ static void borderselect_action(bAnimContext *ac, rcti rect, short mode, short s
Mask *mask = ale->data;
MaskLayer *masklay;
for (masklay = mask->masklayers.first; masklay; masklay = masklay->next) {
ED_masklayer_frames_select_border(ale->data, rectf.xmin, rectf.xmax, selectmode);
ED_masklayer_frames_select_border(masklay, rectf.xmin, rectf.xmax, selectmode);
}
break;
}