Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_userpref.py
| Show First 20 Lines • Show All 423 Lines • ▼ Show 20 Lines | def draw(self, context): | ||||
| col.separator() | col.separator() | ||||
| col.label(text="Screencast:") | col.label(text="Screencast:") | ||||
| col.prop(system, "screencast_fps") | col.prop(system, "screencast_fps") | ||||
| col.prop(system, "screencast_wait_time") | col.prop(system, "screencast_wait_time") | ||||
| col.separator() | col.separator() | ||||
| if userpref.addons.find('cycles') != -1: | |||||
| userpref.addons['cycles'].preferences.draw_impl(col, context) | |||||
| if hasattr(system, "opensubdiv_compute_type"): | if hasattr(system, "opensubdiv_compute_type"): | ||||
| col.label(text="OpenSubdiv compute:") | col.label(text="OpenSubdiv compute:") | ||||
| col.row().prop(system, "opensubdiv_compute_type", text="") | col.row().prop(system, "opensubdiv_compute_type", text="") | ||||
| # 2. Column | # 2. Column | ||||
| column = split.column() | column = split.column() | ||||
| colsplit = column.split(percentage=0.85) | colsplit = column.split(percentage=0.85) | ||||
| ▲ Show 20 Lines • Show All 1,025 Lines • Show Last 20 Lines | |||||