#include "BLI_arithb.h"
#include "BLI_blenlib.h"
+#include "FRS_freestyle_config.h"
+
//XXX #include "nla.h"
#ifdef WIN32
void free_scene(Scene *sce)
{
Base *base;
-
+ SceneRenderLayer *srl;
+
base= sce->base.first;
while(base) {
base->object->id.us--;
sce->r.ffcodecdata.properties = NULL;
}
+ for(srl= sce->r.layers.first; srl; srl= srl->next) {
+ BLI_freelistN( &srl->freestyleConfig.modules);
+ }
+
BLI_freelistN(&sce->markers);
BLI_freelistN(&sce->transform_spaces);
BLI_freelistN(&sce->r.layers);
srl->lay= (1<<20) -1;
srl->layflag= 0x7FFF; /* solid ztra halo edge strand */
srl->passflag= SCE_PASS_COMBINED|SCE_PASS_Z;
+ FRS_add_freestyle_config( srl );
}
/* render simplification */