Page MenuHome

Fix assert when canceling a sculpt mode transform operation
Needs ReviewPublic

Authored by Pablo Dobarro (pablodp606) on Sep 13 2019, 12:44 AM.

Diff Detail

Repository
rB Blender
Branch
sculpt-fix-undo-assert (branched from master)
Build Status
Buildable 4941
Build 4941: arc lint + arc unit

Event Timeline

Rather avoid having to do this in the first place because it may complicate using the undo system for other undo types, or hide incorrect use of the undo system.

If this is needed for sculpt mode we could have a call that does this and run it from the operator directly.

Do we have a function for cancelling the undo initialization from sculpt mode? Cancelling the transform operator calls both sculpt_undo_push_begin and sculpt_undo_push_end, so I'm not sure why this is happening.