Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/screen/screen_ops.c
| Context not available. | |||||
| /* populate tree with keyframe nodes */ | /* populate tree with keyframe nodes */ | ||||
| scene_to_keylist(&ads, scene, &keys, NULL); | scene_to_keylist(&ads, scene, &keys, NULL); | ||||
| gpencil_to_keylist(&ads, scene->gpd, &keys); | gpencil_to_keylist(&ads, scene->gpd, &keys, false); | ||||
| /* populate for all palettes */ | |||||
| CTX_DATA_BEGIN(C, Palette *, palette, available_palettes) | |||||
| { | |||||
| palette_to_keylist(&ads, palette, &keys, NULL); | |||||
| } | |||||
| CTX_DATA_END; | |||||
| if (ob) { | if (ob) { | ||||
| ob_to_keylist(&ads, ob, &keys, NULL); | ob_to_keylist(&ads, ob, &keys, NULL); | ||||
| gpencil_to_keylist(&ads, ob->gpd, &keys); | |||||
| if (ob->type == OB_GPENCIL) { | |||||
| const bool active = !(scene->flag & SCE_KEYS_NO_SELONLY); | |||||
| gpencil_to_keylist(&ads, ob->data, &keys, active); | |||||
| } | |||||
| } | } | ||||
| { | { | ||||
| Context not available. | |||||