Eagle plugin: remve a non-static initializer.
This commit is contained in:
parent
19075e3434
commit
4141a250fe
|
@ -797,7 +797,7 @@ struct EPOLYGON
|
||||||
HATCH,
|
HATCH,
|
||||||
CUTOUT,
|
CUTOUT,
|
||||||
};
|
};
|
||||||
int pour = EPOLYGON::SOLID;
|
int pour;
|
||||||
opt_double isolate;
|
opt_double isolate;
|
||||||
opt_bool orphans;
|
opt_bool orphans;
|
||||||
opt_bool thermals;
|
opt_bool thermals;
|
||||||
|
@ -827,8 +827,10 @@ EPOLYGON::EPOLYGON( CPTREE& aPolygon )
|
||||||
layer = attribs.get<int>( "layer" );
|
layer = attribs.get<int>( "layer" );
|
||||||
spacing = attribs.get_optional<double>( "spacing" );
|
spacing = attribs.get_optional<double>( "spacing" );
|
||||||
isolate = attribs.get_optional<double>( "isolate" );
|
isolate = attribs.get_optional<double>( "isolate" );
|
||||||
|
// default pour to solid fill
|
||||||
|
pour = EPOLYGON::SOLID;
|
||||||
opt_string s = attribs.get_optional<string>( "pour" );
|
opt_string s = attribs.get_optional<string>( "pour" );
|
||||||
|
|
||||||
if( s )
|
if( s )
|
||||||
{
|
{
|
||||||
// (solid | hatch | cutout)
|
// (solid | hatch | cutout)
|
||||||
|
|
Loading…
Reference in New Issue