From 46045fbb09684ebc74835168ff4c5924261e3fc0 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 7 Mar 2012 04:53:43 +0000 Subject: style cleanup - braces & else / if's --- source/blender/blenkernel/intern/dynamicpaint.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'source/blender/blenkernel/intern/dynamicpaint.c') diff --git a/source/blender/blenkernel/intern/dynamicpaint.c b/source/blender/blenkernel/intern/dynamicpaint.c index 708bf288cc2..4830d7ed61e 100644 --- a/source/blender/blenkernel/intern/dynamicpaint.c +++ b/source/blender/blenkernel/intern/dynamicpaint.c @@ -4889,16 +4889,14 @@ static int dynamicPaint_doStep(Scene *scene, Object *ob, DynamicPaintSurface *su } /* surfaces operations that use adjacency data */ - if (sData->adj_data && bData->bNeighs) - { + if (sData->adj_data && bData->bNeighs) { /* wave type surface simulation step */ if (surface->type == MOD_DPAINT_SURFACE_T_WAVE) { dynamicPaint_doWaveStep(surface, timescale); } /* paint surface effects */ - if (surface->effect && surface->type == MOD_DPAINT_SURFACE_T_PAINT) - { + if (surface->effect && surface->type == MOD_DPAINT_SURFACE_T_PAINT) { int steps = 1, s; PaintPoint *prevPoint; float *force = NULL; -- cgit v1.2.3