diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-07-18 12:02:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-07-18 12:03:22 +0300 |
commit | ecb3e0fe737c24e62add99f3fa39e305f5d66af2 (patch) | |
tree | 214dfdeca51bf158a6285b9630bc4f433131e5e0 /source/blender/editors/animation | |
parent | 2199a3e38b1cf5956bd65e1d4ba38a3c50a4bed0 (diff) |
Cleanup: whitespace & break placement
Diffstat (limited to 'source/blender/editors/animation')
-rw-r--r-- | source/blender/editors/animation/anim_channels_defines.c | 6 | ||||
-rw-r--r-- | source/blender/editors/animation/anim_channels_edit.c | 8 |
2 files changed, 8 insertions, 6 deletions
diff --git a/source/blender/editors/animation/anim_channels_defines.c b/source/blender/editors/animation/anim_channels_defines.c index ebd05d8b16b..7bed7a41e02 100644 --- a/source/blender/editors/animation/anim_channels_defines.c +++ b/source/blender/editors/animation/anim_channels_defines.c @@ -160,14 +160,16 @@ static bool acf_show_channel_colors(bAnimContext *ac) { SpaceAction *saction = (SpaceAction *)ac->sl; showGroupColors = !(saction->flag & SACTION_NODRAWGCOLORS); - } + break; + } case SPACE_IPO: { SpaceIpo *sipo = (SpaceIpo *)ac->sl; showGroupColors = !(sipo->flag & SIPO_NODRAWGCOLORS); - } + break; + } } } diff --git a/source/blender/editors/animation/anim_channels_edit.c b/source/blender/editors/animation/anim_channels_edit.c index f9e3c8a9fa6..8822c8511de 100644 --- a/source/blender/editors/animation/anim_channels_edit.c +++ b/source/blender/editors/animation/anim_channels_edit.c @@ -1396,9 +1396,9 @@ static int animchannels_grouping_poll(bContext *C) /* dopesheet and action only - all others are for other datatypes or have no groups */ if (ELEM(saction->mode, SACTCONT_ACTION, SACTCONT_DOPESHEET) == 0) return 0; - } + break; - + } case SPACE_IPO: { SpaceIpo *sipo = (SpaceIpo *)sl; @@ -1406,9 +1406,9 @@ static int animchannels_grouping_poll(bContext *C) /* drivers can't have groups... */ if (sipo->mode != SIPO_MODE_ANIMATION) return 0; - } + break; - + } /* unsupported... */ default: return 0; |