diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2010-10-14 13:40:56 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2010-10-14 13:40:56 +0400 |
commit | 097a926d943c3b482305c295c60eaff7a85600d8 (patch) | |
tree | c1fdcbd2a5b62b9304e825fc91338426535a41b9 /source/blender/blenkernel/intern/mesh.c | |
parent | 380929624ca1d3d48de6e93ba321742bced3ee12 (diff) |
Fix [#24201] COLLADA Exporter: Light source energy incorrect
lamp->energy and lamp->distance are now taken in account by calculating
the constant, linear and quadratic attenuations based on this.
The import tries to do the reverse.
Note: this will work only properly for lamps that have att1 and att2 set to
1.0 or 0.0, other lamptypes won't import correctly again.
Diffstat (limited to 'source/blender/blenkernel/intern/mesh.c')
0 files changed, 0 insertions, 0 deletions