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:
authorCampbell Barton <ideasman42@gmail.com>2018-02-16 15:37:47 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-02-16 16:01:25 +0300
commit18bb0bc5693927f0e7393f717fdb7d844d4cd69d (patch)
treea4eb90e3865aa9989ca726fe1467dab0c2eab808 /source/blender/editors/sculpt_paint/paint_hide.c
parentce4d52c4f3ed1cfbe7c13eab0ec94e27a4ab6904 (diff)
Object Mode: exit sculpt on selection
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_hide.c')
-rw-r--r--source/blender/editors/sculpt_paint/paint_hide.c2
1 files changed, 1 insertions, 1 deletions
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) */