Lights: reduce default strength of sun light to 1.0

This commit is contained in:
Brecht Van Lommel
2019-05-15 16:07:34 +02:00
parent 5ba1a6bee0
commit 4124aeee5c

View File

@@ -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;
}