NLA Drawing Tweaks

* Strips in muted tracks are also drawn with dotted borders now to make it clearer
  that they are not contributing.

TODO:
* Perhaps dotted should be used for protected, and opacity for muted instead?
This commit is contained in:
Joshua Leung 2015-03-01 02:15:25 +13:00
parent 46ad5b6f67
commit 4ad31d5bab
1 changed files with 1 additions and 1 deletions

View File

@ -374,7 +374,7 @@ static void nla_draw_strip(SpaceNla *snla, AnimData *adt, NlaTrack *nlt, NlaStri
}
/* - line style: dotted for muted */
if (strip->flag & NLASTRIP_FLAG_MUTED)
if ((nlt->flag & NLATRACK_MUTED) || (strip->flag & NLASTRIP_FLAG_MUTED))
setlinestyle(4);
/* draw outline */