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:
authorLukas Tönne <lukas.toenne@gmail.com>2016-07-29 13:12:03 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2016-07-29 17:35:10 +0300
commita2787c1f747ea066a65b41344f90fae22f2b5c4a (patch)
treeb2d8d9b1907192f44a5cba5a0026fda6e9955cf5 /source/blender/editors/transform
parent89713f09f4cd85a91524ee1783d98885dc8c239e (diff)
Simple contact detection method for hair editing, using the typical BVH closest point method.
This method is just a placeholder, in the future it would be worthwhile to use Bullet collision detection with ghost objects for this. Also the code should eventually be abstracted a bit to make it agnostic to mesh formats, so it can be used for BMesh as well as DNA strand data or physics simulation.
Diffstat (limited to 'source/blender/editors/transform')
-rw-r--r--source/blender/editors/transform/transform_conversions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_conversions.c b/source/blender/editors/transform/transform_conversions.c
index 463b3f98875..ccd00385631 100644
--- a/source/blender/editors/transform/transform_conversions.c
+++ b/source/blender/editors/transform/transform_conversions.c
@@ -2166,7 +2166,7 @@ void flushTransStrands(TransInfo *t)
BMEditStrands *edit = BKE_editstrands_from_object(ob);
BMEditStrandsLocations origlocs = t->custom.type.data;
- BKE_editstrands_solve_constraints(ob, edit, origlocs);
+ BKE_editstrands_solve_constraints(scene, ob, edit, origlocs);
}
/* ********************* mesh ****************** */