forked from bartvdbraak/blender
Bugfix: NLA Channel Borderselect works again
This commit is contained in:
parent
55923d1044
commit
615a2060c9
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -330,7 +330,7 @@ typedef enum eAnimChannels_SetFlag {
|
|||||||
|
|
||||||
/* types of settings for AnimChannels */
|
/* types of settings for AnimChannels */
|
||||||
typedef enum eAnimChannel_Settings {
|
typedef enum eAnimChannel_Settings {
|
||||||
ACHANNEL_SETTING_SELECT = 0,
|
ACHANNEL_SETTING_SELECT = 0,
|
||||||
ACHANNEL_SETTING_PROTECT, // warning: for drawing UI's, need to check if this is off (maybe inverse this later)
|
ACHANNEL_SETTING_PROTECT, // warning: for drawing UI's, need to check if this is off (maybe inverse this later)
|
||||||
ACHANNEL_SETTING_MUTE,
|
ACHANNEL_SETTING_MUTE,
|
||||||
ACHANNEL_SETTING_EXPAND,
|
ACHANNEL_SETTING_EXPAND,
|
||||||
|
Loading…
Reference in New Issue
Block a user