Eeschema print: Do not print private graphics in symbols.
Fixes #11532 https://gitlab.com/kicad/code/kicad/issues/11532
This commit is contained in:
parent
ece15b6472
commit
50223c9337
|
@ -548,6 +548,10 @@ void LIB_SYMBOL::Print( const RENDER_SETTINGS* aSettings, const VECTOR2I& aOffse
|
|||
{
|
||||
for( LIB_ITEM& item : m_drawings )
|
||||
{
|
||||
// Do not print private items
|
||||
if( item.IsPrivate() )
|
||||
continue;
|
||||
|
||||
if( item.Type() == LIB_SHAPE_T )
|
||||
{
|
||||
LIB_SHAPE& shape = static_cast<LIB_SHAPE&>( item );
|
||||
|
@ -567,6 +571,10 @@ void LIB_SYMBOL::Print( const RENDER_SETTINGS* aSettings, const VECTOR2I& aOffse
|
|||
|
||||
for( LIB_ITEM& item : m_drawings )
|
||||
{
|
||||
// Do not print private items
|
||||
if( item.IsPrivate() )
|
||||
continue;
|
||||
|
||||
// Do not draw items not attached to the current part
|
||||
if( aUnit && item.m_unit && ( item.m_unit != aUnit ) )
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue