Fix T53707: Error on export FBX object [PointLighs].

Inverse Coefficients decay method was added later, never made it to FBX
exporter.

Note that this is very limited approxiamtion/simplification here, we
cannot really export this correctly.

To be backported to 2.79a.

Conflicts:
	io_scene_fbx/__init__.py
This commit is contained in:
Bastien Montagne 2018-01-08 11:02:31 +01:00
parent 01be96c692
commit e354e29d80
Notes: blender-bot 2023-02-14 19:32:09 +01:00
Referenced by issue #53707, Error on export FBX object [PointLighs]
1 changed files with 1 additions and 0 deletions

View File

@ -94,6 +94,7 @@ FBX_LIGHT_DECAY_TYPES = {
'CONSTANT': 0, # None.
'INVERSE_LINEAR': 1, # Linear.
'INVERSE_SQUARE': 2, # Quadratic.
'INVERSE_COEFFICIENTS': 2, # Quadratic...
'CUSTOM_CURVE': 2, # Quadratic.
'LINEAR_QUADRATIC_WEIGHTED': 2, # Quadratic.
}