Oops, couldn't specify the color of a lathe group.

[git-p4: depot-paths = "//depot/solvespace/": change = 1781]
This commit is contained in:
Jonathan Westhues 2008-06-06 03:36:16 -08:00
parent 8498a99588
commit 34d2d531e6

View File

@ -678,7 +678,7 @@ void TextWindow::ShowGroupInfo(void) {
Printf(false, "%Fx the parts interfere!"); Printf(false, "%Fx the parts interfere!");
} }
if(g->type == Group::EXTRUDE) { if(g->type == Group::EXTRUDE || g->type == Group::LATHE) {
#define TWOX(v) v v #define TWOX(v) v v
Printf(true, "%FtM_COLOR%E " TWOX(TWOX(TWOX("%Bp%D%f%Ln %Bd%E "))), Printf(true, "%FtM_COLOR%E " TWOX(TWOX(TWOX("%Bp%D%f%Ln %Bd%E "))),
0x80000000 | modelColor[0], 0, &TextWindow::ScreenColor, 0x80000000 | modelColor[0], 0, &TextWindow::ScreenColor,