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:
2010-02-23 12:48:35 +00:00
parent 2dc5713eb4
commit 78bb45931c
31 changed files with 188 additions and 188 deletions

View File

@@ -32,7 +32,7 @@ class PhysicButtonsPanel(bpy.types.Panel):
bl_context = "physics"
def poll(self, context):
rd = context.scene.render_data
rd = context.scene.render
return (context.object) and (not rd.use_game_engine)
@@ -174,7 +174,7 @@ class PHYSICS_PT_collision(PhysicButtonsPanel):
def poll(self, context):
ob = context.object
rd = context.scene.render_data
rd = context.scene.render
return (ob and ob.type == 'MESH') and (not rd.use_game_engine)
def draw(self, context):