From 615a2060c905196817dcf5020cc078418a955614 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Mon, 8 Nov 2010 00:09:31 +0000 Subject: Bugfix: NLA Channel Borderselect works again --- source/blender/editors/animation/anim_channels_edit.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source/blender/editors/animation/anim_channels_edit.c') diff --git a/source/blender/editors/animation/anim_channels_edit.c b/source/blender/editors/animation/anim_channels_edit.c index 6b39565f6f0..3fe867fa3af 100644 --- a/source/blender/editors/animation/anim_channels_edit.c +++ b/source/blender/editors/animation/anim_channels_edit.c @@ -1688,6 +1688,16 @@ static void borderselect_anim_channels (bAnimContext *ac, rcti *rect, short sele agrp->flag &= ~AGRP_ACTIVE; } 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; } } -- cgit v1.2.3