Page MenuHome

Resetting multi-button value does not work when active button value is the same
Confirmed, NormalPublicBUG

Description

System Information
Operating system: Linux-5.12.15-300.fc34.x86_64-x86_64-with-glibc2.33 64 Bits
Graphics card: NVIDIA GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 465.31

Blender Version
Broken: version: 3.0.0 Alpha, branch: latest master
Worked: Caused by rBeb06ccc32462: Fix T87448: Avoid uiBut update if value was same

Short description of error

Exact steps for others to reproduce the error

  1. Find a vector exposed in the UI
  2. Set the first value to 0
  3. Set the second value to 1
  4. Drag down from the first button to edit all three values
  5. Type in 0
  6. Press enter
  7. Observe the bug

Revisions and Commits

Event Timeline

Hans Goudey (HooglyBoogly) changed the task status from Needs Triage to Confirmed.Tue, Jul 20, 10:43 PM
Hans Goudey (HooglyBoogly) created this task.
Hans Goudey (HooglyBoogly) changed the subtype of this task from "Report" to "Bug".

@Falk David (filedescriptor) This may be for you ; ) I expect the solution could be simple, it could check if there were multiple buttons selected and avoid using the optimization in that case.

This will have to be tested in 2.93 LTS as well.