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>2009-10-29 12:14:20 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-10-29 12:14:20 +0300
commit40731af9d0b85e3cf93e46e48b814faa06aac74b (patch)
tree99c1bcd248626b2b62eea17e99de2d7d7007e9f3 /source/blender/editors/animation/keyframing.c
parent2aa2f532653aa4993cb68a44f13e78d33d35d30e (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.c3
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;