Only use outlines around faces for surface objects
Was drawing wire when mixed with non-wire nurbs.
This commit is contained in:
@@ -7176,7 +7176,12 @@ static void drawObjectSelect(Scene *scene, View3D *v3d, ARegion *ar, Base *base,
|
||||
draw_mesh_object_outline(v3d, ob, dm);
|
||||
}
|
||||
else {
|
||||
drawDispListwire(&ob->curve_cache->disp, ob->type);
|
||||
/* don't show outline on 'wire' with surfaces,
|
||||
* don't show interior tessellation with curves */
|
||||
drawDispListwire_ex(
|
||||
&ob->curve_cache->disp,
|
||||
(ob->type == OB_SURF) ?
|
||||
(DL_INDEX3 | DL_INDEX4 | DL_SURF) : (DL_SEGM | DL_POLY));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user