diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-12-12 20:39:16 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-12-12 20:39:16 +0400 |
commit | 82cc300ec6c72f5977ceea249b0af8a0756f3b36 (patch) | |
tree | 4da8b2ee8cb42f60fc16408ad2380ffe8127eba6 /source | |
parent | 450139fd9498fac8a9927eb364d3ce1059a432a4 (diff) |
fix for another crash in r52911
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/transform/transform.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index b50cb4428a5..6a5904767b7 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -5261,6 +5261,9 @@ static int createSlideVerts(TransInfo *t) MEM_freeN(loop_dir); MEM_freeN(loop_maxdist); + /* arrays are dirty from copying faces: EDBM_index_arrays_free */ + EDBM_update_generic(em, FALSE, TRUE); + return 1; } @@ -5432,6 +5435,9 @@ void freeSlideTempFaces(SlideData *sld) BLI_smallhash_release(&sld->origfaces); sld->origfaces_init = FALSE; + + /* arrays are dirty from removing faces: EDBM_index_arrays_free */ + EDBM_update_generic(sld->em, FALSE, TRUE); } } |