Quite a large one this time... but now we have:
authorTon Roosendaal <ton@blender.org>
Thu, 8 Jul 2004 20:38:27 +0000 (20:38 +0000)
committerTon Roosendaal <ton@blender.org>
Thu, 8 Jul 2004 20:38:27 +0000 (20:38 +0000)
commitf77bc7eb7d56239f9dfab3663b79c474f8763bbd
treed5402fb4a8a2996945b8ef7607e927886434dce5
parent6757a8159b7a64a4ac1444046f967bb2b88909ad
Quite a large one this time... but now we have:

Edges in Mesh
- adds automatic when you use creases. For other situations; call the
  void make_edges(Mesh *me) in mesh.c. Of course, once in editmode the
  edges are automatically recreated.
- in F9 buttons you can add/remove edges too
- both for Mesh and DisplistMesh, so it speeds up drawing quite some in
  wireframe
- render for edges can't work... edges have no material nor tface nor col..
  so here still the faces are rendered in wire

Creases in Subsurf
- based on the code by Chris McFarlen
- main changes is that now edges are used, saving quite some data in file
- use SHIFT+E in editmode to set edges-sharpness. values go from 0-1
- in F9 buttons you can set draw-crease mode. It draws now blended from
  wire color to edge-select color (as provided in Theme)

Known issue: setting sharpness on 1 cube (subdiv 2) gives weird results
with some values... Chris, can you check?

Further; code cleanups, changing 0 in NULL when needed, no warnings, etc etc
32 files changed:
source/blender/blenkernel/BKE_displist.h
source/blender/blenkernel/BKE_global.h
source/blender/blenkernel/BKE_mesh.h
source/blender/blenkernel/intern/anim.c
source/blender/blenkernel/intern/displist.c
source/blender/blenkernel/intern/effect.c
source/blender/blenkernel/intern/font.c
source/blender/blenkernel/intern/mesh.c
source/blender/blenkernel/intern/subsurf.c
source/blender/blenlib/BLI_editVert.h
source/blender/blenloader/intern/readfile.c
source/blender/blenloader/intern/writefile.c
source/blender/include/BDR_editobject.h
source/blender/include/BIF_editmesh.h
source/blender/include/butspace.h
source/blender/makesdna/DNA_curve_types.h
source/blender/makesdna/DNA_mesh_types.h
source/blender/makesdna/DNA_meshdata_types.h
source/blender/render/intern/source/renderHelp.c
source/blender/render/intern/source/rendercore.c
source/blender/render/intern/source/texture.c
source/blender/render/intern/source/zbuf.c
source/blender/renderconverter/intern/convertBlenderScene.c
source/blender/src/buttons_editing.c
source/blender/src/drawmesh.c
source/blender/src/drawobject.c
source/blender/src/editcurve.c
source/blender/src/editmesh.c
source/blender/src/editobject.c
source/blender/src/interface_draw.c
source/blender/src/space.c
source/blender/yafray/intern/yafray_Render.h