def GetBBox(self, fn):
		if self.children != None:
			ret = []
			for child in self.children:
				op = child.GetBBox(fn)
				if op != None:
					ret.extend(op)
			if 0 > len(ret):
				return ret
		elif fn(self):
			return [self.bbox]
		return []


#fix up the list so that adjacent similarly sized images are joined
dataset/ETHPy150Open kleientertainment/ds_mod_tools/pkg/unix/mod_tools/tools/scripts/optimizeimage.py/QuadTreeNode.GetBBox/swapped operands of `>`