Simplified vpaint/wpaint radial control calls. Removed also some unused radial contro...
[blender-staging.git] / source / blender / editors / sculpt_paint / sculpt.c
index d9616f95a05aba2e573a4370f860c00dbfa65361..8f1e382631428b6b220f00cda0a095b7390c6f89 100644 (file)
@@ -1275,11 +1275,7 @@ static int sculpt_radial_control_modal(bContext *C, wmOperator *op, wmEvent *eve
 
 static int sculpt_radial_control_exec(bContext *C, wmOperator *op)
 {
-       int ret = brush_radial_control_exec(op, CTX_data_scene(C)->toolsettings->sculpt->brush, 1);
-       char str[256];
-       WM_radial_control_string(op, str, 256);
-
-       return ret;
+       return brush_radial_control_exec(op, CTX_data_scene(C)->toolsettings->sculpt->brush, 1);
 }
 
 static void SCULPT_OT_radial_control(wmOperatorType *ot)