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>2021-10-21 23:28:42 +0300
committerAaron Carlisle <carlisle.b3d@gmail.com>2021-10-22 00:00:38 +0300
commitf45470472fb16b7153795735e7c16ad400a71a07 (patch)
treebf7727316935183d5ec8ea3b6a0adc311a5c84fc /source/blender/windowmanager/intern/wm_operators.c
parent94fb47e57251d662c6cdbcf460c2b52c75b34cb0 (diff)
Cleanup: Compile warnings
Diffstat (limited to 'source/blender/windowmanager/intern/wm_operators.c')
-rw-r--r--source/blender/windowmanager/intern/wm_operators.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c
index 98ae1eb62dc..8d8905ea737 100644
--- a/source/blender/windowmanager/intern/wm_operators.c
+++ b/source/blender/windowmanager/intern/wm_operators.c
@@ -2979,7 +2979,7 @@ static int radial_control_modal(bContext *C, wmOperator *op, const wmEvent *even
}
}
else {
- sub_v2_v2v2(delta, rc->initial_mouse, event->xy);
+ sub_v2_v2v2_int(delta, rc->initial_mouse, event->xy);
if (rc->zoom_prop) {
RNA_property_float_get_array(&rc->zoom_ptr, rc->zoom_prop, zoom);
delta[0] /= zoom[0];