Simplified vpaint/wpaint radial control calls. Removed also some unused radial contro...
[blender-staging.git] / source / blender / editors / physics / editparticle.c
index b3c7be688f276295fd1c8e61f79fabe3fded7d48..272383ab651328ef4123cbf8539ae78f8daa804d 100644 (file)
@@ -2312,7 +2312,6 @@ static int brush_radial_control_exec(bContext *C, wmOperator *op)
        ParticleBrushData *brush;
        int mode = RNA_enum_get(op->ptr, "mode");
        float new_value = RNA_float_get(op->ptr, "new_value");
-       char str[256];
 
        if(pset->brushtype < 0)
                return OPERATOR_CANCELLED;
@@ -2324,8 +2323,6 @@ static int brush_radial_control_exec(bContext *C, wmOperator *op)
        else if(mode == WM_RADIALCONTROL_STRENGTH)
                brush->strength= new_value;
 
-       WM_radial_control_string(op, str, 256);
-
        return OPERATOR_FINISHED;
 }