Simple usability fix:

Mesh editmode, active face was always drawing same stipple pattern color, 
whether face is selected or not. 
Now it uses selection color + stipple. Looks much more consistent.
This commit is contained in:
2013-05-25 17:42:20 +00:00
parent 7c9f7e7566
commit 754f93f30d

View File

@@ -2369,7 +2369,10 @@ static DMDrawOption draw_dm_faces_sel__setDrawOptions(void *userData, int index)
if (!BM_elem_flag_test(efa, BM_ELEM_HIDDEN)) {
if (efa == data->efa_act) {
glColor4ubv(data->cols[2]);
if (BM_elem_flag_test(efa, BM_ELEM_SELECT))
glColor4ubv(data->cols[1]);
else
glColor4ubv(data->cols[2]);
return DM_DRAW_OPTION_STIPPLE;
}
else {