Reading the selection is much cheaper than calculating the brush radius since it just requires reading from a boolean array. Better to do it earlier so the radius calculation can be skipped for deselected points.
Reading the selection is much cheaper than calculating the brush radius since it just requires reading from a boolean array. Better to do it earlier so the radius calculation can be skipped for deselected points.