Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-08-08 09:23:00 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-08-08 09:23:00 +0400
commit2135f8806c5154bb55374faf83cdecb48d4de090 (patch)
tree31cd393b5df32f5cef333f1a6d34398cc12bdfcc /io_scene_fbx
parentd061f22884156296541aa01d6f41e993dbe5412a (diff)
use sets rather then tuples for if checks, python optimizes this case.
Diffstat (limited to 'io_scene_fbx')
-rw-r--r--io_scene_fbx/export_fbx.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_scene_fbx/export_fbx.py b/io_scene_fbx/export_fbx.py
index 67422691..90555e10 100644
--- a/io_scene_fbx/export_fbx.py
+++ b/io_scene_fbx/export_fbx.py
@@ -972,7 +972,7 @@ def save_single(operator, scene, filepath="",
if light_type > 2:
light_type = 1 # hemi and area lights become directional
- if light.type in ('HEMI', ):
+ if light.type == 'HEMI':
do_light = not (light.use_diffuse or light.use_specular)
do_shadow = False
else: