merged changes to revision 24077
[blender-staging.git] / source / blender / blenkernel / intern / blender.c
index 94b03730e54d055698fc700edae5fa7e94cb86d8..60943cbf3b1dbf17d31c89a314f0412bc6f1d8b4 100644 (file)
@@ -94,6 +94,8 @@
 
 #include "BKE_utildefines.h" // O_BINARY FALSE
 
+#include "FRS_freestyle.h"
+
 Global G;
 UserDef U;
 ListBase WMlist= {NULL, NULL};
@@ -653,6 +655,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);
        }