Blender Git Commit Log

Git Commits -> Revision 809e37b

Revision 809e37b by Nicholas Bishop (master)
February 10, 2013, 15:59 (GMT)
Ensure that mask layer exists in sculpt mode after multires subdivide

Sculpt mode requires mask customdata layer for multires and ensures it
exists on entering sculpt mode. However, sculpt mode only considers
multires to be active if the level of subdivision is not zero, so it
does not add mask for unsubdivided multires meshes. If the multires
mesh is subdivided while in sculpt mode, no mask was present leading
to weird drawing and crash on use of the mask brush.

Fixed by doing the same thing in multires_subdivide_exec() that is
done in ED_object_modifier_add(), which is to check if sculpt mode is
active and add mask layer if so.

Fixes [#34190] Viewport artifacts when using Multiresolution modifier
projects.blender.org/tracker/index.php?func=detail&aid=34190&group_id=9&atid=498

Commit Details:

Full Hash: 809e37bf15568080907a008d40aed41c737c2b24
SVN Revision: 54434
Parent Commit: 6b2b55c
Lines Changed: +5, -0

1 Modified Path:

/source/blender/editors/object/object_modifier.c (+5, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021