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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user