diff --git a/VERSION b/VERSION index c56821cd..e7e69613 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -8.3.76 +8.3.75 diff --git a/database/DBtpaint.c b/database/DBtpaint.c index 26c8d884..10090b9a 100644 --- a/database/DBtpaint.c +++ b/database/DBtpaint.c @@ -639,7 +639,14 @@ dbTechAddPaintErase(type, sectionName, argc, argv) pMask &= ~rMask; - for (tres = 0; tres < DBNumTypes; tres++) + /* 10/30/2020: Changed from DBNumTypes to DBNumUserLayers, */ + /* because DBTechNoisyNameMask() was modified to add stacking */ + /* contact types, and it is not correct for tMask to have more */ + /* than one type in the mask that share the same plane. */ + /* NOTE: Paint rules for stacked contacts probably have to be */ + /* handled too, but in a separate way. */ + + for (tres = 0; tres < DBNumUserLayers; tres++) { if (TTMaskHasType(&tMask, tres)) {