diff options
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/scene.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c index 1c8d153d0d1..90906d2fef1 100644 --- a/source/blender/blenkernel/intern/scene.c +++ b/source/blender/blenkernel/intern/scene.c @@ -819,6 +819,10 @@ void BKE_scene_init(Scene *sce) BKE_view_layer_engine_settings_create(sce->layer_properties); BKE_view_layer_add(sce, "View Layer"); + + /* SceneDisplay */ + static float default_light_direction[] = {-0.577350269, -0.577350269, 0.577350269}; + copy_v3_v3(sce->display.light_direction, default_light_direction); } Scene *BKE_scene_add(Main *bmain, const char *name) |