public override void Draw(GL_ControlLegacy control, Pass pass) { foreach (IEditableObject obj in GetObjects()) { if (obj.Visible) { control.LimitPickingColors(obj.GetPickableSpan()); obj.Draw(control, pass, this); } } control.UnlimitPickingColors(); foreach (AbstractGlDrawable obj in StaticObjects) { if (obj.Visible) { obj.Draw(control, pass); } } if (pass == Pass.OPAQUE) { SelectionTransformAction.Draw(control); CurrentAction?.Draw(control); } }