def getBrushSize(self):
        """
        Returns an array of the sizes of the brush.
        Called by methods that need the size of the brush like createBrushMask
        """
        size = []
        if getattr(self.brushMode, 'disableStyleButton', False):
            return 1, 1, 1
        for dim in ['W', 'H', 'L']:
            size.append(self.options[dim])
        return size

        Returns an array of the sizes of the brush.
        Called by methods that need the size of the brush like createBrushMask
        
editortools/brush.py