Commit: 145998c77638d5f60d2149779b8fac4fb3883f8f
Author: Joshua Leung
Date: Sun Jul 6 19:32:50 2014 +1200
https://developer.blender.org/rB145998c77638d5f60d2149779b8fac4fb3883f8f
Code cleanup
- Fixed incorrect section heading
- Missed one place where short was still used when the specific enum type would
be
more appropriate
===================================================================
M source/blender/blenkernel/intern/anim_sys.c
M source/blender/editors/animation/anim_channels_edit.c
===================================================================
diff --git a/source/blender/blenkernel/intern/anim_sys.c
b/source/blender/blenkernel/intern/anim_sys.c
index 7e45524..995b2ac 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 5eb5f8c..ab190e0 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)
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs