Bugfix #4565
Curves without bevel/extrude don't react to buttons to fill front/back. That is coded that way, so added this info to the tooltip Bug report #4566 Creases drawing became very awkward in commit in august last year. Flipped the drawing order so the fat lines - denoting creases - are drawn first. That way the value of crease is visible, as well as edge selection state.
This commit is contained in:
@@ -1378,7 +1378,7 @@ static int draw_dm_creases__setDrawOptions(void *userData, int index)
|
||||
EditEdge *eed = EM_get_edge_for_index(index);
|
||||
|
||||
if (eed->h==0 && eed->crease!=0.0) {
|
||||
BIF_ThemeColorShade((eed->f&SELECT)?TH_EDGE_SELECT:TH_WIRE, 120*eed->crease);
|
||||
BIF_ThemeColorBlend(TH_WIRE, TH_EDGE_SELECT, eed->crease);
|
||||
return 1;
|
||||
} else {
|
||||
return 0;
|
||||
@@ -1738,12 +1738,12 @@ static void draw_em_fancy(Object *ob, EditMesh *em, DerivedMesh *cageDM, Derived
|
||||
glLineWidth(1);
|
||||
}
|
||||
|
||||
draw_em_fancy_edges(cageDM);
|
||||
|
||||
if(G.f & G_DRAWCREASES) {
|
||||
draw_dm_creases(cageDM);
|
||||
}
|
||||
|
||||
draw_em_fancy_edges(cageDM);
|
||||
|
||||
if(ob==G.obedit) {
|
||||
draw_em_fancy_verts(em, cageDM);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user