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
diff options
context:
space:
mode:
authorAaron Carlisle <carlisle.b3d@gmail.com>2020-10-11 20:00:49 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2020-10-11 20:00:49 +0300
commita0886d1b6ec96878015eed94cc551f06358ce864 (patch)
treeb9d498f3ff9af627aff5243748730de51720102f /source/blender/editors/animation
parent1b04eb6c4443d5b6e5022a16cde7a3d7171ec926 (diff)
Cleanup: make format
Diffstat (limited to 'source/blender/editors/animation')
-rw-r--r--source/blender/editors/animation/anim_channels_defines.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/editors/animation/anim_channels_defines.c b/source/blender/editors/animation/anim_channels_defines.c
index a9786f28ad5..338cbf2cded 100644
--- a/source/blender/editors/animation/anim_channels_defines.c
+++ b/source/blender/editors/animation/anim_channels_defines.c
@@ -5333,9 +5333,12 @@ void ANIM_channel_draw_widgets(const bContext *C,
* - Sliders are always drawn in Shapekey mode now. Prior to this
* the SACTION_SLIDERS flag would be set when changing into Shapekey mode.
*/
- if (((draw_sliders)
- && ELEM(ale->type, ANIMTYPE_FCURVE, ANIMTYPE_NLACURVE, ANIMTYPE_SHAPEKEY, ANIMTYPE_GPLAYER))
- || ale->type == ANIMTYPE_SHAPEKEY) {
+ if (((draw_sliders) && ELEM(ale->type,
+ ANIMTYPE_FCURVE,
+ ANIMTYPE_NLACURVE,
+ ANIMTYPE_SHAPEKEY,
+ ANIMTYPE_GPLAYER)) ||
+ ale->type == ANIMTYPE_SHAPEKEY) {
/* adjust offset */
/* TODO: make slider width dynamic,
* so that they can be easier to use when the view is wide enough. */