diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-05-18 14:56:26 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-05-18 14:56:26 +0400 |
commit | 178ba76b09fc923213a26257bbd5b82d0ad26bf0 (patch) | |
tree | 61b594404c29b920eeb25499180c2079f68d436a /source/blender/editors/animation/keyingsets.c | |
parent | 304ce06a5a026041fb0d0410c6a4600e995e1534 (diff) |
RNA: pass Main rather than Context to register/unregister callbacks.
Diffstat (limited to 'source/blender/editors/animation/keyingsets.c')
-rw-r--r-- | source/blender/editors/animation/keyingsets.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/animation/keyingsets.c b/source/blender/editors/animation/keyingsets.c index 04565b4c236..10886615976 100644 --- a/source/blender/editors/animation/keyingsets.c +++ b/source/blender/editors/animation/keyingsets.c @@ -578,9 +578,8 @@ void ANIM_keyingset_info_register (KeyingSetInfo *ksi) } /* Remove the given KeyingSetInfo from the list of type infos, and also remove the builtin set if appropriate */ -void ANIM_keyingset_info_unregister (const bContext *C, KeyingSetInfo *ksi) +void ANIM_keyingset_info_unregister (Main *bmain, KeyingSetInfo *ksi) { - Main *bmain= CTX_data_main(C); KeyingSet *ks, *ksn; /* find relevant builtin KeyingSets which use this, and remove them */ |