diff options
author | Nicholas Bishop <nicholasbishop@gmail.com> | 2012-03-06 13:19:13 +0400 |
---|---|---|
committer | Nicholas Bishop <nicholasbishop@gmail.com> | 2012-03-06 13:19:13 +0400 |
commit | cc850522bcc4475c72d5c26889b14900e4b0bc97 (patch) | |
tree | b9b9822c57630d9df44a596ff1e6e4aaed2a310f /source/blender/blenlib/intern | |
parent | 919a0d99fb8f28ecc988a9e4f74daf65e56f6298 (diff) |
Fix incorrect null parameter in PBVH drawing
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r-- | source/blender/blenlib/intern/pbvh.c | 2 |
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); |