Blender Git Loki

Git Commits -> Revision ce5d079

Revision ce5d079 by Brecht Van Lommel (master)
February 17, 2019, 15:23 (GMT)
Units: add support for light power units in Watt. Use for Eevee lights.

This affects point, spot and area lights. Sun light strength remains without
a unit. This change does not affect .blend file compatibility in any way, as
with the rest of the unit system it's purely a display and editing feature.

Not used for Cycles yet, that will be done after unifying the settings with
Eevee.

Commit Details:

Full Hash: ce5d079a490841ea52736dacf418357a9bbc5923
Parent Commit: 6c24de9
Lines Changed: +66, -20

9 Modified Paths:

/source/blender/blenkernel/BKE_unit.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/scene.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/unit.c (+19, -6) (Diff)
/source/blender/makesrna/intern/makesrna.c (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_lamp.c (+33, -11) (Diff)
/source/blender/makesrna/intern/rna_rna.c (+1, -0) (Diff)
/source/blender/makesrna/RNA_types.h (+4, -0) (Diff)
/source/blender/python/intern/bpy_props.c (+3, -2) (Diff)
/source/blender/python/intern/bpy_utils_units.c (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021