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-07 08:41:14 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2012-03-07 08:41:14 +0400
commit71e5edeb6a769e2fd861f5fe374e75391415402a (patch)
tree3de5b78bf14355bb00fc06383a357433c6bcadfa /source/blender/blenlib
parentb563870fd992ec2539a0332e024ba4eda72a6d6e (diff)
Code cleanup: use typedefs for DerivedMesh drawing callbacks.
There are still fairly bewildering set of callbacks being tossed around, but it's at least a little less verbose now.
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 861219159e1..d0dc51d1a8a 100644
--- a/source/blender/blenlib/intern/pbvh.c
+++ b/source/blender/blenlib/intern/pbvh.c
@@ -1560,7 +1560,7 @@ int BLI_pbvh_node_planes_contain_AABB(PBVHNode *node, void *data)
}
void BLI_pbvh_draw(PBVH *bvh, float (*planes)[4], float (*face_nors)[3],
- int (*setMaterial)(int, void *attribs))
+ DMSetMaterial setMaterial)
{
PBVHNode **nodes;
int totnode;