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:
authorCampbell Barton <ideasman42@gmail.com>2013-02-02 04:34:34 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-02-02 04:34:34 +0400
commit6fca85780b966bf610d8e73dc65c538747cbd485 (patch)
tree33f6a98459258bde5e9daef8c822ddbe3d4534b2 /source/blender/editors/physics
parent736d7810a0ba6dc4fa1439b8c45d4b6782a9aa31 (diff)
style cleanup: also correct doc example for 'foreach_get/set'
Diffstat (limited to 'source/blender/editors/physics')
-rw-r--r--source/blender/editors/physics/particle_edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c
index deddc649956..bbd10a119e5 100644
--- a/source/blender/editors/physics/particle_edit.c
+++ b/source/blender/editors/physics/particle_edit.c
@@ -3397,7 +3397,7 @@ static int brush_add(PEData *data, short number)
weight[w] = 0.0f;
}
- if(totw > 0.0f) {
+ if (totw > 0.0f) {
for (w=0; w<maxw; w++)
weight[w] /= totw;
}