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:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-05-03 22:47:16 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-05-03 22:47:16 +0400
commit8df1a51c19483fb0a2bd2d1314173d90b268686b (patch)
tree053171b01ad2eb4295a04c2ec1636d4d61484a7e
parent905289eb6034cc4543f6911ad95692a93e098fcc (diff)
Do not lock key whn undoing to another shapekey while sculpting
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_undo.c1
1 files changed, 0 insertions, 1 deletions
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);