forked from bartvdbraak/blender
New icons for the sticky / face select state in the UV editor / Image Window.
The png file containing the icons, 'blenderbuttons', was updated to contain these new icons. It now also contains the icons from the 2.30 ui makeover. The file had not been updated since then.
This commit is contained in:
parent
bcb7e33813
commit
bce1190874
Binary file not shown.
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 41 KiB |
@ -107,9 +107,9 @@ typedef enum {
|
||||
ICON_AXIS_SIDE,
|
||||
ICON_AXIS_FRONT,
|
||||
ICON_AXIS_TOP,
|
||||
ICON_BLANK14,
|
||||
ICON_BLANK15,
|
||||
ICON_BLANK16,
|
||||
ICON_DRAW_UVFACES,
|
||||
ICON_STICKY_UVS,
|
||||
ICON_STICKY2_UVS,
|
||||
ICON_BLANK17,
|
||||
ICON_BLANK18,
|
||||
ICON_ENVMAP,
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -543,16 +543,18 @@ static void draw_image_view_icon(void)
|
||||
|
||||
glRasterPos2f(5.0, 5.0);
|
||||
|
||||
if(G.sima->flag & SI_STICKYUVS || G.sima->flag & SI_LOCALSTICKY)
|
||||
BIF_draw_icon(ICON_A_WACKY_VERT_AND_SOME_LINES);
|
||||
else
|
||||
BIF_draw_icon(ICON_SOME_WACKY_VERTS_AND_LINES);
|
||||
|
||||
if(G.sima->flag & SI_STICKYUVS) {
|
||||
BIF_draw_icon(ICON_STICKY2_UVS);
|
||||
glRasterPos2f(25.0, 5.0);
|
||||
if(G.sima->flag & SI_SELACTFACE)
|
||||
BIF_draw_icon(ICON_CLIPUV_HLT);
|
||||
else
|
||||
BIF_draw_icon(ICON_CLIPUV_DEHLT);
|
||||
}
|
||||
else if(G.sima->flag & SI_LOCALSTICKY) {
|
||||
BIF_draw_icon(ICON_STICKY_UVS);
|
||||
glRasterPos2f(25.0, 5.0);
|
||||
}
|
||||
|
||||
if(G.sima->flag & SI_SELACTFACE) {
|
||||
BIF_draw_icon(ICON_DRAW_UVFACES);
|
||||
}
|
||||
|
||||
glBlendFunc(GL_ONE, GL_ZERO);
|
||||
glDisable(GL_BLEND);
|
||||
|
Loading…
Reference in New Issue
Block a user