warning cleanup for -Wdouble-promotion
This commit is contained in:
@@ -2926,7 +2926,7 @@ static void radial_control_paint_cursor(bContext *C, int x, int y, void *customd
|
||||
case PROP_FACTOR:
|
||||
r1= (1 - rc->current_value) * WM_RADIAL_CONTROL_DISPLAY_SIZE;
|
||||
r2= tex_radius= WM_RADIAL_CONTROL_DISPLAY_SIZE;
|
||||
alpha = rc->current_value / 2 + 0.5;
|
||||
alpha = rc->current_value / 2.0f + 0.5f;
|
||||
break;
|
||||
case PROP_ANGLE:
|
||||
r1= r2= tex_radius= WM_RADIAL_CONTROL_DISPLAY_SIZE;
|
||||
|
||||
Reference in New Issue
Block a user