private void trkColumnsRadius_Scroll(object sender, EventArgs e) { if (formationEditingMode == FormationEditingMode.None) { return; } EnsureFormationMode(); if (formationEditingMode == FormationEditingMode.Radius) { lastRadius = trkColumnsRadius.Value; } else { lastColumnCount = trkColumnsRadius.Value; MiniGrouperScript?.ClearLastMemberLocationCache(); } if (MiniGrouperScript != null) { MiniGrouperScript.Data.ColumnRadius = trkColumnsRadius.Value; MiniGrouperScript.DataChanged(); } //ResetRotationToZero(); UpdateColumnRadiusLabel(); UpdateFormation(); }
private void rbFormation_CheckedChanged(object sender, EventArgs e) { if (changingInternally) { return; } if (rbFormation.Checked) { MiniGrouperScript?.ClearLastMemberLocationCache(); UpdateMovementMode(); } }
private void NewFormationSelected() { ResetRotationToZero(); MiniGrouperScript?.ClearLastMemberLocationCache(); }