diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-05-19 15:18:54 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-05-19 15:18:54 +0300 |
commit | a7c4b6f49cf169af676a44ec2bf21ca4527fee95 (patch) | |
tree | 97b20957d5fc9ed853ba0c456da77278754cfcb7 /source/blender/editors/armature/pose_slide.c | |
parent | ef549b9e556b1e4c27ae11280a672ec9be20ca11 (diff) |
Cleanup: add braces for multi-line blocks
Diffstat (limited to 'source/blender/editors/armature/pose_slide.c')
-rw-r--r-- | source/blender/editors/armature/pose_slide.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/armature/pose_slide.c b/source/blender/editors/armature/pose_slide.c index 21cb405c32b..8dfcd5acab8 100644 --- a/source/blender/editors/armature/pose_slide.c +++ b/source/blender/editors/armature/pose_slide.c @@ -885,6 +885,7 @@ static int pose_slide_modal(bContext *C, wmOperator *op, const wmEvent *event) break; } default: + { if ((event->val == KM_PRESS) && handleNumInput(C, &pso->num, event)) { float value; @@ -972,6 +973,7 @@ static int pose_slide_modal(bContext *C, wmOperator *op, const wmEvent *event) /* allow to pass through */ return OPERATOR_RUNNING_MODAL | OPERATOR_PASS_THROUGH; } + } } |