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 'space_view3d_display_tools/select_tools.py')
-rw-r--r--space_view3d_display_tools/select_tools.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/space_view3d_display_tools/select_tools.py b/space_view3d_display_tools/select_tools.py
index 95dc4ff2..2eb79dfc 100644
--- a/space_view3d_display_tools/select_tools.py
+++ b/space_view3d_display_tools/select_tools.py
@@ -65,7 +65,7 @@ class ShowHideObject(Operator):
i.hide = True
i.select = False
- if i.type not in ['CAMERA', 'LAMP']:
+ if i.type not in ['CAMERA', 'LIGHT']:
i.hide_render = True
except:
continue
@@ -103,7 +103,7 @@ class HideAllObjects(Operator):
i.hide = True
i.select = False
- if i.type not in ['CAMERA', 'LAMP']:
+ if i.type not in ['CAMERA', 'LIGHT']:
i.hide_render = True
else:
obj_name = context.object.name
@@ -113,7 +113,7 @@ class HideAllObjects(Operator):
i.hide = True
i.select = False
- if i.type not in ['CAMERA', 'LAMP']:
+ if i.type not in ['CAMERA', 'LIGHT']:
i.hide_render = True
return {'FINISHED'}
@@ -232,11 +232,11 @@ class OBJECT_OT_HideShowByTypeTemplate():
('LATTICE', 'Lattice', ''),
('EMPTY', 'Empty', ''),
('CAMERA', 'Camera', ''),
- ('LAMP', 'Lamp', ''),
+ ('LIGHT', 'Lamp', ''),
('ALL', 'All', '')),
name="Type",
description="Type",
- default='LAMP',
+ default='LIGHT',
options={'ANIMATABLE'}
)