BUG "undo" deselects some of the control points

Bug Report: “Undo” Randomly Deselects Some Control Points (Grips) of Curves

Steps to Reproduce:

  1. Select multiple control points (grips) on a curve.
  2. Move the selected control points.
  3. Undo (Ctrl + Z).
  4. Move the control points again.

Expected Behavior:

  • All previously selected control points should remain selected after Undo.

Actual Behavior:

  • Some control points become deselected after Undo,
  • This issue forces users to manually reselect control points, which could be time-consuming.