[Bf-blender-cvs] [492a7998d50] master: Fix T69785: crash dragging in empty space in edit mode
Brecht Van Lommel
noreply at git.blender.org
Thu Sep 12 11:34:59 CEST 2019
Commit: 492a7998d50840e2664c019e57bbf5ce99c6560e
Author: Brecht Van Lommel
Date: Thu Sep 12 11:34:27 2019 +0200
Branches: master
https://developer.blender.org/rB492a7998d50840e2664c019e57bbf5ce99c6560e
Fix T69785: crash dragging in empty space in edit mode
===================================================================
M source/blender/editors/transform/transform_convert_mesh.c
===================================================================
diff --git a/source/blender/editors/transform/transform_convert_mesh.c b/source/blender/editors/transform/transform_convert_mesh.c
index 062cf6c5a26..acbe2c5f06a 100644
--- a/source/blender/editors/transform/transform_convert_mesh.c
+++ b/source/blender/editors/transform/transform_convert_mesh.c
@@ -671,6 +671,8 @@ void createTransEditVerts(TransInfo *t)
* Optional, allocate if needed. */
int *dists_index = NULL;
+ BLI_bitmap *mirror_bitmap = NULL;
+
/**
* Quick check if we can transform.
*
@@ -687,7 +689,6 @@ void createTransEditVerts(TransInfo *t)
cd_vert_bweight_offset = CustomData_get_offset(&bm->vdata, CD_BWEIGHT);
}
- BLI_bitmap *mirror_bitmap = NULL;
if (tc->mirror.use_mirror_any) {
bool use_topology = (me->editflag & ME_EDIT_MIRROR_TOPO) != 0;
bool use_select = (t->flag & T_PROP_EDIT) == 0;
More information about the Bf-blender-cvs
mailing list