Fix #25594: Adding mesh while in edit mode with multires - crash.
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 11 Jan 2011 22:06:44 +0000 (22:06 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 11 Jan 2011 22:06:44 +0000 (22:06 +0000)
commit37b903e32c90562eeefcd1d3f93aa7f725a9729f
tree02888471a370f9471cb94df4e614752b454b5d8e
parent0a535feef6bd826774909e20be8c0828c9df1b83
Fix #25594: Adding mesh while in edit mode with multires - crash.

That primitives, which used ri crash blender, flips normals just after creation
and this normals flipping calls layers interpolation, but MDISPS layer
contains no data still.

Just added checking to layerInterp_mdisps.
source/blender/blenkernel/intern/customdata.c