CADSTAR PCB: DrillXoffset and DrillYoffset are zero when not specified

Fixes an issue that resulted in pads being loaded 100nm off from the
original CADSTAR position.
This commit is contained in:
Roberto Fernandez Bautista 2021-03-28 15:16:18 +01:00 committed by Wayne Stambaugh
parent 6eb2e2a6e3
commit ad2043eda6
1 changed files with 3 additions and 3 deletions

View File

@ -305,8 +305,8 @@ public:
long DrillOversize = UNDEFINED_VALUE;
long SlotLength = UNDEFINED_VALUE;
long SlotOrientation = 0;
long DrillXoffset = UNDEFINED_VALUE;
long DrillYoffset = UNDEFINED_VALUE;
long DrillXoffset = 0;
long DrillYoffset = 0;
std::map<LAYER_ID, PAD_SHAPE> Reassigns;
@ -945,7 +945,7 @@ public:
void Parse( XNODE* aNode, PARSER_CONTEXT* aContext ) override;
};
struct JUNCTION_PCB : CADSTAR_ARCHIVE_PARSER::NET::JUNCTION ///< "JPT" nodename
{
TRUNK_ID TrunkID; ///< TRUNKREF Statements