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:
authorSergey Sharybin <sergey.vfx@gmail.com>2016-09-08 10:40:25 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2016-09-08 10:40:25 +0300
commita2e8b7e2167b443aecb46f7afe971bc1b8e5051a (patch)
treec28d99f9c184cc901b7d5bb708d8593178bec860
parenta6f733310b76dbe292f9b5541c39a332f88f92b0 (diff)
Fix compilation error: Shadowing of variable
-rw-r--r--source/blender/blenkernel/intern/particle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/particle.c b/source/blender/blenkernel/intern/particle.c
index 907521c9677..70fd638ce13 100644
--- a/source/blender/blenkernel/intern/particle.c
+++ b/source/blender/blenkernel/intern/particle.c
@@ -323,7 +323,7 @@ void psys_check_group_weights(ParticleSettings *part)
dw = part->dupliweights.first;
while (dw) {
if (dw->ob == NULL || !BKE_group_object_exists(part->dup_group, dw->ob)) {
- GroupObject *go = (GroupObject *)BLI_findlink(&part->dup_group->gobject, dw->index);
+ go = (GroupObject *)BLI_findlink(&part->dup_group->gobject, dw->index);
if (go) {
dw->ob = go->ob;
}