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:
authorNicholas Bishop <nicholasbishop@gmail.com>2012-03-06 13:19:13 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2012-03-06 13:19:13 +0400
commitcc850522bcc4475c72d5c26889b14900e4b0bc97 (patch)
treeb9b9822c57630d9df44a596ff1e6e4aaed2a310f /source/blender/blenlib
parent919a0d99fb8f28ecc988a9e4f74daf65e56f6298 (diff)
Fix incorrect null parameter in PBVH drawing
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/intern/pbvh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/pbvh.c b/source/blender/blenlib/intern/pbvh.c
index 46d38e10585..861219159e1 100644
--- a/source/blender/blenlib/intern/pbvh.c
+++ b/source/blender/blenlib/intern/pbvh.c
@@ -1575,7 +1575,7 @@ void BLI_pbvh_draw(PBVH *bvh, float (*planes)[4], float (*face_nors)[3],
if(planes) {
BLI_pbvh_search_callback(bvh, BLI_pbvh_node_planes_contain_AABB,
- planes, BLI_pbvh_node_draw, NULL);
+ planes, BLI_pbvh_node_draw, setMaterial);
}
else {
BLI_pbvh_search_callback(bvh, NULL, NULL, BLI_pbvh_node_draw, setMaterial);