Cleanup: unused vars, imports, pep8
[blender.git] / intern / cycles / blender / addon / ui.py
index 58c30a2d15a4172f638e7e68b45ce1406a867667..42f7970769acd8f60f75cbfa02e0e24b4d9adb89 100644 (file)
@@ -887,7 +887,7 @@ class CyclesLamp_PT_lamp(CyclesButtonsPanel, Panel):
 
         lamp = context.lamp
         clamp = lamp.cycles
-        cscene = context.scene.cycles
+        cscene = context.scene.cycles
 
         layout.prop(lamp, "type", expand=True)
 
@@ -1107,7 +1107,7 @@ class CyclesWorld_PT_settings(CyclesButtonsPanel, Panel):
 
         world = context.world
         cworld = world.cycles
-        cscene = context.scene.cycles
+        cscene = context.scene.cycles
 
         split = layout.split()