select-camera operator could select hidden cameras, also disable freestyle for make lite target.

This commit is contained in:
2013-04-08 04:54:57 +00:00
parent fca2058924
commit b14f68521e
2 changed files with 2 additions and 0 deletions

View File

@@ -132,6 +132,7 @@ class SelectCamera(Operator):
if not self.extend:
bpy.ops.object.select_all(action='DESELECT')
context.scene.objects.active = camera
camera.hide = False
camera.select = True
return {'FINISHED'}