Fix T69785: crash dragging in empty space in edit mode
This commit is contained in:
parent
9fa8614b32
commit
492a7998d5
Notes:
blender-bot
2023-02-14 10:18:56 +01:00
Referenced by issue #69802, border select is viewscale sensitiv, objects do not get selected Referenced by issue #69785, Crash - select + drag on empty space
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue