- bug fix: subdiv level 0 and drawtype 'optim' caused mesh not drawing

in editmode...
This commit is contained in:
2003-11-19 22:38:19 +00:00
parent f83a7dfc11
commit 487fd93a2b

View File

@@ -2339,7 +2339,7 @@ static void drawmeshwire(Object *ob)
if(ob==G.obedit || (G.obedit && ob->data==G.obedit->data)) {
if( (me->flag & ME_OPT_EDGES) && (me->flag & ME_SUBSURF)) handles= 1;
if( (me->flag & ME_OPT_EDGES) && (me->flag & ME_SUBSURF) && me->subdiv) handles= 1;
if(handles==0 && (G.f & (G_FACESELECT+G_DRAWFACES))) { /* faces */
char col1[4], col2[4];