diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-05-13 08:25:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-05-13 08:29:46 +0300 |
commit | 03e14bfeb663023dce86aa6887b919704318e80b (patch) | |
tree | b05663940203577a09495adbd85c6423e57f3571 /source/blender/blenkernel/intern/scene.c | |
parent | 9d677212eef71c5c5709adfcdff218844c317b8f (diff) |
Versioning: default scene to mean center pivot
Diffstat (limited to 'source/blender/blenkernel/intern/scene.c')
-rw-r--r-- | source/blender/blenkernel/intern/scene.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c index 7875a4e2076..f95da4f723f 100644 --- a/source/blender/blenkernel/intern/scene.c +++ b/source/blender/blenkernel/intern/scene.c @@ -823,8 +823,7 @@ void BKE_scene_init(Scene *sce) 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); + copy_v3_v3(sce->display.light_direction, (float[3]){-M_SQRT1_3, -M_SQRT1_3, M_SQRT1_3}); } Scene *BKE_scene_add(Main *bmain, const char *name) |