From 51efe7de27119587c918a1e5cc429acca8ca672f Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Tue, 10 Nov 2009 00:03:31 +0000 Subject: Improved context handling. Previously FRS_initialize() was used for both initializing Freestyle and specifying contexts, making the API a bit messy. Now FRS_initialize() is only for initialization, and contexts are specified by new FRS_set_context() function just before starting rendering. --- source/blender/freestyle/FRS_freestyle.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/freestyle/FRS_freestyle.h') diff --git a/source/blender/freestyle/FRS_freestyle.h b/source/blender/freestyle/FRS_freestyle.h index 73aae416819..1add5f97b38 100644 --- a/source/blender/freestyle/FRS_freestyle.h +++ b/source/blender/freestyle/FRS_freestyle.h @@ -16,7 +16,8 @@ extern "C" { extern int freestyle_viewport[4]; // Rendering - void FRS_initialize(bContext* C); + void FRS_initialize(); + void FRS_set_context(bContext* C); void FRS_add_Freestyle( struct Render* re); void FRS_exit(); -- cgit v1.2.3