diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-11-13 16:06:48 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-11-13 16:08:02 +0300 |
commit | 2179f314a6f90d7cb9caf6afc651b5885b603235 (patch) | |
tree | e8e88990245431d544fdc2adc27b0cc29b88b36a /source/blender/windowmanager | |
parent | 97d79ca844df2a50b8974d32cb38d9b354adef2d (diff) |
Cleanup: use int for operator return argument
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index 43bf5039825..e85f42697df 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -2654,7 +2654,8 @@ static int radial_control_modal(bContext *C, wmOperator *op, const wmEvent *even { RadialControl *rc = op->customdata; float new_value, dist = 0.0f, zoom[2]; - float delta[2], ret = OPERATOR_RUNNING_MODAL; + float delta[2]; + int ret = OPERATOR_RUNNING_MODAL; bool snap; float angle_precision = 0.0f; const bool has_numInput = hasNumInput(&rc->num_input); |