mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 10:13:19 +02:00
Cleanup zone bbox cache in destructor
This commit is contained in:
parent
f4ac4be701
commit
2654279678
@ -229,6 +229,9 @@ FOOTPRINT::~FOOTPRINT()
|
|||||||
delete d;
|
delete d;
|
||||||
|
|
||||||
m_drawings.clear();
|
m_drawings.clear();
|
||||||
|
|
||||||
|
if( BOARD* board = GetBoard() )
|
||||||
|
board->IncrementTimeStamp();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -93,6 +93,9 @@ ZONE::~ZONE()
|
|||||||
{
|
{
|
||||||
delete m_Poly;
|
delete m_Poly;
|
||||||
delete m_CornerSelection;
|
delete m_CornerSelection;
|
||||||
|
|
||||||
|
if( BOARD* board = GetBoard() )
|
||||||
|
board->IncrementTimeStamp();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user