Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2009-11-10 03:03:31 +0300
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2009-11-10 03:03:31 +0300
commit51efe7de27119587c918a1e5cc429acca8ca672f (patch)
tree464c39158e29a8063517a6dce9f49cf690ecedfc /source/blender/freestyle/FRS_freestyle.h
parentb65008dd6f113974bdf67082eea5ec10c93913b7 (diff)
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.
Diffstat (limited to 'source/blender/freestyle/FRS_freestyle.h')
-rw-r--r--source/blender/freestyle/FRS_freestyle.h3
1 files changed, 2 insertions, 1 deletions
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();