Maniphest T83649

Undo in mesh edit mode(for python operator) do not work for custom property.
Closed, Duplicate

Assigned To
None
Authored By
Yuriy Sivalniev (yursiv)
Dec 11 2020, 2:41 AM
Tags
  • BF Blender
  • Python API
Subscribers
Yuriy Sivalniev (yursiv)

Description

System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: GeForce GTX 550 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 391.35

Blender Version
Broken: version: 2.91.0, branch: master, commit date: 2020-11-25 08:34, hash: rB0f45cab862b8
Worked: not found

Short description of error

While doing UNDO(for simple or modal operator) in mesh edit mode, vertices tweaks revert to start positions but custom property dont revert to initial value.
In object mode undo works correctly.

Exact steps for others to reproduce the error
Yotube Video
Open .blend file.
Switch to editmode.
Run script in script window(alt+P).
Run operator in View3D side panel(named "TEST UNDO").
Change value for operator in "Adjust last operation window". Selected verts moving with center point defined in custom property.
Make undo. Verts reverting but custom property(that is changed by operator from vertices center position) is not.

Event Timeline

Yuriy Sivalniev (yursiv) created this task.Dec 11 2020, 2:41 AM
Yuriy Sivalniev (yursiv) added a project: Python API.
Yuriy Sivalniev (yursiv) updated the task description.