diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-03-16 21:22:55 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-03-16 21:22:55 +0300 |
commit | 4a2efe0822876d703ba05cd03153ab3759f6c7ee (patch) | |
tree | 708dcbbb716aae1fdc174e494ae9450c95315e01 /release | |
parent | 391526c20e7ba0e818241f4dedb3f40aa51fd47a (diff) |
no need to include the setting names in enum items
(commit 27539 by Campbell from render25 branch)
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/io/engine_render_pov.py | 2 | ||||
-rw-r--r-- | release/scripts/io/netrender/ui.py | 2 | ||||
-rw-r--r-- | release/scripts/ui/properties_render.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/io/engine_render_pov.py b/release/scripts/io/engine_render_pov.py index 28e4692fe8c..e64e3bf05fb 100644 --- a/release/scripts/io/engine_render_pov.py +++ b/release/scripts/io/engine_render_pov.py @@ -630,7 +630,7 @@ def write_pov_ini(filename_ini, filename_pov, filename_image): file.write('Output_Alpha=1\n') if render.antialiasing: - aa_mapping = {'OVERSAMPLE_5': 2, 'OVERSAMPLE_8': 3, 'OVERSAMPLE_11': 4, 'OVERSAMPLE_16': 5} # method 1 assumed + aa_mapping = {'5': 2, '8': 3, '11': 4, '16': 5} # method 1 assumed file.write('Antialias=1\n') file.write('Antialias_Depth=%d\n' % aa_mapping[render.antialiasing_samples]) else: diff --git a/release/scripts/io/netrender/ui.py b/release/scripts/io/netrender/ui.py index 30553787ec3..f8b29fdd326 100644 --- a/release/scripts/io/netrender/ui.py +++ b/release/scripts/io/netrender/ui.py @@ -144,7 +144,7 @@ class RENDER_PT_network_slave_settings(RenderButtonsPanel): layout.label(text="Threads:") layout.prop(rd, "threads_mode", expand=True) sub = layout.column() - sub.enabled = rd.threads_mode == 'THREADS_FIXED' + sub.enabled = rd.threads_mode == 'FIXED' sub.prop(rd, "threads") @rnaType class RENDER_PT_network_master_settings(RenderButtonsPanel): diff --git a/release/scripts/ui/properties_render.py b/release/scripts/ui/properties_render.py index 959deba7927..c9795d62f71 100644 --- a/release/scripts/ui/properties_render.py +++ b/release/scripts/ui/properties_render.py @@ -218,7 +218,7 @@ class RENDER_PT_performance(RenderButtonsPanel): col.label(text="Threads:") col.row().prop(rd, "threads_mode", expand=True) sub = col.column() - sub.enabled = rd.threads_mode == 'THREADS_FIXED' + sub.enabled = rd.threads_mode == 'FIXED' sub.prop(rd, "threads") sub = col.column(align=True) sub.label(text="Tiles:") |