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>2011-08-28 15:39:18 +0400
committerJoshua Leung <aligorith@gmail.com>2011-08-28 15:39:18 +0400
commit8e12b7b054c3c4e95a23f26db232d99ff18e2b90 (patch)
treeff37993677c52a010cb29113a37e146065583914 /source/blender/editors/space_nla
parent94b3e83b6c564a66788624e824a2548d6c8b8650 (diff)
Assorted comment clarification in response to code review notes
Diffstat (limited to 'source/blender/editors/space_nla')
-rw-r--r--source/blender/editors/space_nla/nla_draw.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/editors/space_nla/nla_draw.c b/source/blender/editors/space_nla/nla_draw.c
index 9ce5aafd48a..0583f328371 100644
--- a/source/blender/editors/space_nla/nla_draw.c
+++ b/source/blender/editors/space_nla/nla_draw.c
@@ -471,10 +471,7 @@ static void nla_draw_strip_text (AnimData *adt, NlaTrack *nlt, NlaStrip *strip,
sprintf(str, "%d) Temp-Meta", index);
}
else {
- if (strip->flag & NLASTRIP_FLAG_REVERSE)
- sprintf(str, "%s", strip->name);
- else
- sprintf(str, "%s", strip->name);
+ sprintf(str, strip->name);
}
/* set text color - if colors (see above) are light, draw black text, otherwise draw white */