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:
authorCampbell Barton <ideasman42@gmail.com>2015-07-23 10:07:14 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-07-23 10:07:14 +0300
commitb6cf4f777d2c9ca0b01a746598b8cf149fe59898 (patch)
treec60d758b99a464b9c91f3949b4b277de5722c111 /source/blender/editors
parent5c98848895b5bdafd074e86948e53392bde5e6d8 (diff)
Use looptri for smoke collisions & particle edit
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/physics/particle_edit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c
index 877c8ba9a05..f5f3f916606 100644
--- a/source/blender/editors/physics/particle_edit.c
+++ b/source/blender/editors/physics/particle_edit.c
@@ -424,8 +424,8 @@ static bool PE_create_shape_tree(PEData *data, Object *shapeob)
return false;
}
- DM_ensure_tessface(dm);
- return bvhtree_from_mesh_faces(&data->shape_bvh, dm, 0.0f, 4, 8);
+ DM_ensure_looptri(dm);
+ return bvhtree_from_mesh_looptri(&data->shape_bvh, dm, 0.0f, 4, 8);
}
static void PE_free_shape_tree(PEData *data)