Merging revisions 14838-14945 of https://svn.blender.org/svnroot/bf-blender/trunk...
[blender.git] / source / blender / src / drawobject.c
index 17b51249ac2fa11c9a76be79fb27a8c957de4ddc..d5b1f023d7039b42ef97f062a58a31e1c265a93a 100644 (file)
@@ -4253,6 +4253,7 @@ static void draw_forcefield(Object *ob)
                drawcircball(GL_LINE_LOOP, vec, size, tmat);
                vec[2]= 1.5*force_val;
                drawcircball(GL_LINE_LOOP, vec, size, tmat);
+               vec[2] = 0; /* reset vec for max dist circle */
                
        }
        else if (pd->forcefield == PFIELD_FORCE) {