diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-02-06 11:34:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-02-06 11:35:06 +0300 |
commit | ce0cb4de8d9174f94e1c48952050080576b76141 (patch) | |
tree | 1e6288d49a098353bc3f777e6f388688ad9669bd /source/blender/editors/sculpt_paint/sculpt_undo.c | |
parent | f9da89a38d3dc0399b7d7943c732cbaf4e336290 (diff) |
Object Mode: use eval_ctx for modifiers_isCorrectableDeformed
Some other minor changes from D3037 as well
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt_undo.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_undo.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_undo.c b/source/blender/editors/sculpt_paint/sculpt_undo.c index 19dcf7b4a44..3d9021480d9 100644 --- a/source/blender/editors/sculpt_paint/sculpt_undo.c +++ b/source/blender/editors/sculpt_paint/sculpt_undo.c @@ -334,9 +334,6 @@ static void sculpt_undo_bmesh_restore_generic(bContext *C, Object *ob, SculptSession *ss) { - EvaluationContext eval_ctx; - CTX_data_eval_ctx(C, &eval_ctx); - if (unode->applied) { BM_log_undo(ss->bm, ss->bm_log); unode->applied = false; |