Fix T48290: Hook fails after deleting geometry
authorCampbell Barton <ideasman42@gmail.com>
Fri, 29 Apr 2016 12:33:06 +0000 (22:33 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 29 Apr 2016 13:39:50 +0000 (23:39 +1000)
commit6d0cae56e84306ed64a51005c4fb1811a40822b7
treede25f4c347865a2aefe7d33b8ab5920d35718254
parentb5ce2bbef7a91f81c3556f2ddf6dd5f21161bc91
Fix T48290: Hook fails after deleting geometry

Now CD_SHAPEKEY_INDEX customdata is stored in edit-mode when hooks and vertex parents are used.

This also fixes a bug where undo would loose key-index data.

Move to structs for BM_mesh_bm_to/from_me to avoid passing many argument, which mostly aren't used.
20 files changed:
source/blender/blenkernel/BKE_mesh.h
source/blender/blenkernel/intern/mesh.c
source/blender/blenkernel/intern/paint.c
source/blender/blenkernel/intern/scene.c
source/blender/bmesh/intern/bmesh_mesh_conv.c
source/blender/bmesh/intern/bmesh_mesh_conv.h
source/blender/bmesh/operators/bmo_mesh_conv.c
source/blender/editors/include/ED_mesh.h
source/blender/editors/mesh/editmesh_tools.c
source/blender/editors/mesh/editmesh_utils.c
source/blender/editors/mesh/mesh_data.c
source/blender/editors/mesh/meshtools.c
source/blender/editors/object/object_edit.c
source/blender/editors/object/object_hook.c
source/blender/editors/object/object_relations.c
source/blender/editors/sculpt_paint/paint_image_proj.c
source/blender/editors/sculpt_paint/sculpt.c
source/blender/makesrna/intern/rna_object.c
source/blender/python/bmesh/bmesh_py_types.c
source/blenderplayer/bad_level_call_stubs/stubs.c