Fabmaster: put DISPLAY_TOP/BOTTOM on silkscreen layers

These layers seem to usually be used for silkscreen
elements as well as SILKSCREEN_TOP/BOTTOM

(cherry picked from commit 3521e78a0e)
This commit is contained in:
John Beard
2024-12-03 22:25:37 +08:00
parent ea7cde81eb
commit a2d94dbacc
+4 -2
View File
@@ -749,8 +749,10 @@ bool FABMASTER::assignLayers()
{
layer_order.push_back( &layer );
}
else if( layer.name.find( "SILK" ) != std::string::npos &&
layer.name.find( "AUTOSILK" ) == std::string::npos ) // Skip the autosilk layer
else if( ( layer.name.find( "SILK" ) != std::string::npos
&& layer.name.find( "AUTOSILK" )
== std::string::npos ) // Skip the autosilk layer
|| layer.name.find( "DISPLAY" ) != std::string::npos )
{
if( layer.name.find( "B" ) != std::string::npos )
layer.layerid = B_SilkS;