Blender Git Commit Log

Git Commits -> Revision 6672cbe

Revision 6672cbe by Bastien Montagne (master)
January 6, 2021, 15:25 (GMT)
Fix T84202: Sculpt lasso mask crash after remesh.

'Caused'/revealed by rBd29a720c45e5: Operators that fully re-create the
mesh would previously rely on `sculpt_update_object` called from update
code to get required sculpt-specific data layers re-added to the new
mesh.

Now instead put all code adding data to orig mesh for sculpt purpose
into a new util function (`BKE_sculpt_ensure_orig_mesh_data`), and call
that function when entering sculpt mode, and from voxel remesher code.

This is contonuing effort to more clearly separate orig data from evaluated
data handling/usage in sculpt code.

TODO: there are likely other code paths that would need to call that
new function?

Reviewers: @sergey, @pablodp606

Subscribers:

Commit Details:

Full Hash: 6672cbeb236444541037e728759792b1208df0da
Parent Commit: a584aef
Lines Changed: +77, -37

5 Modified Paths:

/source/blender/blenkernel/BKE_paint.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/paint.c (+45, -0) (Diff)
/source/blender/editors/object/object_remesh.c (+4, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+14, -36) (Diff)
/source/blender/makesrna/intern/rna_object.c (+12, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021