diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-05-13 01:12:10 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-05-13 01:12:10 +0400 |
commit | ac71783e8dccdb42afb8e68ae077902185bb42c0 (patch) | |
tree | 6b2040e52c8f372714a69e89ad1f30cd368d5604 /source/blender/src/drawarmature.c | |
parent | a0cd3d67ed6d26abbba98e85511448d808e3c275 (diff) |
last commit had a typo, also adjusted teh and colour instances
Diffstat (limited to 'source/blender/src/drawarmature.c')
-rw-r--r-- | source/blender/src/drawarmature.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/src/drawarmature.c b/source/blender/src/drawarmature.c index 9b8905b782b..99de2c1583d 100644 --- a/source/blender/src/drawarmature.c +++ b/source/blender/src/drawarmature.c @@ -96,7 +96,7 @@ static ThemeWireColor *bcolor= NULL; /* values of colCode for set_pchan_glcolor */ enum { PCHAN_COLOR_NORMAL = 0, /* normal drawing */ - PCHAN_COLOR_SOLID, /* specific case where "solid" colour is needed */ + PCHAN_COLOR_SOLID, /* specific case where "solid" color is needed */ PCHAN_COLOR_CONSTS, /* "constraint" colors (which may/may-not be suppressed) */ PCHAN_COLOR_SPHEREBONE_BASE, /* for the 'stick' of sphere (envelope) bones */ @@ -1186,7 +1186,7 @@ static void draw_b_bone(int dt, int armflag, int boneflag, int constflag, unsign /* wire */ if (armflag & ARM_POSEMODE) { if (constflag) { - /* set constraint colours */ + /* set constraint colors */ if (set_pchan_glColor(PCHAN_COLOR_CONSTS, armflag, boneflag, constflag)) { glEnable(GL_BLEND); @@ -1645,7 +1645,7 @@ static void draw_pose_channels(Base *base, int dt) glPushMatrix(); glMultMatrixf(pchan->pose_mat); - /* prepare colours */ + /* prepare colors */ if (arm->flag & ARM_POSEMODE) set_pchan_colorset(ob, pchan); else { @@ -2090,7 +2090,7 @@ static void draw_pose_paths(Object *ob) for (a=0, fp=fp_start; a<len; a++, fp+=3) { float intensity; /* how faint */ - /* set colour + /* set color * - more intense for active/selected bones, less intense for unselected bones * - black for before current frame, green for current frame, blue for after current frame * - intensity decreases as distance from current frame increases @@ -2131,7 +2131,7 @@ static void draw_pose_paths(Object *ob) BIF_ThemeColorBlendShade(TH_CFRAME, TH_BACK, intensity, 10); } - /* draw a vertex with this colour */ + /* draw a vertex with this color */ glVertex3fv(fp); } |