diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-01-04 08:26:33 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-01-04 08:26:33 +0400 |
commit | b59b7bba820d1fed0fc250283821058831985ce2 (patch) | |
tree | 2ea1c98ef71a995ea84a9895a398a23740521186 /io_scene_fbx | |
parent | 279933b83f0eeb77a1a32c8ddd6d58b4e36c8342 (diff) |
use sets for checking against multiple values.
Diffstat (limited to 'io_scene_fbx')
-rw-r--r-- | io_scene_fbx/export_fbx.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_fbx/export_fbx.py b/io_scene_fbx/export_fbx.py index a310325a..8790e60d 100644 --- a/io_scene_fbx/export_fbx.py +++ b/io_scene_fbx/export_fbx.py @@ -1005,7 +1005,7 @@ def save_single(operator, scene, filepath="", do_shadow = False else: do_light = not (light.use_only_shadow or (not light.use_diffuse and not light.use_specular)) - do_shadow = (light.shadow_method in ('RAY_SHADOW', 'BUFFER_SHADOW')) + do_shadow = (light.shadow_method in {'RAY_SHADOW', 'BUFFER_SHADOW'}) # scale = abs(global_matrix.to_scale()[0]) # scale is always uniform in this case # UNUSED |