Do not lock key whn undoing to another shapekey while sculpting

This commit is contained in:
Sergey Sharybin
2011-05-03 18:47:16 +00:00
parent 905289eb60
commit 8df1a51c19

View File

@@ -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);