Fix [#22503] Can't create any objects in new scenes.

This commit is contained in:
Matt Ebb 2010-06-05 00:21:26 +00:00
parent 35ea04cfc7
commit eff8c83a1d

@ -310,7 +310,7 @@ Scene *add_scene(char *name)
int a; int a;
sce= alloc_libblock(&G.main->scene, ID_SCE, name); sce= alloc_libblock(&G.main->scene, ID_SCE, name);
sce->lay= 1; sce->lay= sce->layact= 1;
sce->r.mode= R_GAMMA|R_OSA|R_SHADOW|R_SSS|R_ENVMAP|R_RAYTRACE; sce->r.mode= R_GAMMA|R_OSA|R_SHADOW|R_SSS|R_ENVMAP|R_RAYTRACE;
sce->r.cfra= 1; sce->r.cfra= 1;