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:
authorMartin Poirier <theeth@yahoo.com>2008-05-21 14:11:10 +0400
committerMartin Poirier <theeth@yahoo.com>2008-05-21 14:11:10 +0400
commit780c971b532f51c21080728d3996d96ab3bb4e07 (patch)
tree50b424b9a148bd8c6966911ba83631731266f5df
parentd432eccd145649be7abe82f117c6d609db61941d (diff)
[#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"
-rw-r--r--source/blender/src/drawobject.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/src/drawobject.c b/source/blender/src/drawobject.c
index 6a0863a5b63..045b98bb784 100644
--- a/source/blender/src/drawobject.c
+++ b/source/blender/src/drawobject.c
@@ -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) {