diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-08-23 18:34:34 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-08-23 18:34:34 +0400 |
commit | 01e22d1b9f3606d97f06c2d8a2bc969214322e9c (patch) | |
tree | fcbb80481ea74c731891b5151c94b1c0b9cbb3d1 /intern/cycles/blender/addon/ui.py | |
parent | 22f48748771a96526c3abcfd6583f7cf86aa88c8 (diff) |
Cycles: more code refactoring to rename things internally as well. Also change
property name back so we keep compatibility.
Diffstat (limited to 'intern/cycles/blender/addon/ui.py')
-rw-r--r-- | intern/cycles/blender/addon/ui.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index 64633aabbee..102f551b3d4 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -49,7 +49,7 @@ class CyclesButtonsPanel(): def draw_samples_info(layout, cscene): - integrator = cscene.integrator + integrator = cscene.progressive # Calculate sample values if integrator == 'PATH': @@ -108,7 +108,7 @@ class CyclesRender_PT_sampling(CyclesButtonsPanel, Panel): row.operator("render.cycles_sampling_preset_add", text="", icon="ZOOMOUT").remove_active = True row = layout.row() - row.prop(cscene, "integrator", text="") + row.prop(cscene, "progressive", text="") row.prop(cscene, "use_square_samples") split = layout.split() @@ -119,7 +119,7 @@ class CyclesRender_PT_sampling(CyclesButtonsPanel, Panel): sub.prop(cscene, "seed") sub.prop(cscene, "sample_clamp") - if cscene.integrator == 'PATH': + if cscene.progressive == 'PATH': col = split.column() sub = col.column(align=True) sub.label(text="Samples:") @@ -715,7 +715,7 @@ class CyclesLamp_PT_lamp(CyclesButtonsPanel, Panel): sub.prop(lamp, "size", text="Size X") sub.prop(lamp, "size_y", text="Size Y") - if cscene.integrator == 'BRANCHED_PATH': + if cscene.progressive == 'BRANCHED_PATH': col.prop(clamp, "samples") col = split.column() |