From 061442cbd1e69ad494eb22a69a2ae89e72e9d978 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Mon, 27 Sep 2004 10:12:45 +0000 Subject: - improvement for edge/face select - edges now sample on three locationsm gives more hits - own version of glPolygonOffset remains cumbersome... but for select now the selection routine gets more offset than draw. - first attempt to clean drawobject.c and displists - generic call for draw object in backbuf for select purposes, cleans up a lot in the other calls. - also to verify if we can (in future) use this for vertex/edge/face select, but the whole drawobject code works against me... this is for another refactory (incl. displist) and out of the focus for now - subsurf.c: now creates new faces in order of original. Not used yet, but is handy to recover the original order for selection/paint purposes. --- source/blender/src/drawview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/src/drawview.c') diff --git a/source/blender/src/drawview.c b/source/blender/src/drawview.c index 0d5aef42cb5..88d04c80978 100644 --- a/source/blender/src/drawview.c +++ b/source/blender/src/drawview.c @@ -933,7 +933,7 @@ void backdrawview3d(int test) if(G.f & (G_VERTEXPAINT|G_FACESELECT|G_TEXTUREPAINT|G_WEIGHTPAINT)) { base= (G.scene->basact); if(base && (base->lay & G.vd->lay)) { - draw_object(base); + draw_object_backbufsel(base->object); } } else { -- cgit v1.2.3