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
path: root/source
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2014-07-06 11:32:50 +0400
committerJoshua Leung <aligorith@gmail.com>2014-07-06 11:35:24 +0400
commit145998c77638d5f60d2149779b8fac4fb3883f8f (patch)
treedf35c6ab1ee704dd235ecf22ddeb425e75f8e19c /source
parenta4c414580006645f5d789c37f7f5fe4f5a7d0d54 (diff)
Code cleanup
- Fixed incorrect section heading - Missed one place where short was still used when the specific enum type would be more appropriate
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/anim_sys.c2
-rw-r--r--source/blender/editors/animation/anim_channels_edit.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/anim_sys.c b/source/blender/blenkernel/intern/anim_sys.c
index 7e4552469d6..995b2ac5321 100644
--- a/source/blender/blenkernel/intern/anim_sys.c
+++ b/source/blender/blenkernel/intern/anim_sys.c
@@ -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)
diff --git a/source/blender/editors/animation/anim_channels_edit.c b/source/blender/editors/animation/anim_channels_edit.c
index 5eb5f8c450e..ab190e0077c 100644
--- a/source/blender/editors/animation/anim_channels_edit.c
+++ b/source/blender/editors/animation/anim_channels_edit.c
@@ -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)