o3de / o3de

Open 3D Engine (O3DE) is an Apache 2.0-licensed multi-platform 3D engine that enables developers and content creators to build AAA games, cinema-quality 3D worlds, and high-fidelity simulations without any fees or commercial obligations.
https://o3de.org
Other
7.89k stars 2.22k forks source link

Edit-Undo Light Intensity Slider Can Be Very Slow #5282

Open santorac opened 3 years ago

santorac commented 3 years ago

Describe the bug After dragging the slide for light intensity, trying to undo the change can stall the editor for multiple seconds.

Steps to reproduce Steps to reproduce the behavior:

  1. Open a level
  2. Create a Light component of type "Point (sphere)"
  3. Drag the Intensity slider (don't just move it quickly to a new value, slide it around for a while and then let go)
  4. Edit -> Undo

Expected behavior The undo action should be almost instantaneous, regardless of how long you drag the slider around.

Actual behavior It seems the longer you drag the slider, the longer it takes to undo the action.

Screenshots/Video If applicable, add screenshots and/or a video to help explain your problem.

https://user-images.githubusercontent.com/55155825/140232534-4478bf2b-2a79-4517-ab9b-924f7ef185c2.mp4

Found in Branch stabilization/2110

Desktop/Device (please complete the following information):

superkitcath commented 3 years ago

@invertednormal perform root cause analysis and determine if this is an editor/prefab issue or specific to light component. Thanks!