From ce0cb4de8d9174f94e1c48952050080576b76141 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 6 Feb 2018 19:34:36 +1100 Subject: Object Mode: use eval_ctx for modifiers_isCorrectableDeformed Some other minor changes from D3037 as well --- source/blender/editors/sculpt_paint/sculpt_undo.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source/blender/editors/sculpt_paint') 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; -- cgit v1.2.3