Be more selective about hiding solder mask.
This commit is contained in:
parent
5433684d3c
commit
db06693d22
|
@ -385,11 +385,11 @@ void BOARD_COMMIT::Push( const wxString& aMessage, bool aCreateUndoEntry, bool a
|
||||||
connectivity->RecalculateRatsnest( this );
|
connectivity->RecalculateRatsnest( this );
|
||||||
connectivity->ClearDynamicRatsnest();
|
connectivity->ClearDynamicRatsnest();
|
||||||
|
|
||||||
if( frame )
|
if( frame && solderMaskDirty )
|
||||||
{
|
|
||||||
frame->HideSolderMask();
|
frame->HideSolderMask();
|
||||||
|
|
||||||
|
if( frame )
|
||||||
frame->GetCanvas()->RedrawRatsnest();
|
frame->GetCanvas()->RedrawRatsnest();
|
||||||
}
|
|
||||||
|
|
||||||
if( m_changes.size() > num_changes )
|
if( m_changes.size() > num_changes )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue