diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2016-07-29 13:12:03 +0300 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2016-07-29 17:35:10 +0300 |
commit | a2787c1f747ea066a65b41344f90fae22f2b5c4a (patch) | |
tree | b2d8d9b1907192f44a5cba5a0026fda6e9955cf5 /source/blender/editors/transform | |
parent | 89713f09f4cd85a91524ee1783d98885dc8c239e (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.c | 2 |
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 ****************** */ |