[Bf-blender-cvs] [a2e8b7e] master: Fix compilation error: Shadowing of variable
Sergey Sharybin
noreply at git.blender.org
Thu Sep 8 09:41:44 CEST 2016
Commit: a2e8b7e2167b443aecb46f7afe971bc1b8e5051a
Author: Sergey Sharybin
Date: Thu Sep 8 09:40:25 2016 +0200
Branches: master
https://developer.blender.org/rBa2e8b7e2167b443aecb46f7afe971bc1b8e5051a
Fix compilation error: Shadowing of variable
===================================================================
M source/blender/blenkernel/intern/particle.c
===================================================================
diff --git a/source/blender/blenkernel/intern/particle.c b/source/blender/blenkernel/intern/particle.c
index 907521c..70fd638 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;
}
More information about the Bf-blender-cvs
mailing list