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>2015-02-28 16:15:25 +0300
committerJoshua Leung <aligorith@gmail.com>2015-02-28 16:34:54 +0300
commit4ad31d5bab704cd5a251c05bd5c0b3cfa787bc88 (patch)
tree736f5f21be371e948f67e9f1126eb13c5be4e91e /source/blender/editors/space_nla
parent46ad5b6f67cb53f7e7b7ca17118bc1f321c388d0 (diff)
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?
Diffstat (limited to 'source/blender/editors/space_nla')
-rw-r--r--source/blender/editors/space_nla/nla_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_nla/nla_draw.c b/source/blender/editors/space_nla/nla_draw.c
index ef3c3504a85..aae0e38696c 100644
--- a/source/blender/editors/space_nla/nla_draw.c
+++ b/source/blender/editors/space_nla/nla_draw.c
@@ -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 */