[varLib.featureVars] Drop fully-occluded remainder boxes

This commit is contained in:
Behdad Esfahbod 2018-11-09 15:51:37 -05:00
parent 7d5fbe1605
commit edecdce0a5

View File

@ -317,6 +317,10 @@ def overlayBox(top, bot):
remainder[axisTag] = minimum,maximum
if not exactlyOne:
# bot is fully within intersection. Remainder is empty.
return intersection, None
return intersection, remainder
def cleanupBox(box):