Page MenuHome

Fix T61948: Undo steps created for non-paint operations (brush size).
Changes PlannedPublic

Authored by Germano Cavalcante (mano-wii) on Jun 8 2019, 5:09 PM.



The workaround for this patch was to force the undo type/context of the buttons to be BKE_UNDOSYS_TYPE_MEMFILE.
I don't know what impact this has on memory, but usability has been greatly improved in several ways.

In addition to T61948 this patch also benefits T62450 since the undo now re-displays the visibility of hidden objects.

Diff Detail

rB Blender
Build Status
Buildable 3855
Build 3855: arc lint + arc unit

Event Timeline

Germano Cavalcante (mano-wii) planned changes to this revision.Jun 8 2019, 6:42 PM

I'm having trouble undoing a painting operation :\

For 2.80 it's probably safest to skip these undo steps, (as 2.7x did), later we can look into supporting this.