[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [56429] trunk/blender/source/blender/ freestyle: remove headers from FRS_freestyle.h
Campbell Barton
ideasman42 at gmail.com
Wed May 1 02:26:47 CEST 2013
Revision: 56429
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=56429
Author: campbellbarton
Date: 2013-05-01 00:26:47 +0000 (Wed, 01 May 2013)
Log Message:
-----------
remove headers from FRS_freestyle.h
Modified Paths:
--------------
trunk/blender/source/blender/freestyle/FRS_freestyle.h
trunk/blender/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp
Modified: trunk/blender/source/blender/freestyle/FRS_freestyle.h
===================================================================
--- trunk/blender/source/blender/freestyle/FRS_freestyle.h 2013-05-01 00:15:22 UTC (rev 56428)
+++ trunk/blender/source/blender/freestyle/FRS_freestyle.h 2013-05-01 00:26:47 UTC (rev 56429)
@@ -29,14 +29,11 @@
extern "C" {
#endif
-#include "DNA_listBase.h"
-#include "DNA_scene_types.h"
-
-#include "BKE_context.h"
-
struct Render;
+struct FreestyleConfig;
+struct bContext;
-extern Scene *freestyle_scene;
+extern struct Scene *freestyle_scene;
extern float freestyle_viewpoint[3];
extern float freestyle_mv[4][4];
extern float freestyle_proj[4][4];
@@ -44,8 +41,8 @@
/* Rendering */
void FRS_initialize(void);
-void FRS_set_context(bContext *C);
-void FRS_read_file(bContext *C);
+void FRS_set_context(struct bContext *C);
+void FRS_read_file(struct bContext *C);
int FRS_is_freestyle_enabled(struct SceneRenderLayer *srl);
void FRS_init_stroke_rendering(struct Render *re);
struct Render *FRS_do_stroke_rendering(struct Render *re, struct SceneRenderLayer *srl);
@@ -54,11 +51,11 @@
void FRS_exit(void);
/* FreestyleConfig.linesets */
-void FRS_copy_active_lineset(FreestyleConfig *config);
-void FRS_paste_active_lineset(FreestyleConfig *config);
-void FRS_delete_active_lineset(FreestyleConfig *config);
-void FRS_move_active_lineset_up(FreestyleConfig *config);
-void FRS_move_active_lineset_down(FreestyleConfig *config);
+void FRS_copy_active_lineset(struct FreestyleConfig *config);
+void FRS_paste_active_lineset(struct FreestyleConfig *config);
+void FRS_delete_active_lineset(struct FreestyleConfig *config);
+void FRS_move_active_lineset_up(struct FreestyleConfig *config);
+void FRS_move_active_lineset_down(struct FreestyleConfig *config);
#ifdef __cplusplus
}
Modified: trunk/blender/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp
===================================================================
--- trunk/blender/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp 2013-05-01 00:15:22 UTC (rev 56428)
+++ trunk/blender/source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp 2013-05-01 00:26:47 UTC (rev 56429)
@@ -49,6 +49,7 @@
#include "BKE_linestyle.h"
#include "BKE_main.h"
#include "BKE_text.h"
+#include "BKE_context.h"
#include "BLI_blenlib.h"
#include "BLI_math.h"
More information about the Bf-blender-cvs
mailing list