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:
Diffstat (limited to 'source/blender/blenkernel/intern/collision.c')
-rw-r--r--source/blender/blenkernel/intern/collision.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/collision.c b/source/blender/blenkernel/intern/collision.c
index f2200a24ea2..ef69da0ed86 100644
--- a/source/blender/blenkernel/intern/collision.c
+++ b/source/blender/blenkernel/intern/collision.c
@@ -69,6 +69,7 @@ void collision_move_object(CollisionModifierData *collmd, float step, float prev
VECADDS(collmd->current_xnew[i].co, collmd->x[i].co, tv, step);
VECSUB(collmd->current_v[i].co, collmd->current_xnew[i].co, collmd->current_x[i].co);
}
+ bvh_update_from_mvert(collmd->tree, collmd->current_x, collmd->numverts, collmd->current_xnew, 1);
}
/* build bounding volume hierarchy from mverts (see kdop.c for whole BVH code) */