UI enable/disable part of undo steps

Reproduction Steps

  1. Create a part.
  2. Create a UI element and set Visible = true
  • Make sure your UI is turned on in your viewport:
    image
  1. Disable UI in the viewport.
    image
  2. Select the part.
  3. Delete the part.
  4. press ctrl+z.
  • UI re-enables in viewport. (unwanted)
  • Part comes back (wanted)
  • UI appears turned off according to the button.
    – Looks like this:
    image

Expected Behavior
I expected the disabling of the UI in the viewport not to include in the undo step for deleting the part.

Actual Behavior
The UI reappears upon ctrl+z and the UI button says its disabled

GIF Showing what it looks like for me:
ezgif-4-e3bf4d164746

Issue Area: Studio
Issue Type: Other
Impact: Low
Frequency: Often

4 Likes