Instead of taking an array of scales, call GetNextAvailableScale() to get them. This allows centralising the logic for returning the available scales in a single place, where it will be reused in the upcoming commits.
Instead of taking an array of scales, call GetNextAvailableScale() to get them. This allows centralising the logic for returning the available scales in a single place, where it will be reused in the upcoming commits.