diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-02-09 00:01:00 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-02-09 00:01:00 +0300 |
commit | 3753d817abf1041af435c1ae32b8ff03e945bcde (patch) | |
tree | 312046ecc686c8d0022d984295ee3313b265c16d /source/blender/src/parametrizer_intern.h | |
parent | eb42008067d76906b7b5d2088e86b1a43356ea47 (diff) |
Seam Cutting in Faceselect Mode:
- Mark Border Seam: mark edges on the border of face selection as seam.
- Clear Seam: clears seams in selected faces.
Hotkey: Ctrl+E
- Alt+RMB Click: mark/clear edge as seam
- Alt+Shift+RMB Click: mark/clear seams along the shortest/straightest path
from last marked seam. The cost of the path also includes some measure of
'straightness' next to the typical distance to make things work more
predicatble and edgeloop friendly. Note that this cuts a path from edge to
edge, not vertex to vertex. That gives some nice control over the direction
of the seam.
Also includes:
- Removed old LSCM code.
- Fix updates glitches with DerivedMesh/Subsurf drawing in FaceSelect mode.
Now there's a drawMappedFacesTex instead of drawFacesTex.
- Minimize Stretch menu entry called Limit Stitch.
- Removed the lasttface global, was being set before it was used anyway, so
might as wel return from a function.
- Moved some backbuf sampling code to drawview.c from editmesh, so it can be
used by Faceselect and VPaint.
- Use BLI_heap in parametrizer.c.
Diffstat (limited to 'source/blender/src/parametrizer_intern.h')
-rw-r--r-- | source/blender/src/parametrizer_intern.h | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/source/blender/src/parametrizer_intern.h b/source/blender/src/parametrizer_intern.h index 1e3e7072c48..f5eeed656b8 100644 --- a/source/blender/src/parametrizer_intern.h +++ b/source/blender/src/parametrizer_intern.h @@ -51,23 +51,6 @@ struct PFace; struct PChart; struct PHandle; -/* Heap */ - -typedef struct PHeapLink { - void *ptr; - float value; - int index; -} PHeapLink; - -typedef struct PHeap { - unsigned int size; - unsigned int bufsize; - MemArena *arena; - PHeapLink *freelinks; - PHeapLink *links; - PHeapLink **tree; -} PHeap; - /* Simplices */ typedef struct PVert { @@ -77,7 +60,7 @@ typedef struct PVert { PHashKey key; /* construct */ int id; /* abf/lscm matrix index */ float distortion; /* area smoothing */ - PHeapLink *heaplink; /* edge collapsing */ + HeapNode *heaplink; /* edge collapsing */ } u; struct PEdge *edge; @@ -93,7 +76,7 @@ typedef struct PEdge { union PEdgeUnion { PHashKey key; /* construct */ int id; /* abf matrix index */ - PHeapLink *heaplink; /* fill holes */ + HeapNode *heaplink; /* fill holes */ struct PEdge *nextcollapse; /* simplification */ } u; |