Index: source/blender/render/intern/include/render_types.h |
=================================================================== |
--- source/blender/render/intern/include/render_types.h (revision 54826) |
+++ source/blender/render/intern/include/render_types.h (working copy) |
@@ -235,6 +235,10 @@ |
ListBase volumes; |
ListBase volume_precache_parts; |
+#ifdef WITH_FREESTYLE |
+ ListBase freestyle_renders; |
+#endif |
+ |
/* arena for allocating data for use during render, for |
* example dynamic TFaces to go in the VlakRen structure. |
*/ |
@@ -390,6 +394,9 @@ |
struct Material *mat; |
char puno; |
char flag, ec; |
+#ifdef WITH_FREESTYLE |
+ char freestyle_edge_mark; |
+#endif |
int index; |
} VlakRen; |
@@ -622,6 +629,15 @@ |
#define R_TANGENT 64 |
#define R_TRACEBLE 128 |
+/* vlakren->freestyle_edge_mark */ |
+#ifdef WITH_FREESTYLE |
+# define R_EDGE_V1V2 1 |
+# define R_EDGE_V2V3 2 |
+# define R_EDGE_V3V4 4 |
+# define R_EDGE_V3V1 4 |
+# define R_EDGE_V4V1 8 |
+#endif |
+ |
/* strandbuffer->flag */ |
#define R_STRAND_BSPLINE 1 |
#define R_STRAND_B_UNITS 2 |