Fix colors of edges.

This commit is contained in:
Laurent Rineau 2009-12-16 15:02:11 +00:00
parent 9e0fdd5948
commit d8d7924ac0
1 changed files with 3 additions and 1 deletions

View File

@ -214,7 +214,9 @@ Scene_c3t3_item::direct_draw(int mode) const {
#if QT_VERSION < 0x040300
# define darker dark
#endif
CGALglcolor(this->color().darker(150));
if(mode != DRAW_EDGES) {
CGALglcolor(this->color().darker(150));
}
#undef darker
for(Tr::Finite_cells_iterator
cit = c3t3().triangulation().finite_cells_begin(),