From 30141b44642609cccb9c252de578a00e92633b29 Mon Sep 17 00:00:00 2001 From: Andrew Wiggin Date: Sat, 15 Oct 2011 14:47:37 +0000 Subject: select boundary loop tool (aka region to loop) switches to edge select mode if the mode was face select --- source/blender/editors/util/editmode_undo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/util/editmode_undo.c') diff --git a/source/blender/editors/util/editmode_undo.c b/source/blender/editors/util/editmode_undo.c index 9b938c44a5f..342f9d43fc9 100644 --- a/source/blender/editors/util/editmode_undo.c +++ b/source/blender/editors/util/editmode_undo.c @@ -274,7 +274,7 @@ void undo_editmode_step(bContext *C, int step) /* special case for editmesh, mode must be copied back to the scene */ if(obedit->type == OB_MESH) { - EDBM_selectmode_to_scene(CTX_data_scene(C), obedit); + EDBM_selectmode_to_scene(C); } DAG_id_tag_update(&obedit->id, OB_RECALC_DATA); -- cgit v1.2.3