forked from bartvdbraak/blender
fix for own bug - evaluating past the last frame of a mask didnt work at all.
This commit is contained in:
parent
de7fe937ff
commit
ae3062b741
@ -1779,10 +1779,17 @@ int BKE_mask_layer_shape_find_frame_range(MaskLayer *masklay, const int frame,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ((masklay_shape = masklay->splines_shapes.last)) {
|
||||||
|
*r_masklay_shape_a = masklay_shape;
|
||||||
|
*r_masklay_shape_b = NULL;
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
else {
|
||||||
*r_masklay_shape_a = NULL;
|
*r_masklay_shape_a = NULL;
|
||||||
*r_masklay_shape_b = NULL;
|
*r_masklay_shape_b = NULL;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
MaskLayerShape *BKE_mask_layer_shape_varify_frame(MaskLayer *masklay, const int frame)
|
MaskLayerShape *BKE_mask_layer_shape_varify_frame(MaskLayer *masklay, const int frame)
|
||||||
|
Loading…
Reference in New Issue
Block a user