remove invalid NULL checks from own recent commit and minor pep8 edits.

This commit is contained in:
Campbell Barton
2011-12-05 22:19:30 +00:00
parent 63ad25c30d
commit b44c82b4fd
5 changed files with 12 additions and 8 deletions

View File

@@ -725,6 +725,7 @@ def draw_device(self, context):
if experimental and cscene.device == 'CPU' and engine.with_osl():
layout.prop(cscene, "shading_system")
def draw_pause(self, context):
layout = self.layout
scene = context.scene