diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-06 22:40:15 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-06 22:40:15 +0400 |
commit | 31d2ee9bf77bb991ea4779c47379b2cee84b27ed (patch) | |
tree | fd6f021356fc78d6dfeff9f18f601ce645dd7ffe /source/blender/modifiers/intern/MOD_dynamicpaint.c | |
parent | 7b7214c72233f72268f72d31fd8626a0f94e557e (diff) |
style cleanup, brackets in else/if, some indentation.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_dynamicpaint.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_dynamicpaint.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/modifiers/intern/MOD_dynamicpaint.c b/source/blender/modifiers/intern/MOD_dynamicpaint.c index c7b4d41e646..e567765d61b 100644 --- a/source/blender/modifiers/intern/MOD_dynamicpaint.c +++ b/source/blender/modifiers/intern/MOD_dynamicpaint.c @@ -119,15 +119,13 @@ static void updateDepgraph(ModifierData *md, DagForest *forest, DynamicPaintModifierData *pmd = (DynamicPaintModifierData*) md; /* add relation from canvases to all brush objects */ - if(pmd && pmd->canvas) - { + if (pmd && pmd->canvas) { Base *base = scene->base.first; - for(; base; base = base->next) { + for (; base; base = base->next) { DynamicPaintModifierData *pmd2 = (DynamicPaintModifierData *)modifiers_findByType(base->object, eModifierType_DynamicPaint); - if(pmd2 && pmd2->brush && ob!=base->object) - { + if (pmd2 && pmd2->brush && ob!=base->object) { DagNode *brushNode = dag_get_node(forest, base->object); dag_add_relation(forest, brushNode, obNode, DAG_RL_DATA_DATA|DAG_RL_OB_DATA, "Dynamic Paint Brush"); } |