move ED_object_pose_armature --> object_pose_armature_get to so we dont get bad level calls in the weight paint branch.

This commit is contained in:
2011-09-14 01:48:55 +00:00
parent dd2a2ec699
commit 9b06435653
12 changed files with 76 additions and 86 deletions

View File

@@ -588,20 +588,6 @@ static void shadecolors4(char *coltop, char *coldown, const char *color, short s
coldown[3]= color[3];
}
static void round_box_shade_col4(const char col1[4], const char col2[4], const float fac)
{
unsigned char col[4];
const int faci= FTOCHAR(fac);
const int facm= 255-faci;
col[0]= (faci*col1[0] + facm*col2[0])>>8;
col[1]= (faci*col1[1] + facm*col2[1])>>8;
col[2]= (faci*col1[2] + facm*col2[2])>>8;
col[3]= (faci*col1[3] + facm*col2[3])>>8;
glColor4ubv(col);
}
static void round_box_shade_col4_r(unsigned char col_r[4], const char col1[4], const char col2[4], const float fac)
{
const int faci= FTOCHAR(fac);