From e4b716a03f75e4ca99af246b340e9f74ac80ebef Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 25 Jul 2015 07:40:02 +1000 Subject: Cleanup: warnings, style --- source/blender/editors/physics/particle_edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/physics') diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c index f5f3f916606..e26d83ac648 100644 --- a/source/blender/editors/physics/particle_edit.c +++ b/source/blender/editors/physics/particle_edit.c @@ -425,7 +425,7 @@ static bool PE_create_shape_tree(PEData *data, Object *shapeob) } DM_ensure_looptri(dm); - return bvhtree_from_mesh_looptri(&data->shape_bvh, dm, 0.0f, 4, 8); + return (bvhtree_from_mesh_looptri(&data->shape_bvh, dm, 0.0f, 4, 8) != NULL); } static void PE_free_shape_tree(PEData *data) -- cgit v1.2.3