From f77bc7eb7d56239f9dfab3663b79c474f8763bbd Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Thu, 8 Jul 2004 20:38:27 +0000 Subject: 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 --- source/blender/makesdna/DNA_curve_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/makesdna/DNA_curve_types.h') diff --git a/source/blender/makesdna/DNA_curve_types.h b/source/blender/makesdna/DNA_curve_types.h index 734b0904102..2caff861bc1 100644 --- a/source/blender/makesdna/DNA_curve_types.h +++ b/source/blender/makesdna/DNA_curve_types.h @@ -181,7 +181,7 @@ typedef struct IpoCurve { #define CU_FLUSH 3 /* flag (nurb) */ -#define CU_SMOOTH ME_SMOOTH +#define CU_SMOOTH 1 /* type (nurb) */ #define CU_POLY 0 -- cgit v1.2.3