diff options
author | Ton Roosendaal <ton@blender.org> | 2006-04-11 14:09:33 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-04-11 14:09:33 +0400 |
commit | 21db524a3860cd80b650cde06546813b3bed1b0a (patch) | |
tree | 4336c4ac21f0fd3b4dcc3f65ca19851eba4c57c1 | |
parent | 1165cde62187bad1ee713709845ba9059e048039 (diff) |
Bugfix #3699
When using non-relative Shape keys, the lock option (live updates) in the
IpoWindow didn't work after one of the keylines was selected.
-rw-r--r-- | source/blender/src/editipo.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/src/editipo.c b/source/blender/src/editipo.c index 606c24f5bfc..c119f1a5e06 100644 --- a/source/blender/src/editipo.c +++ b/source/blender/src/editipo.c @@ -4121,7 +4121,11 @@ void transform_ipo(int mode) force_draw_plus(SPACE_VIEW3D, 0); } else if(G.sipo->blocktype==ID_KE) { - DAG_object_flush_update(G.scene, OBACT, OB_RECALC_DATA); + Object *ob= OBACT; + if(ob) { + ob->shapeflag &= ~OB_SHAPE_TEMPLOCK; + DAG_object_flush_update(G.scene, ob, OB_RECALC_DATA); + } force_draw_plus(SPACE_VIEW3D, 0); } else if(G.sipo->blocktype==ID_PO) { |