fix for various python bugs and remove unused var.

This commit is contained in:
Campbell Barton
2011-07-10 17:26:15 +00:00
parent de7592b489
commit 301e5b4ea0
13 changed files with 13 additions and 26 deletions

View File

@@ -434,7 +434,6 @@ class IMAGE_PT_game_properties(bpy.types.Panel):
@classmethod
def poll(cls, context):
rd = context.scene.render
sima = context.space_data
# display even when not in game mode because these settings effect the 3d view
return (sima and sima.image) # and (rd.engine == 'BLENDER_GAME')