Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2013-11-20 15:29:29 +0400
committerJoshua Leung <aligorith@gmail.com>2013-11-20 16:33:02 +0400
commit2213b93521de4fc2221e448d4eef4bba8399b617 (patch)
treebbff0eade428755c03d16159e87e7e1e26bdb8e7
parentbe971959bc8db20c69cd0b894978fec8985d0abf (diff)
Remove old drawing code for NLA Tracks
-rw-r--r--source/blender/editors/space_nla/nla_draw.c40
1 files changed, 0 insertions, 40 deletions
diff --git a/source/blender/editors/space_nla/nla_draw.c b/source/blender/editors/space_nla/nla_draw.c
index b4c52a5b1ca..c30862fb156 100644
--- a/source/blender/editors/space_nla/nla_draw.c
+++ b/source/blender/editors/space_nla/nla_draw.c
@@ -645,46 +645,6 @@ static void draw_nla_channel_list_gl(bAnimContext *ac, ListBase *anim_data, View
/* determine what needs to be drawn */
switch (ale->type) {
- case ANIMTYPE_NLATRACK: /* NLA Track */
- {
- NlaTrack *nlt = (NlaTrack *)ale->data;
-
- /* 'solo' as the 'special' button? */
- if (nlt->flag & NLATRACK_SOLO)
- special = ICON_SOLO_ON;
- else
- special = ICON_SOLO_OFF;
-
- /* if this track is active and we're tweaking it, don't draw these toggles */
- // TODO: need a special macro for this...
- if (((nlt->flag & NLATRACK_ACTIVE) && (nlt->flag & NLATRACK_DISABLED)) == 0) {
- if (nlt->flag & NLATRACK_MUTED)
- mute = ICON_MUTE_IPO_ON;
- else
- mute = ICON_MUTE_IPO_OFF;
-
- if (EDITABLE_NLT(nlt))
- protect = ICON_UNLOCKED;
- else
- protect = ICON_LOCKED;
- }
-
- /* is track enabled for solo drawing? */
- if ((adt) && (adt->flag & ADT_NLA_SOLO_TRACK)) {
- if ((nlt->flag & NLATRACK_SOLO) == 0) {
- /* tag for special non-solo handling; also hide the mute toggles */
- nonSolo = 1;
- mute = 0;
- }
- }
-
- sel = SEL_NLT(nlt);
- BLI_strncpy(name, nlt->name, sizeof(name));
-
- /* draw manually still */
- do_draw = TRUE;
- break;
- }
case ANIMTYPE_NLAACTION: /* NLA Action-Line */
{
bAction *act = (bAction *)ale->data;