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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2006-02-09 00:01:00 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2006-02-09 00:01:00 +0300
commit3753d817abf1041af435c1ae32b8ff03e945bcde (patch)
tree312046ecc686c8d0022d984295ee3313b265c16d /source/blender/include/BSE_drawview.h
parenteb42008067d76906b7b5d2088e86b1a43356ea47 (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/include/BSE_drawview.h')
-rw-r--r--source/blender/include/BSE_drawview.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/include/BSE_drawview.h b/source/blender/include/BSE_drawview.h
index 1d04062fb8d..1174aee6c64 100644
--- a/source/blender/include/BSE_drawview.h
+++ b/source/blender/include/BSE_drawview.h
@@ -37,6 +37,7 @@ struct Object;
struct BGpic;
struct rcti;
struct ScrArea;
+struct ImBuf;
void setalpha_bgpic(struct BGpic *bgpic);
void default_gl_light(void);
@@ -52,6 +53,11 @@ void do_viewbuts(unsigned short event);
void add_view3d_after(struct View3D *v3d, struct Base *base, int type);
void backdrawview3d(int test);
+void check_backbuf(void);
+unsigned int sample_backbuf(int x, int y);
+struct ImBuf *read_backbuf(short xmin, short ymin, short xmax, short ymax);
+unsigned int sample_backbuf_rect(short mval[2], int size, unsigned int min, unsigned int max, short *dist);;
+
void drawview3dspace(struct ScrArea *sa, void *spacedata);
void drawview3d_render(struct View3D *v3d, int winx, int winy);