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>2013-10-31 03:08:53 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-10-31 03:08:53 +0400
commit7267221715d8431bd1aaaaa3ace4f8c0ce151627 (patch)
tree65f85d299db27f35ec67330e58864f1dcf088687 /source/blender/editors/space_view3d/view3d_fly.c
parentbced18155ffc525dc513d097245fe3954acbb900 (diff)
remove return argument from wmOperatorType->cancel, was only ever returning OPERATOR_CANCELLED.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_fly.c')
-rw-r--r--source/blender/editors/space_view3d/view3d_fly.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/editors/space_view3d/view3d_fly.c b/source/blender/editors/space_view3d/view3d_fly.c
index 9341ea9d3e6..6d04b9b8826 100644
--- a/source/blender/editors/space_view3d/view3d_fly.c
+++ b/source/blender/editors/space_view3d/view3d_fly.c
@@ -1254,15 +1254,13 @@ static int fly_invoke(bContext *C, wmOperator *op, const wmEvent *event)
return OPERATOR_RUNNING_MODAL;
}
-static int fly_cancel(bContext *C, wmOperator *op)
+static void fly_cancel(bContext *C, wmOperator *op)
{
FlyInfo *fly = op->customdata;
fly->state = FLY_CANCEL;
flyEnd(C, fly);
op->customdata = NULL;
-
- return OPERATOR_CANCELLED;
}
static int fly_modal(bContext *C, wmOperator *op, const wmEvent *event)