mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 14:31:42 +00:00
Whoops, mutable.
This commit is contained in:
parent
5815998b5b
commit
d070f5ee95
@ -2982,7 +2982,7 @@ const SHAPE_POLY_SET& FOOTPRINT::GetCourtyard( PCB_LAYER_ID aLayer ) const
|
||||
if( m_courtyard_cache_front_hash != m_courtyard_cache_front.GetHash()
|
||||
|| m_courtyard_cache_back_hash != m_courtyard_cache_back.GetHash() )
|
||||
{
|
||||
BuildCourtyardCaches();
|
||||
const_cast<FOOTPRINT*>(this)->BuildCourtyardCaches();
|
||||
}
|
||||
|
||||
return GetCachedCourtyard( aLayer );
|
||||
|
Loading…
Reference in New Issue
Block a user