Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/properties_data_modifier.py
| Show First 20 Lines • Show All 1,029 Lines • ▼ Show 20 Lines | def SUBSURF(self, layout, ob, md): | ||||
| col = split.column() | col = split.column() | ||||
| col.label(text="Options:") | col.label(text="Options:") | ||||
| sub = col.column() | sub = col.column() | ||||
| sub.active = (not show_adaptive_options) or (not ob.cycles.use_adaptive_subdivision) | sub.active = (not show_adaptive_options) or (not ob.cycles.use_adaptive_subdivision) | ||||
| sub.prop(md, "uv_smooth", text="") | sub.prop(md, "uv_smooth", text="") | ||||
| col.prop(md, "show_only_control_edges") | col.prop(md, "show_only_control_edges") | ||||
| col.prop(md, "use_crease") | |||||
| if show_adaptive_options and ob.cycles.use_adaptive_subdivision: | if show_adaptive_options and ob.cycles.use_adaptive_subdivision: | ||||
| col = layout.column(align=True) | col = layout.column(align=True) | ||||
| col.scale_y = 0.6 | col.scale_y = 0.6 | ||||
| col.separator() | col.separator() | ||||
| col.label(text="Final Dicing Rate:") | col.label(text="Final Dicing Rate:") | ||||
| col.separator() | col.separator() | ||||
| ▲ Show 20 Lines • Show All 1,179 Lines • Show Last 20 Lines | |||||