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:
Diffstat (limited to 'io_online_sketchfab/pack_for_export.py')
-rw-r--r--io_online_sketchfab/pack_for_export.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/io_online_sketchfab/pack_for_export.py b/io_online_sketchfab/pack_for_export.py
index 587c94c2..972735c8 100644
--- a/io_online_sketchfab/pack_for_export.py
+++ b/io_online_sketchfab/pack_for_export.py
@@ -87,12 +87,12 @@ def prepare_assets(export_settings):
images.add(image)
if ((export_settings['models'] == 'SELECTION' and ob.type == 'MESH') or
- (export_settings['lamps'] == 'SELECTION' and ob.type == 'LAMP')):
+ (export_settings['lamps'] == 'SELECTION' and ob.type == 'LIGHT')):
if not ob.select and not ob.hide:
ob.hide = True
hidden.add(ob)
- elif export_settings['lamps'] == 'NONE' and ob.type == 'LAMP':
+ elif export_settings['lamps'] == 'NONE' and ob.type == 'LIGHT':
if not ob.hide:
ob.hide = True
hidden.add(ob)