forked from bartvdbraak/blender
Fix [#22503] Can't create any objects in new scenes.
This commit is contained in:
parent
35ea04cfc7
commit
eff8c83a1d
@ -310,7 +310,7 @@ Scene *add_scene(char *name)
|
||||
int a;
|
||||
|
||||
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.cfra= 1;
|
||||
|
Loading…
Reference in New Issue
Block a user