Name exported Gerber files with the layer name
Bug #700877 reported by
Robert Jenssen
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pcb |
Fix Released
|
Wishlist
|
DJ Delorie |
Bug Description
Here is a patch to a src/hid/
diff --git a/src/hid/
index 30859fb..feda662 100644
--- a/src/hid/
+++ b/src/hid/
@@ -191,7 +191,7 @@ layer_type_
else
{
static char buf[20];
- sprintf (buf, "group%d", group);
+ snprintf (buf, 20, "%s", PCB->Data-
return buf;
}
break;
tags: | added: gerber-export |
Changed in pcb: | |
status: | Expired → Incomplete |
Changed in pcb: | |
status: | Incomplete → Fix Committed |
Changed in pcb: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
What about groups with more than one layer? Which of the N names do you choose?
IIRC we used to use layer names for exports, but changed to group numbers because of this.