diff options
author | Maxime Curioni <maxime.curioni@gmail.com> | 2009-09-28 07:56:31 +0400 |
---|---|---|
committer | Maxime Curioni <maxime.curioni@gmail.com> | 2009-09-28 07:56:31 +0400 |
commit | 002ac28643a4dcadc63b8723e964107e06043cd0 (patch) | |
tree | dd26feed82935e3257e673445990ac9239ac2da1 /source/blender/blenkernel/intern/blender.c | |
parent | 1ff038397fd3256c45899667bf1c3cba83947fa3 (diff) |
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
Diffstat (limited to 'source/blender/blenkernel/intern/blender.c')
-rw-r--r-- | source/blender/blenkernel/intern/blender.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/blender.c b/source/blender/blenkernel/intern/blender.c index f261b020717..610a5c94adb 100644 --- a/source/blender/blenkernel/intern/blender.c +++ b/source/blender/blenkernel/intern/blender.c @@ -93,6 +93,8 @@ #include "BKE_utildefines.h" // O_BINARY FALSE +#include "FRS_freestyle.h" + Global G; UserDef U; ListBase WMlist= {NULL, NULL}; @@ -630,6 +632,8 @@ void BKE_write_undo(bContext *C, char *name) void BKE_undo_step(bContext *C, int step) { + FRS_initialize(C); + if(step==0) { read_undosave(C, curundo); } |