diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-15 17:07:34 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-05-15 17:09:50 +0300 |
commit | 4124aeee5c9d71feedf497068f7ad58af9bdcac7 (patch) | |
tree | aea6d4fdfc3d205a0e8a55ccb1d7a4a843e2852a | |
parent | 5ba1a6bee0426e77a01cec8c89999ee4d15ced63 (diff) |
Lights: reduce default strength of sun light to 1.0
-rw-r--r-- | source/blender/editors/object/object_add.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c index 07c0d42c81a..50a97e309fb 100644 --- a/source/blender/editors/object/object_add.c +++ b/source/blender/editors/object/object_add.c @@ -1206,6 +1206,10 @@ static int object_light_add_exec(bContext *C, wmOperator *op) la = (Light *)ob->data; la->type = type; + if (type == LA_SUN) { + la->energy = 1.0f; + } + return OPERATOR_FINISHED; } |