Fix #24388: multires base mesh
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 4 Nov 2010 16:00:28 +0000 (16:00 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 4 Nov 2010 16:00:28 +0000 (16:00 +0000)
commitf478cef43b845f007cb6340df761cb43ff62c762
treee43aba34fe006f8991dbe1d4770e1433f229a281
parent6753882e42282ccf9dea49bdef2fc5455d852710
Fix #24388: multires base mesh

- MDisp should be re-allocated if face changed amount of vertices
- Allocate disps array in layerSwap_mdisps to prevent loosing all highres data
source/blender/blenkernel/BKE_multires.h
source/blender/blenkernel/intern/customdata.c
source/blender/blenkernel/intern/multires.c
source/blender/editors/mesh/editmesh.c