diff options
author | Joshua Leung <aligorith@gmail.com> | 2011-02-10 12:39:55 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2011-02-10 12:39:55 +0300 |
commit | fc3b29b637635092858c2671a0913ebe6a5343c0 (patch) | |
tree | 7e0938e7fe38cef27fbf415a3d4d281630b1ae8b /source/blender/editors | |
parent | 264c8c21623c3b011494e169f0571c410331e553 (diff) |
Small consistency fixups
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/animation/anim_channels_edit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/animation/anim_channels_edit.c b/source/blender/editors/animation/anim_channels_edit.c index 0caf732fe2d..31209459bde 100644 --- a/source/blender/editors/animation/anim_channels_edit.c +++ b/source/blender/editors/animation/anim_channels_edit.c @@ -1052,7 +1052,7 @@ static int animchannels_rearrange_exec(bContext *C, wmOperator *op) // FIXME: actions should only be considered once! if (adt->action) rearrange_action_channels(&ac, adt->action, mode); - else + else if (G.f & G_DEBUG) printf("animdata has no action\n"); break; } @@ -1082,7 +1082,7 @@ void ANIM_OT_channels_move (wmOperatorType *ot) ot->flag= OPTYPE_REGISTER|OPTYPE_UNDO; /* props */ - RNA_def_enum(ot->srna, "direction", prop_animchannel_rearrange_types, REARRANGE_ANIMCHAN_DOWN, "Direction", ""); + ot->prop= RNA_def_enum(ot->srna, "direction", prop_animchannel_rearrange_types, REARRANGE_ANIMCHAN_DOWN, "Direction", ""); } /* ******************** Delete Channel Operator *********************** */ |