|
From: <gi...@gp...> - 2011-08-28 14:44:31
|
The branch, master has been updated
via 74e7a2b360e2b4cbe49510cfb3a645666ffbcd95 (commit)
from 0d39e62943da3b0686b2f41a53ddb9b4f0b4b20e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
=========
Summary
=========
src/draw.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
=================
Commit Messages
=================
commit 74e7a2b360e2b4cbe49510cfb3a645666ffbcd95
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
draw.c: Move doing_assy flag assignment into PrintAssembly()
Keeps things tidier
:100644 100644 7d7a594... ea3e1ce... M src/draw.c
=========
Changes
=========
commit 74e7a2b360e2b4cbe49510cfb3a645666ffbcd95
Author: Peter Clifton <pc...@ca...>
Commit: Peter Clifton <pc...@ca...>
draw.c: Move doing_assy flag assignment into PrintAssembly()
Keeps things tidier
diff --git a/src/draw.c b/src/draw.c
index 7d7a594..ea3e1ce 100644
--- a/src/draw.c
+++ b/src/draw.c
@@ -639,6 +639,7 @@ PrintAssembly (int side, const BoxType * drawn_area)
{
int side_group = GetLayerGroupNumberByNumber (max_copper_layer + side);
+ doing_assy = true;
gui->set_draw_faded (Output.fgGC, 1);
DrawLayerGroup (side_group, drawn_area);
DrawPPV (side_group, drawn_area);
@@ -646,6 +647,7 @@ PrintAssembly (int side, const BoxType * drawn_area)
/* draw package */
DrawSilk (side, drawn_area);
+ doing_assy = false;
}
/* ---------------------------------------------------------------------------
@@ -787,8 +789,6 @@ DrawEverything (BoxTypePtr drawn_area)
gui->end_layer ();
}
- doing_assy = true;
-
if (gui->set_layer ("topassembly", SL (ASSY, TOP), 0))
{
PrintAssembly (COMPONENT_LAYER, drawn_area);
@@ -801,8 +801,6 @@ DrawEverything (BoxTypePtr drawn_area)
gui->end_layer ();
}
- doing_assy = false;
-
if (gui->set_layer ("fab", SL (FAB, 0), 0))
{
PrintFab (Output.fgGC);
|