Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-09-12 12:34:27 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-09-12 12:34:42 +0300
commit492a7998d50840e2664c019e57bbf5ce99c6560e (patch)
treef7cdfc766bc257fd9567ed881cc997ca79359469 /source/blender/editors/transform
parent9fa8614b32176b5aa10f854acffd8ed5c6eb8d85 (diff)
Fix T69785: crash dragging in empty space in edit mode
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r--source/blender/editors/transform/transform_convert_mesh.c3
1 files changed, 2 insertions, 1 deletions
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;