diff options
author | Daniel Dunbar <daniel@zuster.org> | 2005-07-14 00:16:35 +0400 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2005-07-14 00:16:35 +0400 |
commit | 2bde6502f2b6272fef24206cbea6f15d553f324e (patch) | |
tree | acdf173d31d4494452e7a05eb9efa67c0ad11675 /source/blender/blenkernel/BKE_DerivedMesh.h | |
parent | 75ae1ae5ef0d3bb37cd3a5c70699955cb207dcde (diff) |
- Change DerivedMesh.drawSolidFaces setMaterial argument to return
boolean value indicating whether faces with that material should
be drawn or not.
Diffstat (limited to 'source/blender/blenkernel/BKE_DerivedMesh.h')
-rw-r--r-- | source/blender/blenkernel/BKE_DerivedMesh.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_DerivedMesh.h b/source/blender/blenkernel/BKE_DerivedMesh.h index b80a1220b98..9f5e1e795d7 100644 --- a/source/blender/blenkernel/BKE_DerivedMesh.h +++ b/source/blender/blenkernel/BKE_DerivedMesh.h @@ -82,8 +82,9 @@ struct DerivedMesh { /* Draw all faces * o Set face normal or vertex normal based on inherited face flag * o Use inherited face material index to call setMaterial + * o Only if setMaterial returns true */ - void (*drawFacesSolid)(DerivedMesh *dm, void (*setMaterial)(int)); + void (*drawFacesSolid)(DerivedMesh *dm, int (*setMaterial)(int)); /* Draw all faces * o If useTwoSided, draw front and back using col arrays |