Correction to previous commit

This commit is contained in:
Campbell Barton 2014-03-07 21:17:26 +11:00
parent 7a9838b5d3
commit 98abc80dcf
2 changed files with 3 additions and 3 deletions

View File

@ -296,7 +296,7 @@ static int mask_shape_key_rekey_exec(bContext *C, wmOperator *op)
masklay_shape_b = masklay_shape;
masklay_shape_lastsel = NULL;
/* this will be freed below, sep over selection */
/* this will be freed below, step over selection */
masklay_shape_next = masklay_shape->next;
}
}

View File

@ -3015,7 +3015,7 @@ static int gpf_cmp_frame(void *thunk, void *a, void *b)
return 0;
}
static int maskley_shape_cmp_frame(void *thunk, void *a, void *b)
static int masklay_shape_cmp_frame(void *thunk, void *a, void *b)
{
MaskLayerShape *frame_a = a;
MaskLayerShape *frame_b = b;
@ -3069,7 +3069,7 @@ static void posttrans_mask_clean(Mask *mask)
MaskLayerShape *masklay_shape, *masklay_shape_next;
bool is_double = false;
BLI_sortlist_r(&masklay->splines_shapes, &is_double, maskley_shape_cmp_frame);
BLI_sortlist_r(&masklay->splines_shapes, &is_double, masklay_shape_cmp_frame);
if (is_double) {
for (masklay_shape = masklay->splines_shapes.first; masklay_shape; masklay_shape = masklay_shape_next) {