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:
authorNicholas Bishop <nicholasbishop@gmail.com>2009-03-11 03:52:00 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2009-03-11 03:52:00 +0300
commit891c3bc663b0f1ece07bfd48e06853a9eedb6178 (patch)
tree6ca7368bec2980deacb65126598f41d602e37d7c /source/blender/editors/physics
parent33509e851077fa108bfb1e8934098d67e6b1b16f (diff)
Simplified vpaint/wpaint radial control calls. Removed also some unused radial control code.
Diffstat (limited to 'source/blender/editors/physics')
-rw-r--r--source/blender/editors/physics/editparticle.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/editors/physics/editparticle.c b/source/blender/editors/physics/editparticle.c
index b3c7be688f2..272383ab651 100644
--- a/source/blender/editors/physics/editparticle.c
+++ b/source/blender/editors/physics/editparticle.c
@@ -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;
}