Port multires_topology_changed to new bmesh api
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 16 Apr 2012 11:03:42 +0000 (11:03 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 16 Apr 2012 11:03:42 +0000 (11:03 +0000)
commit34814e47558febd42f56b2ec38c4cb8954eb5dad
tree442bdf47dffecda7cfc145a8b734ca564103d349
parent5c646e7e3a48c7fea0bfea407d3d27df0b1aa02b
Port multires_topology_changed to new bmesh api

This call is still needed when loading editmesh because some operations
are not creating CD layer for new loops (like crating new face) and
to prevent loosing all sculpted data when running disps correct
displacement maps should be allocated on loading edit mesh.
source/blender/blenkernel/BKE_multires.h
source/blender/blenkernel/intern/multires.c
source/blender/bmesh/intern/bmesh_mesh_conv.c
source/blender/editors/mesh/editmesh_utils.c