Ctrl+RMB select in the dope-sheet wasnt working, this nlabackup stuff isnt being done for select-all so not sure why its there, commented it out for now.

Aligorith, please check.
This commit is contained in:
Campbell Barton
2010-01-14 20:48:25 +00:00
parent e9e89ecfc3
commit 5d16a5b7d9

View File

@@ -663,7 +663,8 @@ static void actkeys_mselect_leftright (bAnimContext *ac, short leftright, short
/* select keys on the side where most data occurs */
for (ale= anim_data.first; ale; ale= ale->next) {
AnimData *adt= ANIM_nla_mapping_get(ac, ale);
#if 0 // This does not work even in simple cases I tested - campbell
if (adt) {
ListBase nlabackup;
@@ -674,6 +675,7 @@ static void actkeys_mselect_leftright (bAnimContext *ac, short leftright, short
//else if (ale->type == ANIMTYPE_GPLAYER)
// borderselect_gplayer_frames(ale->data, min, max, SELECT_ADD);
else
#endif
ANIM_fcurve_keys_bezier_loop(&bed, ale->key_data, ok_cb, select_cb, NULL);
}