up/down arrows were not switching mask keyframes in the image space
This commit is contained in:
@@ -1970,12 +1970,10 @@ static int keyframe_jump_exec(bContext *C, wmOperator *op)
|
||||
ob_to_keylist(&ads, ob, &keys, NULL);
|
||||
|
||||
{
|
||||
SpaceClip *sc = CTX_wm_space_clip(C);
|
||||
if (sc) {
|
||||
if ((sc->mode == SC_MODE_MASKEDIT) && sc->mask_info.mask) {
|
||||
MaskLayer *masklay = BKE_mask_layer_active(sc->mask_info.mask);
|
||||
mask_to_keylist(&ads, masklay, &keys);
|
||||
}
|
||||
Mask *mask = CTX_data_edit_mask(C);
|
||||
if (mask) {
|
||||
MaskLayer *masklay = BKE_mask_layer_active(mask);
|
||||
mask_to_keylist(&ads, masklay, &keys);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user