diff options
author | Daniel Dunbar <daniel@zuster.org> | 2005-08-14 14:35:58 +0400 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2005-08-14 14:35:58 +0400 |
commit | 524d3493f7b58ba6bf9f695b354e4e54378a1891 (patch) | |
tree | 87c6280acc50f0ed6b6293a2edc34a230792365c /source/blender/blenkernel/BKE_DerivedMesh.h | |
parent | e173de2462e6e43747cc223efd6f7f46c56e0aa8 (diff) |
- cleaned up edge drawing a tad, there were issues with mesh's
with "loose" edges (edges without a face) and drawing in
solid mode. they would either not draw, or draw with a nasty
selection outline. Added a ME_LOOSEEDGE flag to mark such
edges in displists/mesh and editmode sets it.
- changed DerivedMesh drawEdges to take an argument whether
it should draw loose edges or not
Diffstat (limited to 'source/blender/blenkernel/BKE_DerivedMesh.h')
-rw-r--r-- | source/blender/blenkernel/BKE_DerivedMesh.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_DerivedMesh.h b/source/blender/blenkernel/BKE_DerivedMesh.h index b6b1cb69c8e..f221391d6f0 100644 --- a/source/blender/blenkernel/BKE_DerivedMesh.h +++ b/source/blender/blenkernel/BKE_DerivedMesh.h @@ -131,7 +131,7 @@ struct DerivedMesh { * * Also called for *final* editmode DerivedMeshes */ - void (*drawEdges)(DerivedMesh *dm); + void (*drawEdges)(DerivedMesh *dm, int drawLooseEdges); /* Draw all edges without faces as lines (no options) */ void (*drawLooseEdges)(DerivedMesh *dm); |