Fix a bug in ZONE_CONTAINER copy constructor.
I fixed it in commit26ebf3c96
, and broke it in commit04bae776
. Fixes: lp:1850758 https://bugs.launchpad.net/kicad/+bug/1850758
This commit is contained in:
parent
42daf172fd
commit
c34a584289
|
@ -168,6 +168,10 @@ void ZONE_CONTAINER::initDataFromSrcInCopyCtor( const ZONE_CONTAINER& aZone )
|
|||
|
||||
SetLocalFlags( aZone.GetLocalFlags() );
|
||||
|
||||
// Now zone type and layer are set, transfer net info
|
||||
// (has meaning only for copper zones)
|
||||
m_netinfo = aZone.m_netinfo;
|
||||
|
||||
SetNeedRefill( aZone.NeedRefill() );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue