Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/blender/addon/ui.py
| Show First 20 Lines • Show All 198 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| sub.prop(cscene, "subsurface_samples", text="Subsurface") | sub.prop(cscene, "subsurface_samples", text="Subsurface") | ||||
| sub.prop(cscene, "volume_samples", text="Volume") | sub.prop(cscene, "volume_samples", text="Volume") | ||||
| col = layout.column(align=True) | col = layout.column(align=True) | ||||
| col.prop(cscene, "sample_all_lights_direct") | col.prop(cscene, "sample_all_lights_direct") | ||||
| col.prop(cscene, "sample_all_lights_indirect") | col.prop(cscene, "sample_all_lights_indirect") | ||||
| layout.row().prop(cscene, "sampling_pattern", text="Pattern") | layout.row().prop(cscene, "sampling_pattern", text="Pattern") | ||||
| for rl in scene.render.layers: | |||||
| if rl.samples > 0: | |||||
| layout.separator() | |||||
| layout.row().prop(cscene, "use_layer_samples") | |||||
| break | |||||
| draw_samples_info(layout, context) | draw_samples_info(layout, context) | ||||
| class CYCLES_RENDER_PT_geometry(CyclesButtonsPanel, Panel): | class CYCLES_RENDER_PT_geometry(CyclesButtonsPanel, Panel): | ||||
| bl_label = "Geometry" | bl_label = "Geometry" | ||||
| bl_options = {'DEFAULT_CLOSED'} | bl_options = {'DEFAULT_CLOSED'} | ||||
| def draw(self, context): | def draw(self, context): | ||||
| ▲ Show 20 Lines • Show All 1,633 Lines • Show Last 20 Lines | |||||