From 002ac28643a4dcadc63b8723e964107e06043cd0 Mon Sep 17 00:00:00 2001 From: Maxime Curioni Date: Mon, 28 Sep 2009 03:56:31 +0000 Subject: Migration of Freestyle to Blender 2.5 codebase (continued): - proper Freestyle initialization, with support for undo/redo - re-added FreestyleStyleConfig data structure - Freestyle Python interpreter updated This commit should compile without errors. More work is necessary to complete the migration: - add Freestyle in the UI - set up RNA support --- source/blender/freestyle/FRS_freestyle.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (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 fe6a4426583..9d20c2c4763 100644 --- a/source/blender/freestyle/FRS_freestyle.h +++ b/source/blender/freestyle/FRS_freestyle.h @@ -11,6 +11,8 @@ extern "C" { #include "DNA_listBase.h" #include "DNA_scene_types.h" + #include "BKE_context.h" + extern short freestyle_is_initialized; extern float freestyle_viewpoint[3]; @@ -26,8 +28,8 @@ extern "C" { extern float* freestyle_dkr_epsilon; // Rendering - void FRS_initialize(); - void FRS_add_Freestyle(struct Render* re); + void FRS_initialize(bContext* C); + void FRS_add_Freestyle( struct Render* re); void FRS_exit(); // Panel configuration -- cgit v1.2.3