forked from bartvdbraak/blender
Fix for another NLA drawing bug uncovered by the previous commit
With multiple strips in tweakmode, only the one tagged as being "active" would get drawn in the correct colours, while all the others would just get drawn as a selected strip instead.
This commit is contained in:
parent
5361339ba0
commit
c95f38b92a
@ -186,7 +186,7 @@ static void nla_strip_get_color_inside(AnimData *adt, NlaStrip *strip, float col
|
||||
}
|
||||
else {
|
||||
/* Action Clip (default/normal type of strip) */
|
||||
if ((strip->flag & NLASTRIP_FLAG_ACTIVE) && (adt && (adt->flag & ADT_NLA_EDIT_ON))) {
|
||||
if (adt && (adt->flag & ADT_NLA_EDIT_ON) && (adt->actstrip == strip)) {
|
||||
/* active strip should be drawn green when it is acting as the tweaking strip.
|
||||
* however, this case should be skipped for when not in EditMode...
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user