diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-11-09 20:44:56 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-11-09 20:45:19 +0300 |
commit | 7defb27f084288e0218f068aec74a693a0ca9b6a (patch) | |
tree | 6316999a7339532e0f4e82d8b857fc43da8927d1 /source/blender/editors/animation/anim_channels_defines.c | |
parent | 06a7db85bce8ff38a432a4159c7caf0636db6d77 (diff) |
Farewell BaseLegacy
Finally, bases are all using the latest, newest SceneLayer bases.
Diffstat (limited to 'source/blender/editors/animation/anim_channels_defines.c')
-rw-r--r-- | source/blender/editors/animation/anim_channels_defines.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/animation/anim_channels_defines.c b/source/blender/editors/animation/anim_channels_defines.c index 4f76571a485..9fb30dc8066 100644 --- a/source/blender/editors/animation/anim_channels_defines.c +++ b/source/blender/editors/animation/anim_channels_defines.c @@ -628,7 +628,7 @@ static bAnimChannelType ACF_SCENE = static int acf_object_icon(bAnimListElem *ale) { - BaseLegacy *base = (BaseLegacy *)ale->data; + Base *base = (Base *)ale->data; Object *ob = base->object; /* icon depends on object-type */ @@ -663,7 +663,7 @@ static int acf_object_icon(bAnimListElem *ale) /* name for object */ static void acf_object_name(bAnimListElem *ale, char *name) { - BaseLegacy *base = (BaseLegacy *)ale->data; + Base *base = (Base *)ale->data; Object *ob = base->object; /* just copy the name... */ @@ -683,7 +683,7 @@ static bool acf_object_name_prop(bAnimListElem *ale, PointerRNA *ptr, PropertyRN /* check if some setting exists for this channel */ static bool acf_object_setting_valid(bAnimContext *ac, bAnimListElem *ale, eAnimChannel_Settings setting) { - BaseLegacy *base = (BaseLegacy *)ale->data; + Base *base = (Base *)ale->data; Object *ob = base->object; switch (setting) { @@ -740,7 +740,7 @@ static int acf_object_setting_flag(bAnimContext *UNUSED(ac), eAnimChannel_Settin /* get pointer to the setting */ static void *acf_object_setting_ptr(bAnimListElem *ale, eAnimChannel_Settings setting, short *type) { - BaseLegacy *base = (BaseLegacy *)ale->data; + Base *base = (Base *)ale->data; Object *ob = base->object; /* clear extra return data first */ |