diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-03-20 07:50:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-03-20 07:50:56 +0300 |
commit | 35ea7efbca4f9b5b19fb0c277fc225f430e1ee91 (patch) | |
tree | 349818ab5006f4e536906a8bb0286aaefc175114 /source/blender/editors/object/object_shapekey.c | |
parent | cf29010bd4085b2ab76c58a30d1148265a879d69 (diff) |
Add missing update adding a shape-key
Noticeable when pin is enabled.
Diffstat (limited to 'source/blender/editors/object/object_shapekey.c')
-rw-r--r-- | source/blender/editors/object/object_shapekey.c | 2 |
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; } |