From 2843aa1501c5aabebe1701c88cd30b501e6b4aa5 Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Sun, 20 Jul 2014 20:09:46 +0900 Subject: Freestyle: Fix for error handling in SCENE_OT_freestyle_stroke_material_create. --- 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 c3bf854447c..3777f8dfd49 100644 --- a/source/blender/freestyle/FRS_freestyle.h +++ b/source/blender/freestyle/FRS_freestyle.h @@ -32,6 +32,7 @@ extern "C" { struct Render; struct Material; struct FreestyleConfig; +struct FreestyleLineStyle; struct bContext; extern struct Scene *freestyle_scene; @@ -59,7 +60,7 @@ void FRS_move_active_lineset_up(struct FreestyleConfig *config); void FRS_move_active_lineset_down(struct FreestyleConfig *config); /* Testing */ -struct Material *FRS_create_stroke_material(struct bContext *C, struct Main *bmain, struct Scene *scene); +struct Material *FRS_create_stroke_material(struct bContext *C, struct Main *bmain, struct FreestyleLineStyle *linestyle); #ifdef __cplusplus } -- cgit v1.2.3