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-25 00:40:02 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-07-25 00:44:25 +0300
commite4b716a03f75e4ca99af246b340e9f74ac80ebef (patch)
treeca6131ab28877d8883ba28ad0ae0a466fa45eed5 /source/blender/editors/physics
parent5acce60d376292bc228211075c9fe05b41c84ccd (diff)
Cleanup: warnings, style
Diffstat (limited to 'source/blender/editors/physics')
-rw-r--r--source/blender/editors/physics/particle_edit.c2
1 files changed, 1 insertions, 1 deletions
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)