diff options
author | Daniel Dunbar <daniel@zuster.org> | 2005-08-13 01:55:50 +0400 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2005-08-13 01:55:50 +0400 |
commit | 7b1dcf4c42e21d2a83806e22598f695e0ed3d345 (patch) | |
tree | 9cd8a0824af18eece9907695a27cfae6a4aefa17 /source/blender/src/editmesh.c | |
parent | 0006f8ad1467a00e37687996cca912cbf6a63db8 (diff) |
- readded Subsurf "optimal" edge drawing/rendering
- added ME_EDGERENDER flag, barely changes things atm except makes
sure plain meshes with FasterDraw/etc set still render all edges.
The edge drawing system needs a bit of a revamping - it is a cool
feature but could use several improvements:
(1) The algorithm could be better in choosing the best edges to
draw.
(2) The drawflags should interact well with modifiers. It is wierd
to have a large grid with a deformer that draws no edges because
flags are only calculated based on base mesh.
(3) Drawflags should not be destroyed by editmode. Better design
would be a "Draw % of edges" button.
Of course, could also be the feature is not worth it and we
should just drop. Feel free to comment if you have an opinion.
Diffstat (limited to 'source/blender/src/editmesh.c')
-rw-r--r-- | source/blender/src/editmesh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editmesh.c b/source/blender/src/editmesh.c index a27f9af7c7e..9f2e23a93a0 100644 --- a/source/blender/src/editmesh.c +++ b/source/blender/src/editmesh.c @@ -1051,7 +1051,7 @@ void load_editMesh(void) medge->v1= (unsigned int) eed->v1->vn; medge->v2= (unsigned int) eed->v2->vn; - medge->flag= eed->f & SELECT; + medge->flag= (eed->f & SELECT) | ME_EDGERENDER; if(eed->f2<2) medge->flag |= ME_EDGEDRAW; if(eed->seam) medge->flag |= ME_SEAM; if(eed->h & EM_FGON) medge->flag |= ME_FGON; // different defines yes |