scene = context.scene
self.layout.prop(scene, "export_disposition")
+ if scene.export_disposition=='SEQUENCE':
+ self.layout.prop(scene, "always_blend")
class MspGLWorldProperties(bpy.types.Panel):
bl_idname = "WORLD_PT_mspgl_properties"
("CONTENTS", "Contents only", "Objects in the scene will be exported, but not the scene itself"),
("SCENE", "Scene", "The scene will be exported"),
("SEQUENCE", "Sequence", "The scene will be exported along with a rendering sequence")))
+ bpy.types.Scene.always_blend = bpy.props.BoolProperty(name="Always create blended step", description="Create a blended step in the sequence even if no objects require it", default=False)
bpy.types.Scene.use_hdr = bpy.props.BoolProperty(name="High dynamic range", description="Use a range render target with a floating point format", default=False)
bpy.types.Scene.ao_samples = bpy.props.IntProperty(name="Ambient occlusion samples", description="Number of samples to use for ambient occlusion", min=8, max=128, default=32)