Fix incorrectly initialized variable.
The SCH_ITEM default is LAYER_WIRE, which we don't want for a symbol. Fixes https://gitlab.com/kicad/code/kicad/issues/11307
This commit is contained in:
parent
dc8556726b
commit
3196857449
|
@ -193,6 +193,7 @@ SCH_SYMBOL::SCH_SYMBOL( const SCH_SYMBOL& aSymbol ) :
|
|||
|
||||
void SCH_SYMBOL::Init( const VECTOR2I& pos )
|
||||
{
|
||||
m_layer = LAYER_DEVICE;
|
||||
m_pos = pos;
|
||||
m_unit = 1; // In multi unit chip - which unit to draw.
|
||||
m_convert = LIB_ITEM::LIB_CONVERT::BASE; // De Morgan Handling
|
||||
|
|
Loading…
Reference in New Issue