From 91197621dcb6a9265d0b58eeb7908b0fb234ab4b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 27 Apr 2010 13:22:43 +0000 Subject: [PATCH] fix for error in decleration order --- source/blender/editors/physics/particle_edit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c index f6384e38eb9..0ee1ffc8337 100644 --- a/source/blender/editors/physics/particle_edit.c +++ b/source/blender/editors/physics/particle_edit.c @@ -2376,11 +2376,10 @@ static int weight_set_exec(bContext *C, wmOperator *op) HairKey *hkey; float weight; ParticleBrushData *brush= &pset->brush[pset->brushtype]; - edit= psys->edit; - float factor= RNA_float_get(op->ptr, "factor"); weight= brush->strength; + edit= psys->edit; LOOP_SELECTED_POINTS { ParticleData *pa= psys->particles + p;