diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-03-16 20:42:58 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-03-16 20:42:58 +0300 |
commit | 056972a97fec313e53fad24afcf718f013d77a4b (patch) | |
tree | 8fecf0f74266b6d3b07663ffcd3d7f512632a4d9 /release | |
parent | 5c9c50e13bf9a9ce9f5f2f642ea692c8ce4aa331 (diff) |
minor changes to rna names for consistancy
(commit 27445 by Campbell from render25 branch)
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/io/netrender/utils.py | 2 | ||||
-rw-r--r-- | release/scripts/ui/properties_render.py | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/io/netrender/utils.py b/release/scripts/io/netrender/utils.py index fdf788daceb..37787732f09 100644 --- a/release/scripts/io/netrender/utils.py +++ b/release/scripts/io/netrender/utils.py @@ -199,7 +199,7 @@ def thumbnail(filename): if bpy: scene = bpy.data.scenes[0] # FIXME, this is dodgy! scene.render.file_format = "JPEG" - scene.render.quality = 90 + scene.render.file_quality = 90 bpy.ops.image.open(path = filename) img = bpy.data.images[imagename] img.save_render(thumbname, scene=scene) diff --git a/release/scripts/ui/properties_render.py b/release/scripts/ui/properties_render.py index 23dc434ae38..959deba7927 100644 --- a/release/scripts/ui/properties_render.py +++ b/release/scripts/ui/properties_render.py @@ -312,11 +312,11 @@ class RENDER_PT_output(RenderButtonsPanel): col.prop(rd, "use_overwrite") col.prop(rd, "use_placeholder") - if rd.file_format in ('AVIJPEG', 'JPEG'): + if rd.file_format in ('AVI_JPEG', 'JPEG'): split = layout.split() - split.prop(rd, "quality", slider=True) + split.prop(rd, "file_quality", slider=True) - elif rd.file_format == 'OPENEXR': + elif rd.file_format == 'OPEN_EXR': split = layout.split() col = split.column() |