added sharp edge theme color

This commit is contained in:
2007-01-03 05:50:17 +00:00
parent 6742659312
commit 59e44e4afa
6 changed files with 13 additions and 5 deletions

View File

@@ -1879,7 +1879,7 @@ static void draw_em_fancy(Object *ob, EditMesh *em, DerivedMesh *cageDM, Derived
}
if(G.f & G_DRAWSHARP) {
glColor3ub(255, 32, 32); /* todo, make theme-able */
BIF_ThemeColor(TH_EDGE_SHARP);
glLineWidth(2);
draw_dm_edges_sharp(cageDM);