Two small fixes thanks to test:

- backbuf draw vertices did still use pointsize 1.0, making them hard to
  select
- wire frontbuf draw on select used un-initialized color
This commit is contained in:
2004-09-28 11:19:57 +00:00
parent 9314ee5e66
commit 84b021e90f
2 changed files with 7 additions and 3 deletions

View File

@@ -4337,6 +4337,8 @@ static void bbs_mesh_verts(Object *ob, int offset)
EditVert *eve;
int a= offset;
glPointSize( BIF_GetThemeValuef(TH_VERTEX_SIZE) );
bglBegin(GL_POINTS);
for(eve= G.editMesh->verts.first; eve; eve= eve->next, a++) {
if(eve->h==0) {
@@ -4345,6 +4347,8 @@ static void bbs_mesh_verts(Object *ob, int offset)
}
}
bglEnd();
glPointSize(1.0);
}
/* two options, edgecolors or black */