From 34d2d531e6a7eb22374b95ef6ca1a3d4ea13a53b Mon Sep 17 00:00:00 2001 From: Jonathan Westhues Date: Fri, 6 Jun 2008 03:36:16 -0800 Subject: [PATCH] Oops, couldn't specify the color of a lathe group. [git-p4: depot-paths = "//depot/solvespace/": change = 1781] --- textwin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/textwin.cpp b/textwin.cpp index 5f91642..76c964e 100644 --- a/textwin.cpp +++ b/textwin.cpp @@ -678,7 +678,7 @@ void TextWindow::ShowGroupInfo(void) { 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 Printf(true, "%FtM_COLOR%E " TWOX(TWOX(TWOX("%Bp%D%f%Ln %Bd%E "))), 0x80000000 | modelColor[0], 0, &TextWindow::ScreenColor,