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