2.5: various one-liner fixes
[blender.git] / release / ui / space_image.py
index f89508929576a446a6417c90207ae7ac1a83c9c8..eeac19c04e05786565ae7083a67cd6c104b72686 100644 (file)
@@ -275,8 +275,9 @@ class IMAGE_PT_game_properties(bpy.types.Panel):
        __label__ = "Game Properties"
 
        def poll(self, context):
+               rd = context.scene.render_data
                sima = context.space_data
-               return (sima and sima.image)
+               return (sima and sima.image) and (rd.engine == 'BLENDER_GAME')
 
        def draw(self, context):
                sima = context.space_data