[#12103] Force field moves when strength changes

Wind effects would modify the center vector, so the limit sphere was drawn from the position of the last "wind ring"
This commit is contained in:
2008-05-21 10:11:10 +00:00
parent d432eccd14
commit 780c971b53

View File

@@ -4233,6 +4233,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) {