Bugfix: NLA Channel Borderselect works again

This commit is contained in:
Joshua Leung 2010-11-08 00:09:31 +00:00
parent 55923d1044
commit 615a2060c9
2 changed files with 11 additions and 1 deletions

@ -1688,6 +1688,16 @@ static void borderselect_anim_channels (bAnimContext *ac, rcti *rect, short sele
agrp->flag &= ~AGRP_ACTIVE; agrp->flag &= ~AGRP_ACTIVE;
} }
break; break;
case ANIMTYPE_NLATRACK:
{
NlaTrack *nlt= (NlaTrack *)ale->data;
/* for now, it's easier just to do this here manually, as defining a new type
* currently adds complications when doing other stuff
*/
ACHANNEL_SET_FLAG(nlt, selectmode, NLATRACK_SELECTED);
}
break;
} }
} }