== Retopo ==

Fixed bug #5773, retopo - if in wireframe mode should give an error/warning

* Show error message for Retopo All button if view is in wireframe mode
* When toggling view shading, update view depth data if shading isn't set to wireframe
This commit is contained in:
2007-01-22 00:48:53 +00:00
parent fef73f2b92
commit 26e787dc9f
2 changed files with 9 additions and 0 deletions

View File

@@ -1774,6 +1774,10 @@ void toggle_shading(void)
if(G.vd->drawtype==OB_SOLID || G.vd->drawtype==OB_SHADED) G.vd->drawtype= OB_WIRE;
else G.vd->drawtype= OB_SOLID;
}
if(G.vd->drawtype != OB_WIRE && G.vd->depths) {
G.vd->depths->damaged= 1;
}
}
void minmax_verts(float *min, float *max)