Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/blender/addon/ui.py
| Show First 20 Lines • Show All 361 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| scene = context.scene | scene = context.scene | ||||
| cscene = scene.cycles | cscene = scene.cycles | ||||
| split = layout.split() | split = layout.split() | ||||
| col = split.column() | col = split.column() | ||||
| col.prop(cscene, "film_exposure") | col.prop(cscene, "film_exposure") | ||||
| col.prop(cscene, "film_transparent") | col.prop(cscene, "film_transparent") | ||||
| if cscene.film_transparent: | |||||
| col.prop(cscene, "film_transparent_roughness") | |||||
| col = split.column() | col = split.column() | ||||
| sub = col.column(align=True) | sub = col.column(align=True) | ||||
| sub.prop(cscene, "pixel_filter_type", text="") | sub.prop(cscene, "pixel_filter_type", text="") | ||||
| if cscene.pixel_filter_type != 'BOX': | if cscene.pixel_filter_type != 'BOX': | ||||
| sub.prop(cscene, "filter_width", text="Width") | sub.prop(cscene, "filter_width", text="Width") | ||||
| ▲ Show 20 Lines • Show All 1,500 Lines • Show Last 20 Lines | |||||