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:
authorCampbell Barton <ideasman42@gmail.com>2015-03-20 07:50:56 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-03-20 07:50:56 +0300
commit35ea7efbca4f9b5b19fb0c277fc225f430e1ee91 (patch)
tree349818ab5006f4e536906a8bb0286aaefc175114
parentcf29010bd4085b2ab76c58a30d1148265a879d69 (diff)
Add missing update adding a shape-key
Noticeable when pin is enabled.
-rw-r--r--source/blender/editors/object/object_shapekey.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/object/object_shapekey.c b/source/blender/editors/object/object_shapekey.c
index fb0b2ed231c..674eb25942f 100644
--- a/source/blender/editors/object/object_shapekey.c
+++ b/source/blender/editors/object/object_shapekey.c
@@ -332,6 +332,8 @@ static int shape_key_add_exec(bContext *C, wmOperator *op)
ED_object_shape_key_add(C, ob, from_mix);
+ DAG_id_tag_update(&ob->id, OB_RECALC_DATA);
+
return OPERATOR_FINISHED;
}