Browse Source

Fix a bug in ZONE_CONTAINER copy constructor.

I fixed it in commit 26ebf3c96, and broke it in commit 04bae776.

Fixes: lp:1850758
https://bugs.launchpad.net/kicad/+bug/1850758
merge-requests/1/head
jean-pierre charras 6 years ago
parent
commit
c34a584289
  1. 4
      pcbnew/class_zone.cpp

4
pcbnew/class_zone.cpp

@ -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…
Cancel
Save