public void RedrawScales() { Meter.RemoveScales(); if (threshold_scale_len == 0.0f) { return; } for (int i = 0; i < num_thresholds; i++) { if (scale_brushes[i] != null) { Meter.AddScale(thresholds[i], scale_brushes[i], 1.0f, 1.0f - threshold_scale_len); } } }