Page MenuHome

Measure tool undo repitition
Confirmed, NormalPublicBUG

Description

System Information
Operating system: Arch Linux | Kernel: 5.11.8-arch1-1
Graphics card: GTX 1070

Blender Version
Broken: 2.93.0 alpha | Branch: master | Commit: 715c7462969e6075859f44a64bb4eb68d056345b | Date: Wed Mar 24 11:00:31 2021
Worked: I also tested it in 2.91 and it is the same issue

Short description of error
If you draw multiple measurements with the measure tool and then try to undo one it instead undos the two most recent ones. Any further undo's after that will undo one as expected.

Exact steps for others to reproduce the error

  1. Use the default startup file
  2. Take out the measure tool
  3. Draw a few lines (more than 1)
  4. Ctrl-z undo (two lines will disappear instead of one)
  5. Ctrl-z undo again (one line will disappear as expected)

Event Timeline

Germano Cavalcante (mano-wii) changed the task status from Needs Triage to Confirmed.EditedFri, Apr 2, 9:37 PM
Germano Cavalcante (mano-wii) changed the subtype of this task from "Report" to "Bug".

I can confirm. In fact, undo removes the last 2 measurements instead of one.
This problem is relatively old. I thought there was already a report on that, but I didn't find it.
I'm not sure if the module to deal with this is the Core since the problem can be in the operator or in its connection with annotations.
But the Undo system would be the first thing I would investigate.