scene.render_data -> scene.render
bpy.types.SceneRenderData -> bpy.types.RenderSettings better do these changes before there are too many scripts out.
This commit is contained in:
		@@ -349,7 +349,7 @@ class IMAGE_PT_game_properties(bpy.types.Panel):
 | 
			
		||||
    bl_label = "Game Properties"
 | 
			
		||||
 | 
			
		||||
    def poll(self, context):
 | 
			
		||||
        rd = context.scene.render_data
 | 
			
		||||
        rd = context.scene.render
 | 
			
		||||
        sima = context.space_data
 | 
			
		||||
        return (sima and sima.image) and (rd.engine == 'BLENDER_GAME')
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user