Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/mesh/editmesh_utils.c
| Context not available. | |||||
| Mesh *me = ob->data; | Mesh *me = ob->data; | ||||
| BMesh *bm = me->edit_btmesh->bm; | BMesh *bm = me->edit_btmesh->bm; | ||||
| /* Workaround for T42360, 'ob->shapenr' should be 1 in this case. | |||||
| * however this isn't synchronized between objects at the moment. */ | |||||
| if (UNLIKELY((ob->shapenr == 0) && (me->key && !BLI_listbase_is_empty(&me->key->block)))) { | |||||
| bm->shapenr = 1; | |||||
| } | |||||
| BM_mesh_bm_to_me(bm, me, (&(struct BMeshToMeshParams){0})); | BM_mesh_bm_to_me(bm, me, (&(struct BMeshToMeshParams){0})); | ||||
| #ifdef USE_TESSFACE_DEFAULT | #ifdef USE_TESSFACE_DEFAULT | ||||
| Context not available. | |||||