Blender Git Commit Log

Git Commits -> Revision e6fab27

Revision e6fab27 by Pablo Dobarro (master)
May 5, 2020, 15:14 (GMT)
Fix T75743: Implement restore for brushes that modify their own data

This implements the restore function for Draw Face Sets and Layer, which
don't affect coordinates or masks directly. This is needed for the
anchored and dot brush strokes.

Layer frees the current displacement and a new one is created on each
stroke sample. Draw Face Sets copies the data back from the first undo
node to the mesh datalayer.

Also fixes T75727

Reviewed By: jbakker

Maniphest Tasks: T75727

Differential Revision: https://developer.blender.org/D7442

Commit Details:

Full Hash: e6fab27d6a3476a08cadb7ff4ecbd467a1c0db74
Parent Commit: 9d8a583
Lines Changed: +43, -21

4 Modified Paths:

/source/blender/editors/sculpt_paint/sculpt.c (+31, -9) (Diff)
/source/blender/editors/sculpt_paint/sculpt_face_set.c (+0, -12) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+1, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt_undo.c (+11, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021