Code cleanup

- Fixed incorrect section heading
- Missed one place where short was still used when the specific enum type would be
  more appropriate
This commit is contained in:
Joshua Leung 2014-07-06 19:32:50 +12:00
parent a4c4145800
commit 145998c776
2 changed files with 2 additions and 2 deletions

View File

@ -244,7 +244,7 @@ void BKE_free_animdata(ID *id)
}
}
/* Freeing -------------------------------------------- */
/* Copying -------------------------------------------- */
/* Make a copy of the given AnimData - to be used when copying datablocks */
AnimData *BKE_copy_animdata(AnimData *adt, const bool do_action)

View File

@ -1170,7 +1170,7 @@ static void rearrange_action_channels(bAnimContext *ac, bAction *act, eRearrange
static int animchannels_rearrange_exec(bContext *C, wmOperator *op)
{
bAnimContext ac;
short mode;
eRearrangeAnimChan_Mode mode;
/* get editor data */
if (ANIM_animdata_get_context(C, &ac) == 0)