Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/screen/screen_ops.c
| Show First 20 Lines • Show All 3,074 Lines • ▼ Show 20 Lines | static int keyframe_jump_exec(bContext *C, wmOperator *op) | ||||
| /* populate tree with keyframe nodes */ | /* populate tree with keyframe nodes */ | ||||
| scene_to_keylist(&ads, scene, keylist, 0); | scene_to_keylist(&ads, scene, keylist, 0); | ||||
| if (ob) { | if (ob) { | ||||
| ob_to_keylist(&ads, ob, keylist, 0); | ob_to_keylist(&ads, ob, keylist, 0); | ||||
| if (ob->type == OB_GPENCIL) { | if (ob->type == OB_GPENCIL) { | ||||
| const bool active = !(scene->flag & SCE_KEYS_NO_SELONLY); | gpencil_to_keylist(&ads, ob->data, keylist, false); | ||||
| gpencil_to_keylist(&ads, ob->data, keylist, active); | |||||
| } | } | ||||
| } | } | ||||
| { | { | ||||
| Mask *mask = CTX_data_edit_mask(C); | Mask *mask = CTX_data_edit_mask(C); | ||||
| if (mask) { | if (mask) { | ||||
| MaskLayer *masklay = BKE_mask_layer_active(mask); | MaskLayer *masklay = BKE_mask_layer_active(mask); | ||||
| mask_to_keylist(&ads, masklay, keylist); | mask_to_keylist(&ads, masklay, keylist); | ||||
| ▲ Show 20 Lines • Show All 2,685 Lines • Show Last 20 Lines | |||||