diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-10-29 12:14:20 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-10-29 12:14:20 +0300 |
commit | 40731af9d0b85e3cf93e46e48b814faa06aac74b (patch) | |
tree | 99c1bcd248626b2b62eea17e99de2d7d7007e9f3 /source/blender/editors/animation/keyframing.c | |
parent | 2aa2f532653aa4993cb68a44f13e78d33d35d30e (diff) |
use objects rather then bases where possible, use context rather then OBACT macro
Diffstat (limited to 'source/blender/editors/animation/keyframing.c')
-rw-r--r-- | source/blender/editors/animation/keyframing.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/animation/keyframing.c b/source/blender/editors/animation/keyframing.c index 6a16d6d0ee1..6aa9bb24fcd 100644 --- a/source/blender/editors/animation/keyframing.c +++ b/source/blender/editors/animation/keyframing.c @@ -1187,9 +1187,8 @@ static int delete_key_v3d_exec (bContext *C, wmOperator *op) float cfra= (float)CFRA; // XXX for now, don't bother about all the yucky offset crap // XXX more comprehensive tests will be needed - CTX_DATA_BEGIN(C, Base*, base, selected_bases) + CTX_DATA_BEGIN(C, Object*, ob, selected_objects) { - Object *ob= base->object; ID *id= (ID *)ob; FCurve *fcu, *fcn; short success= 0; |