Eagle PCB import plugin: fix dimensions import

This commit is contained in:
Maciej Suminski
2017-10-20 09:34:33 +02:00
parent ee8012a5cc
commit e466bf50ae
2 changed files with 20 additions and 8 deletions
+1 -7
View File
@@ -524,13 +524,7 @@ EDIMENSION::EDIMENSION( wxXmlNode* aDimension )
x3 = parseRequiredAttribute<ECOORD>( aDimension, "x3" );
y3 = parseRequiredAttribute<ECOORD>( aDimension, "y3" );
layer = parseRequiredAttribute<int>( aDimension, "layer" );
opt_string dimType = parseOptionalAttribute<string>( aDimension, "dtype" );
if( !dimType )
{
// default type is parallel
}
dimensionType = parseOptionalAttribute<string>( aDimension, "dtype" );
}