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:
authorCampbell Barton <ideasman42@gmail.com>2017-06-06 16:04:46 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-06-07 08:49:50 +0300
commite17a90074f116ac652c4f05b94ab7290db96ad15 (patch)
treed345d7c5f89538182e939e7ca28ba0fd7d658aa4 /source/blender/editors/transform/transform_manipulator.c
parent7f01329a84a6c8e90988e38cab7dd7f070d06795 (diff)
WM: remove unused return values
Diffstat (limited to 'source/blender/editors/transform/transform_manipulator.c')
-rw-r--r--source/blender/editors/transform/transform_manipulator.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/editors/transform/transform_manipulator.c b/source/blender/editors/transform/transform_manipulator.c
index 14a1a6b8cfe..ec2bb0893ee 100644
--- a/source/blender/editors/transform/transform_manipulator.c
+++ b/source/blender/editors/transform/transform_manipulator.c
@@ -1117,7 +1117,7 @@ static ManipulatorGroup *manipulatorgroup_init(wmManipulatorGroup *wgroup)
/**
* Custom handler for manipulator widgets
*/
-static int manipulator_handler(
+static void manipulator_handler(
bContext *C, wmManipulator *widget, const wmEvent *UNUSED(event), const int UNUSED(flag))
{
const ScrArea *sa = CTX_wm_area(C);
@@ -1131,8 +1131,6 @@ static int manipulator_handler(
}
ED_region_tag_redraw(ar);
-
- return OPERATOR_PASS_THROUGH;
}
static void WIDGETGROUP_manipulator_init(const bContext *UNUSED(C), wmManipulatorGroup *wgroup)