From 8df1a51c19483fb0a2bd2d1314173d90b268686b Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Tue, 3 May 2011 18:47:16 +0000 Subject: [PATCH] Do not lock key whn undoing to another shapekey while sculpting --- source/blender/editors/sculpt_paint/sculpt_undo.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source/blender/editors/sculpt_paint/sculpt_undo.c b/source/blender/editors/sculpt_paint/sculpt_undo.c index b463c77bbb7..eeca174d802 100644 --- a/source/blender/editors/sculpt_paint/sculpt_undo.c +++ b/source/blender/editors/sculpt_paint/sculpt_undo.c @@ -112,7 +112,6 @@ static void sculpt_undo_restore(bContext *C, ListBase *lb) if (kb) { ob->shapenr= BLI_findindex(&key->block, kb) + 1; - ob->shapeflag|= OB_SHAPE_LOCK; sculpt_update_mesh_elements(scene, ob, 0); WM_event_add_notifier(C, NC_OBJECT|ND_DATA, ob);