Gerbview: fix borked cleanup of layer remapping

Happened in 4ba3937f8a
This commit is contained in:
Mike Williams 2022-01-05 12:59:53 -05:00
parent 9b3e9082d3
commit d827f06a74
1 changed files with 1 additions and 1 deletions

View File

@ -510,7 +510,7 @@ void GERBVIEW_FRAME::SortLayersByX2Attributes()
for( const std::pair<const int, int>& entry : remapping )
{
view_remapping[ entry.first ] = GERBER_DRAW_LAYER( entry.second );
view_remapping[ GERBER_DRAW_LAYER( entry.first ) ] = GERBER_DRAW_LAYER( entry.second );
view_remapping[ GERBER_DCODE_LAYER( entry.first ) ] = GERBER_DCODE_LAYER( entry.second );
}