From 18bb0bc5693927f0e7393f717fdb7d844d4cd69d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 16 Feb 2018 23:37:47 +1100 Subject: Object Mode: exit sculpt on selection --- source/blender/editors/sculpt_paint/paint_hide.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/sculpt_paint/paint_hide.c') diff --git a/source/blender/editors/sculpt_paint/paint_hide.c b/source/blender/editors/sculpt_paint/paint_hide.c index 4c6cd8d6d22..b175a33934a 100644 --- a/source/blender/editors/sculpt_paint/paint_hide.c +++ b/source/blender/editors/sculpt_paint/paint_hide.c @@ -418,7 +418,7 @@ static int hide_show_exec(bContext *C, wmOperator *op) MEM_freeN(nodes); /* end undo */ - sculpt_undo_push_end(C); + sculpt_undo_push_end(); /* ensure that edges and faces get hidden as well (not used by * sculpt but it looks wrong when entering editmode otherwise) */ -- cgit v1.2.3